Miroslav,

We're aware of this problem and are working to resolve it - it's actually
worse than tat, in that the current HP-UX binaries for 4.1 that we provide
will work on HP-UX 11.00 with libstdc++ but not on HP-UX 11.11, even if
statically linked.

The problem with statically linking the binaries is that the viewer then
comes out to being 7Mb in size...

We're looking into getting hold of the HP C++ compiler, so we can build
working binaries without these dependencies.  If anyone knows a way to get
things working with GCC, of course, then please let us know!

Cheers,

Wez @ RealVNC Ltd.


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Luptak, Miroslav
> Sent: 11 March 2005 08:43
> To: [email protected]
> Subject: VNC 4.1 on HP-UX fails
> 
> Hello, all.
> 
> I tried the latest vnc 4.1 for HP-UX. All binaries fail with message
> "Unresolved symbol:
> _ZNSt24__default_alloc_templateILb1ELi0EE8allocateEm". I checked the
> library dependencies and all vnc binaries depend on
> /usr/local/lib/libstdc++.sl, because they were compiled using gcc. My
> version of  /usr/local/lib/libstdc++.sl is probably different from the
> one used during the compilation. I would strongly suggest to 
> compile VNC
> in a way that it depends only on libraries that are standard 
> part of the
> operating system.
> 
> A quick and nasty trick to get rid of the dependency on 
> libstdc++.sl is:
> - mv /usr/local/lib/libstdc++.*l* /tmp
> - /usr/local/lib/libstdc++.a should be left as it is
> - compile VNC
> - mv /tmp/libstdc++.*l* /usr/local/lib
> 
> There are also linker options to achieve the same, e.g append "-lc -lc
> -Wl,-aarchive" to the END of the link command (sometimes "-lstream
> -lCsup -lc -lc -Wl,-aarchive" is needed).
> 
> I would like to ask the nice folks at RealVNC to recompile VNC and get
> rid of this dependency. I would do it myself, but I cannot get XFree86
> to compile.
> 
> Thanks and best regards,
> 
> Miro
> _______________________________________________
> VNC-List mailing list
> [email protected]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
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