command line libs

Gregory Alan Bolcer (gbolcer@javel.ICS.UCI.EDU)
Sat, 12 Feb 1994 11:23:18 -0800

Hi All,
I am embedding python into a C++ program, and
I have the following lines:

g++ -o Foundation Foundation.o -L../../Q3.2/build.sun4-g++
-L/dc/ua/gbolcer/teamware/Teamware.1.0/Lib
-L/dc/ua/gbolcer/teamware/python/lib/python/lib -lQ -lobjv -lModules
-lObjects -lParser -lPython -llwp

although, it complains of undefined symbols. Does
anyone know the correct ordering for the python libs?

Thanks,
Greg

ld: Undefined symbol
_writeobject
_getlistsize
_gettuplesize
_NoObject
_newmethodobject
_resizetuple
_mappinggetnext
_newtupleobject
_freetree
_instancemethodgetclass
_Floattype
_gettupleslice
etc....