Newbie: Undefined reference when initializing Python
Michael Hudson
mwh at python.net
Wed Mar 13 13:18:08 EST 2002
"henrikb666" <evil_wicked at ofir.dk> writes:
[...]
> I already include <Python.h> at the top of the TServer.cc file, so
> that's not it. Could it have something to do with my Makefile?
You need to link to Python; there should be a "-lpython" in there
somewhere (and probably a "-L/some/path/or/other/" too).
Cheers,
M.
--
There's an aura of unholy black magic about CLISP. It works, but
I have no idea how it does it. I suspect there's a goat involved
somewhere. -- Johann Hibschman, comp.lang.scheme
More information about the Python-list
mailing list