Hi. I don't need a VNC server-- just a VNC viewer (I do not like the Java
one). Hence, I am trying to compile xvncviewer (I couldn't care less about
the rest of the VNC package, for the moment...) for Mac OS X, so that I
can view my Windoze boxen at work running the VNC server.

The build goes smoothly until the laaaaaaast line, when I see:

---------------------------------------------------------------------
rm -f vncviewer
c++ -O2 -Wall  -o vncviewer argsresources.o colour.o desktop.o dialogs.o
fullscreen.o listen.o misc.o popup.o rfbproto.o selection.o shm.o
vncviewer.o sockets.o zrle.o buildtime.o ../rfb/librfb.a ../rdr/librdr.a
../zlib/libz.a  -lSM -lICE  -L/usr/X11R6/lib -lXmu -lXaw -lXt -lX11 -lXext
ld: Undefined symbols:
_GET_PIXEL16
_GET_PIXEL32
_GET_PIXEL8
make: *** [vncviewer] Error 1
sh-2.05a#
---------------------------------------------------------------------
This is using OS X 10.2.6 (Jaguar, latest) with the December 2002 Jaguar
Development Tools package installed. The C compiler is Apple's fork of
GCC, build 1175, based on GCC 3.1 dated 4/20/2002... as you can see below:

---------------------------------------------------------------------
bash-2.05a$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420
(prerelease)
bash-2.05a$ cc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420
(prerelease)
bash-2.05a$ g++ -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420
(prerelease)
bash-2.05a$ c++ -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420
(prerelease)
bash-2.05a$
---------------------------------------------------------------------

I have tried all sorts of weird things to get this build to work,
including going so far as to copy the entire #defines for GET_PIXEL16,
GET_PIXEL32 and GET_PIXEL8 into a file called "libstupidmac.c" and
compiling it, then adding "libstupidmac.o" to the end of the link line, as
my way of force-feeding the symbols down the linker's throat.

It made no difference. Same error messages. It was as if I'd done nothing
at all.

I guess in one word I can say... HEEEEEEEEEEEELP! Please shed some light
on what is stopping xvncviewer from compiling! Many thanks in advance.



J e s s i c a    L e a h    B l a n k
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to