info-inventor-dev
[Top] [All Lists]

Problems compiling/running OpenInventor on SGI

To: inventor <info-inventor-dev@xxxxxxxxxxx>
Subject: Problems compiling/running OpenInventor on SGI
From: Philippe Boutinaud <pboutinaud@xxxxxxxxxxxx>
Date: Fri, 02 Mar 2001 13:27:03 +0100
Organization: Kaleo Concepts & Solutions
Sender: owner-info-inventor-dev@xxxxxxxxxxx
Hello,

I am trying to recompile OpenInventor on IRIX 6.5 (IRIX64 E6 6.5
04191226 IP30) and I have some problems :

I am using the sources from inventor-2.1.5-6.src.tar.gz
I am compiling with /usr/bin/CC -mips3 -n32

The libInventor.so and libInventorXt.so are generated but, when
installing, the ivman program do a segmentation violation. This is the
stack I got by running ivman with gdb :

Program received signal SIGSEGV, Segmentation fault.
0x5b28dfc in getClassTypeId__9SoElementSGv () at SoElement.h:120
120         static SoType       getClassTypeId()        { return
classTypeId; }
(gdb) where
#0  0x5b28dfc in getClassTypeId__9SoElementSGv () at SoElement.h:120
#1  0x5b29748 in initClass__20SoAccumulatedElementSGv () at
SoElementInit.c++:161
#2  0x5b28e90 in initElements__9SoElementSGv () at SoElementInit.c++:70
#3  0x5d4b550 in init__4SoDBSGv () at SoDB.c++:202
#4  0x10005de0 in main (argc=3, argv=0x7ffefe24) at Main.c++:119
(gdb) up
#1  0x5b29748 in initClass__20SoAccumulatedElementSGv () at
SoElementInit.c++:161
161         classTypeId =
SoType::createType(SoElement::getClassTypeId(),
(gdb)

Every example/demo I link with the library crash at the same place. By
playing around with the source, it seems that after
SoElement::initClass(), each call to SoType::get* dumps a core.

I even tried to "purify" everything but nothing strange appeared.

Why is this happening ???

I'll be very happy to have any suggestion...

@+
Philippe

Attachment: pboutinaud.vcf
Description: Card for Philippe Boutinaud

<Prev in Thread] Current Thread [Next in Thread>