RE: Loader II

New Message Reply Date view Thread view Subject view Author view

From: Skluzacek, Christian (C.Skluzacek++at++fokkerspace.nl)
Date: 08/15/2001 01:05:24


Sven,
Here is just a quick answer, I haven't read in detail all of your posts, but
my experience in the past has been that you can't mix C++ compilers (I
assume you are also compiling Performer using C++) due to name-mangling.
Because different compilers mangle their names differently, code compiled
using gcc won't be found when (dynamically) linking with SGI C++. That's
probably the reason for your segvs. Try compiling all your code with SGI
C++. And as of version SGI C++ v7.3, I haven't had any problems with
namespace support although I haven't done anything fancy with them.

hth,
Chris

> ----------
> From: Surakle++at++gmx.de[SMTP:Surakle++at++gmx.de]
> Sent: Tuesday, 14 August, 2001 16:19
> To: info-performer++at++sgi.com
> Subject: Loader II
>
> Hi,
>
> here is some more information about what happens:
> when I link libmyLoader.so (which has been compiled with gcc) to
> libpfmyLoader.so then pfdLoadFile gets a segmentation fault in the
> sgidlopenversion call
> for libpfmyLoader.so but without libmyLoader.so it's working correctly
> (but
> of course not loading anything at all };-) )
>
> So has anybody an idea what has to be changed ??? linker parameters ??? Do
> I
> have to link libmyLoader.so with -mips3 and -L/usr/lib32/mips3 ???
>
> I am really helplessly confused. I can't use CC to compile because the lib
> I
> am linking contains things that need namespace support etc. which seems to
> be a problem for CC.
>
> Thx for help,
>
> Sven
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
> --
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
> SIGGRAPH 2001 Friends of Performer Meeting: Wed Aug 15, 4:00pm-6:00pm,
> Wilshire Grand Hotel, http://reality.sgi.com/performer/siggraph.html
> -----------------------------------------------------------------------
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 01:05:35 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.