Dave Love said: > Jerry McBride <[EMAIL PROTECTED]> writes: > >> I'm having compile problems with the unix sources on Gentoo 1.4. I'm >> running >> the latest "stable" versions of just about everything... including gcc >> 3.2.3. > > Remove the offending declaration and replace it with an include of > X11/extensions/XShm.h. I've sent a kludgy patch to do that. (The > original works with gcc 2.95.) >
Just comment out the struct, right? Like so: #include <X11/extensions/XShm.h> // struct XShmSegmentInfo; Using RHL 9 (gcc-3.2.2) that gets me past x0vncserver, but then I get errors building vncviewer: make[1]: Entering directory `/home/whooper/build/vnc-4.0b3-unixsrc/vncviewer' c++ -I.. -I../tx -I/usr/X11R6/include -O2 -Wall -c DesktopWindow.cxx c++ -I.. -I../tx -I/usr/X11R6/include -O2 -Wall -c CConn.cxx In file included from AboutDialog.h:26, from CConn.h:31, from CConn.cxx:23: ../tx/TXLabel.h: In member function `void TXLabel::setText(const char*)': ../tx/TXLabel.h:71: `max' undeclared (first use this function) ../tx/TXLabel.h:71: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [CConn.o] Error 1 make[1]: Leaving directory `/home/whooper/build/vnc-4.0b3-unixsrc/vncviewer' make: *** [all] Error 1 Any thoughts? -- William Hooper _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list