archlinux builderror @panda


I just downloaded panda3d, and was following the ppremake tutorial. Everything went fine, ppremake was compiled(with automake), dtool compiled, but then i get this when compiling panda. Could it have something to do with python?



[root@PC3 panda]# make
cd ./src/pandabase && make all
make[1]: Entering directory /home/phrearch/software/panda3d/panda/src/pa ndabase' g++ -ftemplate-depth-30 -c -o Opt3-Linux/pandabase_pandabase.o -I. -I/hom e/phrearch/software/panda3d/panda -I/usr/local/panda/include -I/usr/inclu de/nspr -I/usr/include/python2.4 -g -O2 -fPIC pandabase.cxx g++ -shared -o Opt3-Linux/ Opt3-Linux/pandabase_pandabase .o -L/usr/local/panda/lib -L/usr/local/panda/lib -linterrogatedb -ldconfi g -ldtoolutil -ldtoolbase -lprc -lnspr4 make[1]: Leaving directory/home/phrearch/software/panda3d/panda/src/pan
cd ./src/express && make all
make[1]: Entering directory /home/phrearch/software/panda3d/panda/src/ex press' g++ -ftemplate-depth-30 -c -o Opt3-Linux/express_express_composite1.o -I. -I/home/phrearch/software/panda3d/panda -I../pandabase -I/usr/local/pand a/include -I/usr/include/nspr -I/usr/include/python2.4 -I/usr/include/nsp r -g -O2 -fPIC express_composite1.cxx g++ -ftemplate-depth-30 -c -o Opt3-Linux/express_express_composite2.o -I. -I/home/phrearch/software/panda3d/panda -I../pandabase -I/usr/local/pand a/include -I/usr/include/nspr -I/usr/include/python2.4 -I/usr/include/nsp r -g -O2 -fPIC express_composite2.cxx interrogate -od Opt3-Linux/ -oc Opt3-Linux/libexpress_igate. cxx -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__i386__ -D__const=const -Dv olatile= -S/usr/local/panda/include/parser-inc -S/usr/include -I/home/phr earch/software/panda3d/panda -I../pandabase -I/usr/local/panda/include -I /usr/include/nspr -I/usr/include/python2.4 -I/usr/include/nspr -fnames -string -refcount -assert -python-native -module "pandaexpress" -libra ry "libexpress" bigEndian.h buffer.h checksumHashGenerator.h circBuffer.h config_express.h datagram.h datagramGenerator.h datagramIterator.h datag ramSink.h dcast.h encryptStreamBuf.h encryptStream.h error_utils.h hashGe neratorBase.h hashVal.h indirectLess.h littleEndian.h memoryInfo.h memory Usage.h memoryUsagePointerCounts.h memoryUsagePointers.h multifile.h nama ble.h nativeNumericData.h nodePointerToBase.h nodePointerTo.h nodeReferen ceCount.h objectDeletor.h ordered_vector.h password_hash.h patchfile.h po interTo.h pointerToArray.h pointerToBase.h pointerToVoid.h profileTimer.h pta_uchar.h ramfile.h referenceCount.h reversedNumericData.h streamReade r.h streamWriter.h stringDecoder.h subStream.h subStreamBuf.h textEncoder .h threadSafePointerTo.h threadSafePointerToBase.h trueClock.h typedRefer enceCount.h typedef.h unicodeLatinMap.h vector_uchar.h virtualFileComposi te.h virtualFile.h virtualFileList.h virtualFileMount.h virtualFileMountM ultifile.h virtualFileMountSystem.h virtualFileSimple.h virtualFileSystem .h weakPointerTo.h weakPointerToBase.h weakPointerToVoid.h weakReferenceL ist.h windowsRegistry.h zStream.h zStreamBuf.h express_composite1.cxx exp ress_composite2.cxx make[1]: *** [Opt3-Linux/libexpress_igate.cxx] Aborted make[1]: Leaving directory/home/phrearch/software/panda3d/panda/src/exp ress’
make: *** [express] Error 2
[root@PC3 panda]# make
cd ./src/pandabase && make all
make[1]: Entering directory /home/phrearch/software/panda3d/panda/src/pandabase' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /home/phrearch/software/panda3d/panda/src/pandabase' cd ./src/express && make all make[1]: Entering directory/home/phrearch/software/panda3d/panda/src/express’
interrogate -od Opt3-Linux/ -oc Opt3-Linux/libexpress_igate.cxx -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__i386__ -D__const=const -Dvolatile= -S/usr/local/panda/include/parser-inc -S/usr/include -I/home/phrearch/software/panda3d/panda -I…/pandabase -I/usr/local/panda/include -I/usr/include/nspr -I/usr/include/python2.4 -I/usr/include/nspr -fnames -string -refcount -assert -python-native -module “pandaexpress” -library “libexpress” bigEndian.h buffer.h checksumHashGenerator.h circBuffer.h config_express.h datagram.h datagramGenerator.h datagramIterator.h datagramSink.h dcast.h encryptStreamBuf.h encryptStream.h error_utils.h hashGeneratorBase.h hashVal.h indirectLess.h littleEndian.h memoryInfo.h memoryUsage.h memoryUsagePointerCounts.h memoryUsagePointers.h multifile.h namable.h nativeNumericData.h nodePointerToBase.h nodePointerTo.h nodeReferenceCount.h objectDeletor.h ordered_vector.h password_hash.h patchfile.h pointerTo.h pointerToArray.h pointerToBase.h pointerToVoid.h profileTimer.h pta_uchar.h ramfile.h referenceCount.h reversedNumericData.h streamReader.h streamWriter.h stringDecoder.h subStream.h subStreamBuf.h textEncoder.h threadSafePointerTo.h threadSafePointerToBase.h trueClock.h typedReferenceCount.h typedef.h unicodeLatinMap.h vector_uchar.h virtualFileComposite.h virtualFile.h virtualFileList.h virtualFileMount.h virtualFileMountMultifile.h virtualFileMountSystem.h virtualFileSimple.h virtualFileSystem.h weakPointerTo.h weakPointerToBase.h weakPointerToVoid.h weakReferenceList.h windowsRegistry.h zStream.h zStreamBuf.h express_composite1.cxx express_composite2.cxx
make[1]: *** [Opt3-Linux/libexpress_igate.cxx] Aborted
make[1]: Leaving directory `/home/phrearch/software/panda3d/panda/src/express’
make: *** [express] Error 2

This means that the program interrogate, which is built during the first tree (dtool), is crashing when it runs.

It’s probably not related to Python, but it is mysterious. It might possibly be a naming conflict on some shared library. You should make sure that you uninstall any other versions of Panda you might already have installed.

I’ve also seen this happen when gcc is misconfigured, so that you are pulling in a runtime library for a different version of gcc or something like that.

It might also be a bug in Panda. It’s worth trying to get the latest version from CVS, which I am confident will build correctly. Make sure you completely uninstall everything else first.


Thanks for your help. I found something that may be related to my problem.
They talk about gcc defines, which i should give to interrogate or something. I have no clue what that means. Anyone?

That thread is all about setting up a new build environment for OSX. None of it really applies to Linux, which already has a build environment configured for it.

What distro and version of Linux are you building on? What version of the gcc compiler do you have installed? Is there any reason you cannot use the precompiled version of Panda for Linux? Have you ever installed a precompiled version of Panda on your machine?


If the deb/rpm on the download page isn’t working/or not for your distro,
you can also try the makepanda tool also included in the Panda3D download. It’s a lot easier to build with makepanda than with ppremake.

Or it would indeed be a good idea to get the newest Panda3D version from the CVS: