This is a discussion on OpenBSD 3.4/Sparc64/VNC Compilation Woes within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> Hi, First of, is there a sparc64 openbsd binary package for VNC (tightvnc or realvnc)? I downloaded the latest ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, First of, is there a sparc64 openbsd binary package for VNC (tightvnc or realvnc)? I downloaded the latest source code from realvnc.com and my build fails with the following errors. I did a google search and looks like this problem has been around even on netbsd and freebsd. I haven't been able to glean information about how to fix it correctly though. Someone had suggested an optimization of O0 - didn't help. Has anyone successfully built and installed vnc on openbsd? Thanks! cfb/libcfb.a(cfbglblt8.o): In function `cfbPolyGlyphBlt8': cfbglblt8.o(.text+0x34): undefined reference to `cfbStippleStack' cfbglblt8.o(.text+0x38): undefined reference to `cfbStippleStack' cfbglblt8.o(.text+0x40): undefined reference to `cfbStippleStack' cfbglblt8.o(.text+0x64): undefined reference to `cfbStippleStackTE' cfbglblt8.o(.text+0x68): undefined reference to `cfbStippleStackTE' cfbglblt8.o(.text+0x70): undefined reference to `cfbStippleStackTE' cfb/libcfb.a(cfbglblt8.o): In function `cfbPolyGlyphBlt8Clipped': cfbglblt8.o(.text+0xd04): undefined reference to `cfbStippleStackTE' cfb32/libcfb.a(cfbglblt8.o): In function `cfb32PolyGlyphBlt8': cfbglblt8.o(.text+0x34): undefined reference to `cfb32StippleStack' cfbglblt8.o(.text+0x38): undefined reference to `cfb32StippleStack' cfbglblt8.o(.text+0x40): undefined reference to `cfb32StippleStack' cfbglblt8.o(.text+0x64): undefined reference to `cfb32StippleStackTE' cfbglblt8.o(.text+0x68): undefined reference to `cfb32StippleStackTE' cfbglblt8.o(.text+0x70): undefined reference to `cfb32StippleStackTE' cfb32/libcfb.a(cfbglblt8.o): In function `cfbPolyGlyphBlt8Clipped': cfbglblt8.o(.text+0xd34): undefined reference to `cfb32StippleStackTE' |
| |||
| I've build this on sparc. The problem is that somewhere in the code refering to the sparc assembler code there is a an 'ifdef Linux' statement that prevents it from compiling. I fixed it, and it compiled and ran (on Sparc -- should work of Sparc64 but no guantees), but strangely is to doesn't do 'color name' to hex conversions properly. I reported the bug long, long ago, and offered the solution to the compile problem you mentioned, but nobody seemed interested even in having a fix given to them. Search the 'Bug reports' on the TightVNC list. I think I may have detailed the solution there (but to be honest I can't remember). S N <nsivakum@hotmail.com> wrote: > Hi, > First of, is there a sparc64 openbsd binary package for VNC (tightvnc > or realvnc)? > I downloaded the latest source code from realvnc.com and my build > fails with the following errors. I did a google search and looks like > this problem has been around even on netbsd and freebsd. I haven't > been able to glean information about how to fix it correctly though. > Someone had suggested an optimization of O0 - didn't help. > Has anyone successfully built and installed vnc on openbsd? > Thanks! > cfb/libcfb.a(cfbglblt8.o): In function `cfbPolyGlyphBlt8': > cfbglblt8.o(.text+0x34): undefined reference to `cfbStippleStack' > cfbglblt8.o(.text+0x38): undefined reference to `cfbStippleStack' > cfbglblt8.o(.text+0x40): undefined reference to `cfbStippleStack' > cfbglblt8.o(.text+0x64): undefined reference to `cfbStippleStackTE' > cfbglblt8.o(.text+0x68): undefined reference to `cfbStippleStackTE' > cfbglblt8.o(.text+0x70): undefined reference to `cfbStippleStackTE' > cfb/libcfb.a(cfbglblt8.o): In function `cfbPolyGlyphBlt8Clipped': > cfbglblt8.o(.text+0xd04): undefined reference to `cfbStippleStackTE' > cfb32/libcfb.a(cfbglblt8.o): In function `cfb32PolyGlyphBlt8': > cfbglblt8.o(.text+0x34): undefined reference to `cfb32StippleStack' > cfbglblt8.o(.text+0x38): undefined reference to `cfb32StippleStack' > cfbglblt8.o(.text+0x40): undefined reference to `cfb32StippleStack' > cfbglblt8.o(.text+0x64): undefined reference to `cfb32StippleStackTE' > cfbglblt8.o(.text+0x68): undefined reference to `cfb32StippleStackTE' > cfbglblt8.o(.text+0x70): undefined reference to `cfb32StippleStackTE' > cfb32/libcfb.a(cfbglblt8.o): In function `cfbPolyGlyphBlt8Clipped': > cfbglblt8.o(.text+0xd34): undefined reference to `cfb32StippleStackTE' |
| ||||
| From my bug report: to get a successful compile on OpenBSD Sparc, the line: #if defined(SVR4) || ( defined(linux) && defined(__ELF__) ) in the Sparc assembler files: vnc_unixsrc/Xvnc/programs/Xserver/cfb/stipsparc.s vnc_unixsrc/Xvnc/programs/Xserver/cfb/stipsprc32.s had to be modified to be more inclusive (this is probably true for NetBSD Sparc as well). |