Embedding Python

Diez B. Roggisch deetsNOSPAM at web.de
Sat Mar 26 08:52:00 EST 2005


> /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?
-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list