RE: Someone compiled VNC?


Subject: RE: Someone compiled VNC?
From: Eric L. Santelices (eric@santelices.com)
Date: Wed Oct 25 2000 - 16:33:15 MDT


if you do get a successfull version please let me know.

-----Original Message-----
From: Christian Jaeger [mailto:christian.jaeger@sl.ethz.ch]
Sent: Wednesday, October 25, 2000 4:21 PM
To: linuxppc-user@lists.linuxppc.org; mol-general@lists.maconlinux.org
Subject: Someone compiled VNC?

Hello

I've had a bad time trying to get the vnc server to compile on my
linuxppc1999 (with many updated packages and new kernel). There were
more than half a dozen problems. Last ones were:

make[2]: Entering directory
`/usr/src/redhat/BUILD/vnc_unixsrc/Xvnc/config/imake'
gcc -O2 -fsigned-char -ansi -pedantic -I../../include
-I../../exports/include/X11 -I../.. -I../../exports/include -Dlinux
LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -D_REENTRANT
-DFUNCPROTO=15 -DNARROWPROTO -DCPP_PROGRAM="\"/lib/cpp\"" -c
imake.c -o imake.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [imake.o] Error 1

I've written a perl wrapper aroung gcc which changes arguments to be
'... -o imake.o imake.c' instead of ' -c imake.c -o imake.o' (don't
know imake etc stuff enough to know how to change otherwise), this
helped compilation one step further:

gcc -O -ansi -pedantic -I../../include -I../../exports/include/X11
-I../.. -I../../exports/include -Dlinux LinuxMachineDefines
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L
-D_BSD_SOURCE -D_SVID_SOURCE -D_REENTRANT -DFUNCPROTO=15
-DNARROWPROTO -DCPP_PROGRAM="\"/lib/cpp\"" -c imake.c -o imake.o
ORIG_gcc: LinuxMachineDefines: No such file or directory
imake.c: In function `get_ld_version':
imake.c:961: warning: comparison is always true due to limited range
of data type
make[2]: *** [imake.o] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/vnc_unixsrc/Xvnc/config/imake'
make[1]: *** [imake.bootstrap] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/vnc_unixsrc/Xvnc'
make: *** [World] Error 2

(Seems like an endianness problem?)
Now before trying to hack next few hours I'd like if someone has
successfully compiled this stuff on his machine.

(I'm crossposting since I know mol supports vnc.)

Thanks
Christian Jaeger



This archive was generated by hypermail 2a24 : Wed Oct 25 2000 - 16:40:16 MDT