Unix Technical Forum

OpenBSD 3.4/Sparc64/VNC Compilation Woes

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 04:53 AM
S N
 
Posts: n/a
Default OpenBSD 3.4/Sparc64/VNC Compilation Woes

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'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 04:54 AM
nobody@nowhere.net
 
Posts: n/a
Default Re: OpenBSD 3.4/Sparc64/VNC Compilation Woes

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'

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 04:54 AM
nobody@nowhere.net
 
Posts: n/a
Default Re: OpenBSD 3.4/Sparc64/VNC Compilation Woes

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).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:38 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com