Re: Strange problems after running the pfiv1.3 patch...

New Message Reply Date view Thread view Subject view Author view

Ed Millard (millard++at++hawkeye.newport.sgi.com)
Sun, 19 Feb 1995 21:52:56 -0800 (PST)


>
> I had some odd linker problems after running the new Inventor loader
> (v1.3). Since nobody else has complained, I can only guess it's
> something wrong on my end. Anybody have suggestions? (I'm running on
> an Onyx, Irix 5.2, Performer 1.2)
>
> robot1 /usr/venus/pf/dgw/src=>make moving
> cc -o moving moving.c -O2 -fullwarn -I/usr/include/Performer
> -I/usr/src/Performer/include -L/usr/src/Performer/lib -lpfsgi -lpfdwb
> -lpfflt14 -lpfutil -lpf -lpr -lpfiv-g -lX11 -lmpc -limage -lfm -lgl
> -lm -lfpe -lC
> Unresolved:
> getName__6SoBaseCFv
> setName__6SoBaseFRC6SbName
> destroy__6SoBaseFv
> startNotify__6SoNodeFv
> notify__6SoNodeFP9SoNotList
> ...etc...
> __ct__11SoFieldDataFPC11SoFieldData
> doAction__7SoGroupFP8SoAction
> __dt__15SoLevelOfDetailFv
> *** Error code 1 (bu21)
>
> make: fatal error.
>
>
>
>

You need to explicitly link with:

        -lInventor

for the new loader.

I think the new inventor loader really uses the inventor library, while
as the old one was a self contained hack and didn't use Inventor DSO's.

If this doesn't fix it then check to make sure your Inventor DSO is
in tact and has these symbols. To find missing symbols you can use
nm or the convenience utility "symsall" I posted here a while back:

symsall /usr/lib/*.so | grep getName__6SoBaseCFv
/usr/lib/libInventor.so: 5c8a6d84 T getName__6SoBaseCFv

nm /usr/lib/libInventor.so | grep getName__6SoBaseCFv
[857] | 187150112| |Proc |end=17 int |Text | getName__6SoBaseCFv
[858] | 12| |End |ref=857 |Text | getName__6SoBaseCFv
[16758] | 187150112| |Proc |ref=857 |Text | getName__6SoBaseCFv

=============================================================================
Ed Millard | 18201 Von Karman Avenue
Silicon Graphics Inc. | Suite 100
Developer's Support Group | Irvine, CA 92715
millard++at++sgi.com | (714) 756-5975
=============================================================================


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:50:58 PDT

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