i’m using ppremake. building ppremake and dtool worked fine, but when i go to build panda, it dies on the interrogate step for libexpress_igate.cxx.
the error:
*** Error in /usr/include/malloc.h near line 136, column 60:
syntax error, unexpected IDENTIFIER, expecting '{' or ';' or ':' or '='
Error parsing file: ‘bigEndian.h’
make: *** [Opt3-Linux/libexpress_igate.cxx] Error 1
did i make interrogate wrong, or something? i’d think it could understand malloc.h …
thanks,
–ben
the full command from ppremake at that point:
interrogate -od Opt3-Linux/libexpress.in -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/badzmaru/panda/panda3d-1.3.2/panda -I…/pandabase -I/usr/local/panda/include -I/usr/include/python2.4 -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