Newbie - C API Question

Alex Martelli aleax at aleax.it
Mon Mar 31 09:24:04 EST 2003


<posted & mailed>

Ian Pellew wrote:
   ...
> My compile gives:-
> [ `gcc -I/usr/local/include/python2.1 -o h h.c` ] && { ./h; }

Looks like you're trying to compile and link in one go BUT
forgetting to add the Python library (libpython2.1.a, I would
guess -- not sure where exactly you have it, probably under
/usr/local no doubt).


Alex





More information about the Python-list mailing list