OS X 10.6 Compiling issues

I’ve been trying to compile panda3d with libvorbis and ffmpeg but I keep running into issues when running make on panda. The output I get is this:

vm:panda Anthony$ make
cd ./src/pandabase && make all
make[1]: Nothing to be done for `all'.
cd ./src/express && make all
g++ -ftemplate-depth-30 -arch x86_64 -Wno-deprecated-declarations -c -o Opt3-OSX/libp3express_igate.o -I. -I/Users/Anthony/Desktop/panda3d-master/panda -I../pandabase -I/Users/Anthony/Desktop/panda3d-built/include -I/Users/Anthony/Desktop/Python-2.7.5 -I/Users/Anthony/Desktop/Python-2.7.5/Include    -g -O2 -fPIC Opt3-OSX/libp3express_igate.cxx
Opt3-OSX/libp3express_igate.cxx: In function ‘PyObject* Dtool_VirtualFileSystem_read_file_1385(PyObject*, PyObject*, PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:99582: error: ‘_ext_VirtualFileSystem_read_file’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘PyObject* Dtool_VirtualFileSystem_write_file_1388(PyObject*, PyObject*, PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:99906: error: ‘_ext_VirtualFileSystem_write_file’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_ConfigFlags(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:101782: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_ConfigPage(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:101942: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_ConfigVariableManager(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:103170: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_PointerToVoid(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:103624: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_DConfig(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:104201: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_DSearchPath_Results(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:104321: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_DSearchPath(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:104439: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_ExecutionEnvironment(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:104516: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_ios_base(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:104761: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_Filename(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:105124: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_GlobPattern(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:105289: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_StreamWrapperBase(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:105494: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_NeverFreeMemory(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:105551: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_Notify(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:105634: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_PandaSystem(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:106009: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_StreamReader(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:106623: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_StreamWriter(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:106775: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_TextEncoder(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:106896: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_TypeHandle(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:107069: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_TypeRegistry(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:107185: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_TypedObject(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:107313: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_MemoryUsage(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:107507: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_ReferenceCount(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:107622: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_DatagramGenerator(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:108027: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_DatagramIterator(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:108174: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_DatagramSink(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:108234: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_Ramfile(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:108394: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_HashVal(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:108507: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_MemoryUsagePointers(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:108608: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_Multifile_CertRecord(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:108791: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_Namable(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:109055: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_Patchfile(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:109127: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_TrueClock(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:109190: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_ProfileTimer(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:109262: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_SubfileInfo(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:109342: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: In function ‘void Dtool_PyModuleClassInit_VirtualFileSystem(PyObject*)’:
Opt3-OSX/libp3express_igate.cxx:110115: error: ‘Dtool_DTOOL_SUPPER_BASE’ was not declared in this scope
Opt3-OSX/libp3express_igate.cxx: At global scope:
Opt3-OSX/libp3express_igate.cxx:110853: error: variable ‘LibrayDef libp3express_moddef’ has initializer but incomplete type
make[1]: *** [Opt3-OSX/libp3express_igate.o] Error 1
make: *** [express] Error 2

I have run ppremake in the directory, but it always get these errors.

vm:panda Anthony$ ppremake
Root is /Users/Anthony/Desktop/panda3d-master/panda
Reading /Users/Anthony/Desktop/Config_osx.pp (referred to by PPREMAKE_CONFIG)
Read 90 Sources.pp files.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/audio/Opt3-OSX/libp3audio_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/chan/Opt3-OSX/libp3chan_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/char/Opt3-OSX/libp3char_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/collide/Opt3-OSX/libp3collide_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/cull/Opt3-OSX/libp3cull_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/device/Opt3-OSX/libp3device_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/dgraph/Opt3-OSX/libp3dgraph_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/display/Opt3-OSX/libp3display_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/distort/Opt3-OSX/libp3distort_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/downloader/Opt3-OSX/libp3downloader_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/dxml/Opt3-OSX/libp3dxml_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/egg/Opt3-OSX/libp3egg_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/egg2pg/Opt3-OSX/libp3egg2pg_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/event/Opt3-OSX/libp3event_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/express/Opt3-OSX/libp3express_igate.cxx does not exist.
Generating src/express/Makefile
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/ffmpeg/Opt3-OSX/libp3ffmpeg_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/gobj/Opt3-OSX/libp3gobj_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/grutil/Opt3-OSX/libp3grutil_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/gsgbase/Opt3-OSX/libp3gsgbase_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/linmath/Opt3-OSX/libp3linmath_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/mathutil/Opt3-OSX/libp3mathutil_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/movies/Opt3-OSX/libp3movies_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/nativenet/Opt3-OSX/libp3nativenet_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/net/Opt3-OSX/libp3net_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/ode/Opt3-OSX/libp3ode_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/parametrics/Opt3-OSX/libp3parametrics_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/particlesystem/Opt3-OSX/libp3particlesystem_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/pgraph/Opt3-OSX/libp3pgraph_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/pgraphnodes/Opt3-OSX/libp3pgraphnodes_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/pgui/Opt3-OSX/libp3pgui_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/physics/Opt3-OSX/libp3physics_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/pipeline/Opt3-OSX/libp3pipeline_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/pnmimage/Opt3-OSX/libp3pnmimage_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/pnmtext/Opt3-OSX/libp3pnmtext_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/pstatclient/Opt3-OSX/libp3pstatclient_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/putil/Opt3-OSX/libp3putil_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/recorder/Opt3-OSX/libp3recorder_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/skel/Opt3-OSX/libp3skel_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/text/Opt3-OSX/libp3text_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/tform/Opt3-OSX/libp3tform_igate.cxx does not exist.
Warning: dependent file /Users/Anthony/Desktop/panda3d-master/panda/src/vision/Opt3-OSX/libp3vision_igate.cxx does not exist.
No errors.

Does anyone have any ideas on what might be causing this?