|
From: <Su...@gm...> - 2001-08-10 07:25:24
|
Hi, I'm trying to get openvrml to run on an SGI O2 with IRIX6.5. I compiled the core library and the GL part with GNU C version 3.0 and it compiled but after compiling lookat and starting it, I get the following undefined symbol: 35207:lt-lookat: rld: Error: unresolvable symbol in /vrml/openvrml-0.10.1/src/openvrml/OpenVRML/.libs/libopenvrml.so.1: __INTADDR__ 35207:lt-lookat: rld: Fatal Error: this executable has unresolvable symbols Does anybody know about this symbol ??? I have no idea what is missing. All I did change was to comment out libpng in the Making of libvrml and the calls to the png functions in the corresponding cpp-file because I seem to have an old version of libpng from which I got undefined symbols as well... Any help would be much appreciated ! Thx in advance, Surak -- Live long and prosper! \\//_ Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a |
|
From: <Su...@gm...> - 2001-08-10 11:52:13
|
Hi, Now I recompiled everything and I got two more undefined symbols: _ZN13Vrml97ScannerC1ERSi and _ZN8ScriptJSC1EP14VrmlNodeScriptPKc > 35207:lt-lookat: rld: Error: unresolvable symbol in > /vrml/openvrml-0.10.1/src/openvrml/OpenVRML/.libs/libopenvrml.so.1: > __INTADDR__ > > 35207:lt-lookat: rld: Fatal Error: this executable has unresolvable > symbols > I also had problems with the Makefile, because antl-prelinked.lo and scriptjs-prelinked.lo were not linked correctly. So I typed in the libtool call manually for both and then remade. If anyone has a working libopenvrml for IRIX I would appreciate to get it. Or if anyone has an answer to my problems that would be really a life saver };-) Thx, S. -- Live long and prosper! \\//_ Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a |
|
From: Braden M. <br...@en...> - 2001-08-10 19:47:31
|
On 10 Aug 2001 13:52:04 +0200, Su...@gm... wrote: > Hi, > > Now I recompiled everything and I got two more undefined symbols: > > _ZN13Vrml97ScannerC1ERSi and > _ZN8ScriptJSC1EP14VrmlNodeScriptPKc > > > > 35207:lt-lookat: rld: Error: unresolvable symbol in > > /vrml/openvrml-0.10.1/src/openvrml/OpenVRML/.libs/libopenvrml.so.1: > > __INTADDR__ > > > > 35207:lt-lookat: rld: Fatal Error: this executable has unresolvable > > symbols > > > > I also had problems with the Makefile, because antl-prelinked.lo and > scriptjs-prelinked.lo were not linked correctly. So I typed in the libtool call > manually for both and then remade. > > If anyone has a working libopenvrml for IRIX I would appreciate to get it. > Or if anyone has an answer to my problems that would be really a life saver > };-) If you're still using 0.10.1, I suggest you try the most recent version (0.11.1). -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: <Su...@gm...> - 2001-08-13 08:06:26
|
Hi, I found in the README that for IRIX you have to use gcc 2.95 I used 3.0, does that work too or is it a problem ??? Another question: Is libGLU the only lib that has to be recompiled with the gcc ??? Thx for help ! Sven Live long and prosper! \\//_ -- Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a |
|
From: Braden M. <br...@en...> - 2001-08-13 08:27:10
|
On 13 Aug 2001 10:06:17 +0200, Su...@gm... wrote: > I found in the README that for IRIX you have to use gcc 2.95 I used 3.0, > does that work too or is it a problem ??? You tell us. :-) The same issue with respect to the OS vendor's compiler should be present. > Another question: > Is libGLU the only lib that has to be recompiled with the gcc ??? Only libraries that are implemented in C++ will need to be recompiled. At least theoretically, there should be binary compatibility with C libraries. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: <Su...@gm...> - 2001-08-13 08:49:57
|
Hi Braden, on the sourceforge site I saw a snapshot of qtlookat running under IRIX. So do you know someone who has a running IRIX version of libopenvrml ??? Maybe he can tell me what I have to change or maybe he can send e the lib or or do something else helpful for me ... *sigh* I really need a working SGI version because I am working on a project for Irix and Linux ... Thx, Sven -- Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a |
|
From: Braden M. <br...@en...> - 2001-08-13 08:59:05
|
On 13 Aug 2001 10:49:48 +0200, Su...@gm... wrote: > on the sourceforge site I saw a snapshot of qtlookat running under IRIX. FYI, QtLookat will probably need a substantial amount of love before it will compile with recent OpenVRML versions. > So > do you know someone who has a running IRIX version of libopenvrml ??? Mufti has reported on this in the past; hopefully he or someone will chime in here. > Maybe he can tell me what I have to change or maybe he can send e the lib or > or do something else helpful for me ... *sigh* I really need a working SGI > version because I am working on a project for Irix and Linux ... Exactly what is the nature of the problem you're having? -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: <Su...@gm...> - 2001-08-13 09:30:52
|
> Exactly what is the nature of the problem you're having? Well, I want to create a Vrml97 Loader for another software and I used OpenVrml under Linux to do so, which works really fine, I load the file with libopenvrml and then I get all the information I need from the OpenVrml classes and put them in the classes of the other software. Now I wanted to do the same for the IRIX version, but I can't get a working libopenvrml under IRIX. I assume that my developing environment on the O2 is just not correct for the Makefiles created bu configure. In the attachment you can find the errors I get when compiling libopenvrml. I could also send you the config.* files if that would help to find out what I have to change ... Since I only need the data stored in the OpenVrml classes I don't really need to compile lookat, but I just tried to do so to check why my loader terminated with a segmentation fault when I used the libopenvrml I compiled under Irix ... Thx for the help again, Sven -- Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a |
|
From: Braden M. <br...@en...> - 2001-08-13 09:55:25
|
On 13 Aug 2001 11:30:43 +0200, Su...@gm... wrote: > > > Exactly what is the nature of the problem you're having? > > Well, I want to create a Vrml97 Loader for another software and I used > OpenVrml under Linux to do so, which works really fine, I load the file with > libopenvrml and then I get all the information I need from the OpenVrml classes > and put them in the classes of the other software. > Now I wanted to do the same for the IRIX version, but I can't get a working > libopenvrml under IRIX. I assume that my developing environment on the O2 is > just not correct for the Makefiles created bu configure. > > In the attachment you can find the errors I get when compiling libopenvrml. Your message didn't have an attachment. Just post the error messages inline. If there are lots of messages that look basically the same, feel free to abridge the output. > I could also send you the config.* files if that would help to find out what > I have to change ... Your config.log would be useful if you are getting configuration errors, but it doesn't sound like that's the case. > Since I only need the data stored in the OpenVrml classes I don't really > need to compile lookat, but I just tried to do so to check why my loader > terminated with a segmentation fault when I used the libopenvrml I compiled under > Irix ... A backtrace may be useful, but let's address the errors you're getting at compile time first. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: <Su...@gm...> - 2001-08-13 10:05:12
|
> Your message didn't have an attachment. Just post the error messages
> inline. If there are lots of messages that look basically the same, feel
> free to abridge the output.
>
Sorry };-) Forgot to attach ...
Here it is:
/bin/sh ../../../libtool --mode=link g++ -g -O2 -o antlr-prelinked.lo
/usr/bin/ld -n32 -r -o antlr-prelinked.o
ld32: INFO 46: No objects linked.
^^^^^^^^^^^^^^^^^^
rm -f antlr-prelinked.lo
(cd . && ln -s antlr-prelinked.o antlr-prelinked.lo)
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../.. -I../../../lib -I../../../lib/js -DXP_UNIX -g -O2 -c ScriptJS.cpp
rm -f .libs/ScriptJS.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib -I../../../lib/js
-DXP_UNIX -g -O2 -c ScriptJS.cpp -DPIC -o .libs/ScriptJS.lo
In file included from VrmlNodeChild.h:24,
from VrmlNodeScript.h:29,
from ScriptJS.cpp:51:
VrmlNode.h:471:8: warning: extra tokens at end of #endif directive
In file included from ScriptJS.cpp:51:
VrmlNodeScript.h:135:8: warning: extra tokens at end of #endif directive
In file included from VrmlScene.h:27,
from ScriptJS.cpp:54:
VrmlNodeGroup.h:112:8: warning: extra tokens at end of #endif directive
mv -f .libs/ScriptJS.lo ScriptJS.o
(cd . && ln -s ScriptJS.o ScriptJS.lo)
/bin/sh ../../../libtool --mode=link g++ -g -O2 -o
scriptjs-prelinked.lo
/usr/bin/ld -n32 -r -o scriptjs-prelinked.o
ld32: INFO 46: No objects linked.
^^^^^^^^^^^^^^^^^^
rm -f scriptjs-prelinked.lo
(cd . && ln -s scriptjs-prelinked.o scriptjs-prelinked.lo)
/bin/sh ../../../libtool --mode=link g++ -g -O2 -o libopenvrml.la
-rpath /usr/local/lib -version-info 0:0:0 -ljpeg -lpng -lz -lm Doc.lo
doc2.lo MathUtils.lo gifread.lo jpgread.lo mpgread.lo pngread.lo dummysound.lo
Image.lo Audio.lo System.lo Viewer.lo VrmlBVolume.lo VrmlBSphere.lo
VrmlAABox.lo VrmlFrustum.lo VrmlRenderContext.lo VrmlField.lo VrmlNamespace.lo
VrmlNodeType.lo VrmlNode.lo VrmlNodeProto.lo VrmlNodeAnchor.lo
VrmlNodeAppearance.lo VrmlNodeAudioClip.lo VrmlNodeBackground.lo VrmlNodeBillboard.lo
VrmlNodeBox.lo VrmlNodeCollision.lo VrmlNodeColor.lo VrmlNodeColorInt.lo
VrmlNodeCone.lo VrmlNodeCoordinate.lo VrmlNodeCoordinateInt.lo VrmlNodeCylinder.lo
VrmlNodeCylinderSensor.lo VrmlNodeDirLight.lo VrmlNodeElevationGrid.lo
VrmlNodeExtrusion.lo VrmlNodeFog.lo VrmlNodeFontStyle.lo VrmlNodeGeometry.lo
VrmlNodeGroup.lo VrmlNodeIFaceSet.lo VrmlNodeILineSet.lo VrmlNodeImageTexture.lo
VrmlNodeInline.lo VrmlNodeIndexedSet.lo VrmlNodeLOD.lo VrmlNodeLight.lo
VrmlNodeMaterial.lo VrmlNodeMovieTexture.lo VrmlNodeNavigationInfo.lo
VrmlNodeNormal.lo VrmlNodeNormalInt.lo VrmlNodeOrientationInt.lo
VrmlNodePixelTexture.lo VrmlNodePlaneSensor.lo VrmlNodePointLight.lo VrmlNodePointSet.lo
VrmlNodePositionInt.lo VrmlNodeProximitySensor.lo VrmlNodeScalarInt.lo
ScriptObject.lo VrmlNodeScript.lo VrmlNodeShape.lo VrmlNodeSound.lo VrmlNodeSphere.lo
VrmlNodeSphereSensor.lo VrmlNodeSpotLight.lo VrmlNodeSwitch.lo VrmlNodeText.lo
VrmlNodeTextureCoordinate.lo VrmlNodeTextureTransform.lo
VrmlNodeTimeSensor.lo VrmlNodeTouchSensor.lo VrmlNodeTransform.lo VrmlNodeViewpoint.lo
VrmlNodeVisibilitySensor.lo VrmlNodeWorldInfo.lo VrmlScene.lo antlr-prelinked.lo
scriptjs-prelinked.lo
rm -fr .libs/libopenvrml.la .libs/libopenvrml.* .libs/libopenvrml.*
(cd . && ln -s antlr-prelinked.lo antlr-prelinked.o)
(cd . && ln -s scriptjs-prelinked.lo scriptjs-prelinked.o)
gcc -shared Doc.o doc2.o MathUtils.o gifread.o jpgread.o mpgread.o
pngread.o dummysound.o Image.o Audio.o System.o Viewer.o VrmlBVolume.o VrmlBSphere.o
VrmlAABox.o VrmlFrustum.o VrmlRenderContext.o VrmlField.o VrmlNamespace.o
VrmlNodeType.o VrmlNode.o VrmlNodeProto.o VrmlNodeAnchor.o VrmlNodeAppearance.o
VrmlNodeAudioClip.o VrmlNodeBackground.o VrmlNodeBillboard.o VrmlNodeBox.o
VrmlNodeCollision.o VrmlNodeColor.o VrmlNodeColorInt.o VrmlNodeCone.o
VrmlNodeCoordinate.o VrmlNodeCoordinateInt.o VrmlNodeCylinder.o
VrmlNodeCylinderSensor.o VrmlNodeDirLight.o VrmlNodeElevationGrid.o VrmlNodeExtrusion.o
VrmlNodeFog.o VrmlNodeFontStyle.o VrmlNodeGeometry.o VrmlNodeGroup.o VrmlNodeIFaceSet.o
VrmlNodeILineSet.o VrmlNodeImageTexture.o VrmlNodeInline.o
VrmlNodeIndexedSet.o VrmlNodeLOD.o VrmlNodeLight.o VrmlNodeMaterial.o VrmlNodeMovieTexture.o
VrmlNodeNavigationInfo.o VrmlNodeNormal.o VrmlNodeNormalInt.o
VrmlNodeOrientationInt.o VrmlNodePixelTexture.o VrmlNodePlaneSensor.o VrmlNodePointLight.o
VrmlNodePointSet.o VrmlNodePositionInt.o VrmlNodeProximitySensor.o
VrmlNodeScalarInt.o ScriptObject.o VrmlNodeScript.o VrmlNodeShape.o VrmlNodeSound.o
VrmlNodeSphere.o VrmlNodeSphereSensor.o VrmlNodeSpotLight.o VrmlNodeSwitch.o
VrmlNodeText.o VrmlNodeTextureCoordinate.o VrmlNodeTextureTransform.o
VrmlNodeTimeSensor.o VrmlNodeTouchSensor.o VrmlNodeTransform.o VrmlNodeViewpoint.o
VrmlNodeVisibilitySensor.o VrmlNodeWorldInfo.o VrmlScene.o antlr-prelinked.o
scriptjs-prelinked.o -ljpeg -lpng -lz -lm -lc -Wl,-soname -Wl,libopenvrml.so.1
`test -n "sgi1.0" && echo -Wl,-set_version -Wl,sgi1.0` -Wl,-update_registry
-Wl,.libs/so_locations -o .libs/libopenvrml.so.1.0
gcc: antlr-prelinked.o: Too many symbolic links in path name traversal
gcc: scriptjs-prelinked.o: Too many symbolic links in path name traversal
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
The last is clear, since no objects have been linked (underlined parts) the
created link points from .lo to .o and vice versa ...
antlr-prelinked.o -> antlr-prelinked.lo
antlr-prelinked.lo -> antlr-prelinked.o
(Same for scriptjs-prelinked)
So I did the linking of those two files by hand and then remade and I got a
libopenvrml but that one then causes the segmentation fault when readWRL is
called.
--
Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne
Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung!
http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a
|
|
From: bentley <be...@fw...> - 2001-08-13 13:43:58
|
Just a guess here, but it looks like you're using the Irix linker with the gcc compiler. Not sure if that is supposed to work. Have you tried installing the GNU bin-tools and using GNU ld ? On Mon, 13 Aug 2001 Su...@gm... wrote: > > > Your message didn't have an attachment. Just post the error messages > > inline. If there are lots of messages that look basically the same, feel > > free to abridge the output. > > > > Sorry };-) Forgot to attach ... > > Here it is: > > /bin/sh ../../../libtool --mode=link g++ -g -O2 -o antlr-prelinked.lo > /usr/bin/ld -n32 -r -o antlr-prelinked.o > ld32: INFO 46: No objects linked. > ^^^^^^^^^^^^^^^^^^ --- Ken Bentley <be...@fw...> |
|
From: Braden M. <br...@en...> - 2001-08-13 19:42:04
|
On 13 Aug 2001 12:05:03 +0200, Su...@gm... wrote: > > > Your message didn't have an attachment. Just post the error messages > > inline. If there are lots of messages that look basically the same, feel > > free to abridge the output. > > > > Sorry };-) Forgot to attach ... > > Here it is: Please try with the most recent version of the library. The current makefiles don't do the pre-linking stuff anymore. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: <Su...@gm...> - 2001-08-14 09:54:07
|
> Please try with the most recent version of the library. The current > makefiles don't do the pre-linking stuff anymore. Hi Braden, good idea, thx, now I have a version that works. The only problems I still had were with libpng which seems to be an old version and resulted in some unresolved symbols so I commented out the PNG stuff and I don't have this monkey whatever it is called lib, so I made a version with no java script support. Might that be a reason for the segmentation faults I get with most of the demo models ??? I can read e.g. snoman.wrl and the motions are shown correctly as well... But now I still have a problem with my own application, whih might e a problem of mixing SGI MIPS compiler linked and compiled things and the gcc stuff ... well I have to find a solution for that. Does anyone know, where to get this monkey lib thing for IRIX ??? Thx, Sven -- Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a |
|
From: Braden M. <br...@en...> - 2001-08-15 01:48:33
|
On 14 Aug 2001 11:53:57 +0200, Su...@gm... wrote: > good idea, thx, now I have a version that works. The only problems I still > had were with libpng which seems to be an old version and resulted in some > unresolved symbols so I commented out the PNG stuff and I don't have this monkey > whatever it is called lib, so I made a version with no java script support. > Might that be a reason for the segmentation faults I get with most of the > demo models ??? > > I can read e.g. snoman.wrl and the motions are shown correctly as well... > > But now I still have a problem with my own application, whih might e a > problem of mixing SGI MIPS compiler linked and compiled things and the gcc stuff > ... well I have to find a solution for that. > > Does anyone know, where to get this monkey lib thing for IRIX ??? SpiderMonkey is the Mozilla JavaScript engine; information about where to get it is in the README. It should compile under Irix, but OpenVRML's configuration script isn't currently very good about detecting builds other than the one that installs with Mozilla. That should improve for the 0.12 release of OpenVRML, but that's still several weeks away. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: <Su...@gm...> - 2001-08-15 12:05:30
|
Hi, thx Braden for the infos ... Does anyone know if the compiler has to support Scoping rule (template instantiation) to compile libopenvrml ??? If not (believing SGI's website) there are no other things currently not supported in the newest version of SGI's MIPS C++ compiler. But before I will try to install that newest one and try to compile libopenvrml with it, I'd just like to know if it's worth a try ... Thx, Sven If I will be able to compile a version with the SGI Mips C++ compiler I will let you know ... -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net |
|
From: Braden M. <br...@en...> - 2001-08-15 20:11:18
|
On 15 Aug 2001 14:05:26 +0200, Su...@gm... wrote: > Hi, > > thx Braden for the infos ... > > Does anyone know if the compiler has to support > Scoping rule (template instantiation) Not sure exactly what you're talking about... Koenig lookup? > to compile libopenvrml ??? If not (believing SGI's website) I don't think so. > there are no other things currently not supported in the newest version of > SGI's MIPS C++ compiler. But before I will try to install that newest one and > try to compile libopenvrml with it, I'd just like to know if it's worth a try > ... We have this bug open on the issue: <http://sourceforge.net/tracker/index.php?func=detail&aid=226337&group_id=7151&atid=107151> My feeling is that this can be made to work with some TLC from someone with access to this platform. > If I will be able to compile a version with the SGI Mips C++ compiler I will > let you know ... Thanks! -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |