Compiling on a amd64 ubuntu gutsy

Hi there, Im trying to compile panda on an amd64

But beside all the normal casting errors I get this:

vesen1:/tmp/panda/panda3d-1.4.0# ./makepanda/makepanda.py  --use-python --use-zlib --use-png --use-jpeg --use-fmodex --use-nvidiacg --use-freetype --use-fftw --use-ffmpeg
Checking for MAYA6
Checking for MAYA65
Checking for MAYA7
Checking for MAYA8
Checking for MAYA85

-------------------------------------------------------------------
Makepanda Initial Status Report
Makepanda: Compiler: LINUX
Makepanda: Optimize: 3
Makepanda: Keep Pkg: PYTHON ZLIB PNG JPEG FMODEX NVIDIACG FREETYPE FFTW FFMPEG 
Makepanda: Omit Pkg: TIFF VRPN OPENSSL MILES MAYA6 MAYA65 MAYA7 MAYA8 MAYA85 MAX6 MAX7 MAX8 MAX9 PANDATOOL PANDAAPP DX8 DX9 
Makepanda: Verbose vs. Quiet Level: 1
Makepanda: Don't generate API reference manual
Makepanda: Version ID: 1.4.0
-------------------------------------------------------------------

Regenerating file: built/tmp/dtool_have_pandatool.dat
Regenerating file: built/tmp/dtool_have_pandaapp.dat
Generating dependencies...
g++ -o built/bin/interrogate -Lbuilt/lib -L/usr/X11R6/lib built/tmp/interrogate_composite.o built/tmp/libcppParser.a -lp3pystub -lp3dtoolconfig -lp3dtool -lpthread
built/lib/libp3dtoolconfig.so: undefined reference to `Py_InitModule4_64'
built/lib/libp3dtool.so: undefined reference to `dlerror'
built/lib/libp3dtool.so: undefined reference to `dlopen'
built/lib/libp3dtool.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
Storing dependency cache.
Elapsed Time: 1 sec

I read on another thread that this has something to do with the python version but I’ve tried specifying both versions I have and nothing helps.
[/code]

I think the link command line is missing -ldl. I could have sworn I fixed that at some point…

thanks alot, this is panda 1.4.0 so you might have fixed it in another version?

Hm… look out for anything with a x.x.0 version number. That’s usually the buggiest of the releases.

The release cycle looks like this: I wait a few months, and make a new release numbered X.X.0. Soon after, people report bugs, and I rapidly release X.X.1, X.X.2, and so forth, until the nastiest bugs are gone. Then I wait a few months and start it all over.

If you’re using 1.4.0, there’s really no reason not to be using 1.4.2.

  • Josh