I have just update my Linux to Redhat Linux 9 and I'm trying to
RECOMPILE the Open Inventor I downloaded from SGI. Unfortunately, I'm not able
to compile the SGI Open-Inventor source files. I need some help.
The problems happened when the gmake was compiling the files in the
director "doc", actually the file 'ivman'.
While the library was made succesfully on Redhat 7.3 (gcc 2.96), I'm
having these error on Redhat 9 (gcc 3.2.2):
Here is what I did:
# export IVROOT=/
# export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/lib
# gmake
gmake[1]: Entering directory `/inventor/libimage'
....(Everything works fine till here)
gmake[1]: Leaving directory `/inventor/libimage'
gmake[3]: Leaving directory `/inventor/doc/man/tools'
gmake[3]: Entering directory `/inventor/doc/man/ivman'
/usr/bin/g++ -L///usr/lib -L/usr/X11R6/lib Main.o ClassDef.o Man.o
Reader.o Writer.o BuildIssues.o -lInventor -o ivman
Main.o(.text+0x173): In function `main':
: undefined reference to `SoDB::init()'
Main.o(.text+0x178): In function `main':
: undefined reference to `SoNodeKit::init()'
Main.o(.text+0x17d): In function `main':
: undefined reference to `SoInteraction::init()'
ClassDef.o(.text+0x1c): In function
`ClassDef::ClassDef[not-in-charge]()':
: undefined reference to `SbName::SbName[in-charge]()'
ClassDef.o(.text+0x27): In function
`ClassDef::ClassDef[not-in-charge]()':
: undefined reference to `SbName::SbName[in-charge]()'
ClassDef.o(.text+0x32): In function
`ClassDef::ClassDef[not-in-charge]()':
: undefined reference to `SbName::SbName[in-charge]()'
ClassDef.o(.text+0x1ca): In function `ClassDef::ClassDef[in-charge]()':
: undefined reference to `SbName::SbName[in-charge]()'
ClassDef.o(.text+0x1d5): In function `ClassDef::ClassDef[in-charge]()':
: undefined reference to `SbName::SbName[in-charge]()'
ClassDef.o(.text+0x1e0): more undefined references to
`SbName::SbName[in-charge]()' follow
ClassDef.o(.text+0x37b): In function `ClassDef::~ClassDef
[not-in-charge]()':
.........................
.........................
(HERE I deleted a lot of similiar errors as above)
........................
ima.e[3]: Leaving directory `/inventor/doc/man/ivman'
(.text+0xc2): In function `Writer::open(char const*, char const*)':
: undefined reference to `SbString::~SbString [in-charge]()'
collect2: ld returned 1 exit status
gmake[3]: *** [ivman] Error 1
gmake[2]: *** [all] Error 1
gmake[1]: *** [all] Error 1
gmake: *** [all] Error 1
gmake[2]: Leaving directory `/inventor/doc/man'
gmake[1]: Leaving directory `/inventor/doc'
While I use the command 'gmake install'. I got the following errors:
/usr/bin/g++ -L/tmp/logiciels/inventor/usr/lib -L/usr/X11R6/lib
Main.o ClassDef.o Man.o Reader.o Writer.o BuildIssues.o
-lInventor -o ivman
/tmp/logiciels/inventor///usr/lib/libInventor.so: undefined reference to
`__ctype_b'
Thanks for any clue/help.
Yours
Zhang
Boris
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
|