Hi Vikas,

Everything is building cleanly here with CVS, Suse10.0 64 bit build.
I have gcc 4.0.2 though.

The linker error suggest to me that osgUtil isn't built properly or
something similiar.  Try a clean build.

Robert.

On 11/18/06, Vikas N Kumar <[EMAIL PROTECTED]> wrote:
Hi Friends,
I have been trying to compile OSG for the last few days. This is the
consistent bug i get with the latest CVS.

I am not familiar with the code, so any help will be appreciated.

I use Slamd64, an x86_64 version of Slackware, with the 2.6.16.29
kernel and gcc-3.4.6 .


g++  -O2 -W -Wall -fPIC -pipe -DOSGPRODUCER_LIBRARY -I../../../include
 -I/usr/X11R6/include -c ../ViewerEventHandler.cpp
g++  -O2 -W -Wall -fPIC -pipe -DOSGPRODUCER_LIBRARY -I../../../include
 -I/usr/X11R6/include -c ../Viewer.cpp
g++  -O2 -W -Wall -fPIC -pipe -DOSGPRODUCER_LIBRARY -I../../../include
 -I/usr/X11R6/include -c ../Version.cpp
g++  -O2 -L/usr/X11R6/lib64 -L../../../lib/Linux64  -shared
KeyboardMouseCallback.o GraphicsContextImplementation.o
OsgCameraGroup.o OsgSceneHandler.o ViewerEventHandler.o Viewer.o
Version.o   -lstdc++ -lProducer -lGLU -lGL  -losgText -losgGA
-losgUtil -losgDB -losg -lOpenThreads -o libosgProducer.so
`.gnu.linkonce.t._ZN7osgUtil10Statistics3endEv' referenced in section
`.rodata' of ViewerEventHandler.o: defined in discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics3endEv' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKj'
referenced in section `.rodata' of ViewerEventHandler.o: defined in
discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKj' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKt'
referenced in section `.rodata' of ViewerEventHandler.o: defined in
discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKt' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKh'
referenced in section `.rodata' of ViewerEventHandler.o: defined in
discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKh' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics10drawArraysEjii' referenced
in section `.rodata' of ViewerEventHandler.o: defined in discarded
section `.gnu.linkonce.t._ZN7osgUtil10Statistics10drawArraysEjii' of
ViewerEventHandler.o
collect2: ld returned 1 exit status
make[3]: *** [libosgProducer.so] Error 1
make[3]: Leaving directory
`/mnt/extra/FLIGHTGEAR/OpenSceneGraph/OpenSceneGraph/src/osgProducer/Linux64.Opt'
make[2]: *** [libosgProducer.so.opt] Error 2
make[2]: Leaving directory
`/mnt/extra/FLIGHTGEAR/OpenSceneGraph/OpenSceneGraph/src/osgProducer'
make[1]: *** [default] Error 1
make[1]: Leaving directory
`/mnt/extra/FLIGHTGEAR/OpenSceneGraph/OpenSceneGraph/src'
make: *** [default] Error 1

Thanks
Vikas
--
http://www.vikaskumar.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to