Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Howto compile Xorg from source



Good Day;

I downloaded xsrc.tar.gz from NetBSD-current last night. I am using a freshly built -amd64 kernel, tools, and userland built from the like dated src.tar.gz. The build fails with the following;

gcc -o ssh-askpass -O2 -fno-strict-aliasing -ansi -Dasm=__asm -L../../../xfree/xc/exports/lib drawing.o dynlist.o resources.o x11-ssh-askpass.o -lXt -lSM -lICE -lXext -lX11 -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath-link,../../../xfree/xc/exports/lib
making all in /usr/xsrc/local/programs/xsystrace...
gcc -O2 -fno-strict-aliasing -ansi -Dasm=__asm -I../../../xfree/xc -I../../../xfree/xc/exports/include -DCSRG_BASED -D__AMD64__ -DFUNCPROTO=15 -DNARROWPROTO -c callbacks.c
callbacks.c:77: error: conflicting types for 'dprintf'
/usr/include/stdio.h:499: error: previous declaration of 'dprintf' was here
*** Error code 1

Stop.
make: stopped in /usr/xsrc/local/programs/xsystrace
*** Error code 1

Stop.
make: stopped in /usr/xsrc/local/programs
*** Error code 1

Stop.
make: stopped in /usr/xsrc/local
*** Error code 1

Stop.
make: stopped in /usr/xsrc


/etc/mk.conf contains;

ACCEPTABLE_LICENSES+=djb-nonlicense
ACCEPTABLE_LICENSES+=generic-nonlicense
ALLOW_VULNERABLE_PACKAGES=YES
MKX11=yes
X11FLAVOUR=Xorg
X11_TYPE=modular

What is going wrong here? I am referring to at least 2 posted 'howto's' googled in the last several days. I understand that -current is not guaranteed to build. Any help is appreciated.

Michael


Home | Main Index | Thread Index | Old Index