compile problems with vnc-3.3.6-unixsrc

Sir Ace chandler@nateng.com
Mon Feb 10 20:55:00 2003


kcdev01 #>cd vnc-3.3.6-unixsrc
kcdev01 #>ls
LICENCE.TXT     boilerplate.mk  include         vncconnect
vncserver.man
Makefile.in     classes         libvncauth      vncinstall      vncviewer
README          configure       rdr             vncpasswd       zlib
Xvnc            configure.in    rfb             vncserver
kcdev01 #>./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... (cached) no
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... (cached) no
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking how to run the C++ preprocessor... c++ -E
checking for X... libraries /usr/lib/X11R6, headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configuring zlib...
Checking for gcc...
Building static library libz.a version 1.1.4 with gcc.
Checking for unistd.h... Yes.
Checking for errno.h...	 Yes.
Checking for mmap support... Yes.
...done configuring zlib
checking for socklen_t... using int
updating cache ./config.cache
creating ./config.status
creating Makefile
creating rdr/Makefile
creating rfb/Makefile
creating vncconnect/Makefile
creating vncpasswd/Makefile
creating vncviewer/Makefile
creating Xvnc/config/cf/vnclibs.def
kcdev01 #>make
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c example.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c adler32.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c compress.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c crc32.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c gzio.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c uncompr.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c deflate.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c trees.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c zutil.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c inflate.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c infblock.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c inftrees.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c infcodes.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c infutil.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c inffast.c
	ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o
deflate.o trees.o  zutil.o inflate.o infblock.o inftrees.o infcodes.o
infutil.o inffast.o
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -o example example.o -L. -lz
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c minigzip.c
	gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -o minigzip minigzip.o -L. -lz
	c++   -I.. -I../zlib -O2 -Wall -c FdInStream.cxx
	c++   -I.. -I../zlib -O2 -Wall -c FdOutStream.cxx
	c++   -I.. -I../zlib -O2 -Wall -c InStream.cxx
	c++   -I.. -I../zlib -O2 -Wall -c NullOutStream.cxx
	c++   -I.. -I../zlib -O2 -Wall -c ZlibInStream.cxx
	c++   -I.. -I../zlib -O2 -Wall -c ZlibOutStream.cxx
	rm -f librdr.a
	ar cq librdr.a FdInStream.o FdOutStream.o InStream.o
NullOutStream.o  ZlibInStream.o ZlibOutStream.o
	ranlib librdr.a
	gcc   -I.. -O2 -Wall  -c d3des.c
	gcc   -I.. -O2 -Wall  -c vncauth.c
	rm -f librfb.a
	ar cq librfb.a d3des.o vncauth.o
	ranlib librfb.a
	gcc    -O2 -Wall  -c vncconnect.c
	rm -f vncconnect
	gcc -O2 -Wall   -o vncconnect vncconnect.o   -lSM -lICE
-L/usr/lib/X11R6 -lX11 -lXext
	gcc   -I.. -O2 -Wall  -c vncpasswd.c
	rm -f vncpasswd
	gcc -O2 -Wall   -o vncpasswd vncpasswd.o ../rfb/librfb.a
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c argsresources.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c colour.c
colour.c: In function `SetMyFormatFromVisual':
colour.c:157: warning: implicit declaration of function `ffs'
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c desktop.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c dialogs.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c fullscreen.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c listen.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c misc.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c popup.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c rfbproto.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c selection.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c shm.c
	gcc   -I.. -Dsocklen_t=int -O2 -Wall  -c vncviewer.c
	c++   -I.. -Dsocklen_t=int -O2 -Wall -c sockets.cxx
In file included from sockets.cxx:26:
/usr/include/sys/socket.h:484: syntax error before `(' token
/usr/include/sys/socket.h:486: syntax error before `(' token
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
kcdev01 #>