Embedding Python
Markus Franz
mail at markus-franz.de
Sat Mar 26 12:05:03 EST 2005
Diez B. Roggisch wrote:
>>/home/mmf/tmp/ccVD2V4h.o(.text+0x1d): In function `main':
>>: undefined reference to `Py_Initialize'
>>/home/mmf/tmp/ccVD2V4h.o(.text+0x2a): In function `main':
>>: undefined reference to `PyRun_SimpleString'
>>/home/mmf/tmp/ccVD2V4h.o(.text+0x32): In function `main':
>>: undefined reference to `Py_Finalize'
>>/home/mmf/tmp/ccVD2V4h.o(.eh_frame+0x11): undefined reference to
>>`__gxx_personality_v0'
>>collect2: ld returned 1 exit status
>>
>>What am I doing wrong?
>
> Not linking against libpython.so?
I don't understand what you mean...
Markus
More information about the Python-list
mailing list