Re: C++ DSO loaders

New Message Reply Date view Thread view Subject view Author view

Scott Herod (herod++at++evt.com)
Fri, 19 Jun 1998 11:21:13 -0600


I had a similar problem linking DSOs into another package. It
happened that the package was compilied with the old 32 libraries
while I was compiling the DSO with the new 32 libraries. You might
want to check to see if that's the case for you as well.

Scott Herod
herod++at++evt.com

Chris Purvis wrote:
>
> I'm trying to convert a custom loader, pfTera.c, over to C++ and am having
> run time problems. When I run the C++ loader on perfly, perfly says
> that pfdLoadFile_Tera is not defined in libpfTera_ogl.so. I've made
> very little changes to pfTera.c itself. It seems like Performer is
> recognizing the loader, but is not able to see anything inside it.
>
> I've used two Makefiles and neither of them work:
>
> #!smake
>
> PFROOT ?= $(ROOT)
> include $(PFROOT)/usr/share/Performer/src/pfmakedefs
>
> LIBRARY = libpfTera
> CXXFILES = \
> pfTera.C
>
> include $(PFROOT)/usr/share/Performer/src/pfmakerules
>
> _________________________________________________________________
>
> #!smake
>
> libpfTera: pfTera.o
> CC -shared -all -check_registry /usr/lib/so_locations -set_version \
> sgi4.0 -mips3 -n32 -nostdlib -L/usr/lib32/mips3 \
> -L/usr/lib32 pfTera.o -o libpfTera_ogl.so
>
> pfTera.o:
> CC -DN32 -DIRIX6_5 -I/usr/include -fullwarn -nostdinc \
> -mips3 -n32 -O -Olimit 2000 -MDupdate Makedepend -woff 1685,\
> 515, 608, 658, 799, 803, 852, 1048, 1233, 1499 -c pfTera.C
>
> Again--this works when the loader is in C. Any suggestions?
>
> Thanks,
>
> Chris Purvis
> Applied Research Labs--Advanced Sonar Division
> The University of Texas at Austin
> cpurvis++at++arlut.utexas.edu
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:34 PDT

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