creating an AIX shared object for Python

Vladimir Marangozov Vladimir.Marangozov at inrialpes.fr
Mon Nov 29 07:20:50 CET 1999


drjatalb at my-deja.com wrote:
> 
> [snip]
> 
> cc -c -qfuncsect -I/users/toollib/include/python1.5 -
> I/net/rush/disk1/pdi/toolkits/crusher/crusher312/include crushermodule.c
> 
> ld -G crushermodule.o -o crushermodule.so -
> L/net/rush/disk1/pdi/toolkits/crusher/crusher312/lib/AIX_4.2.1 -lcrusher
> ld: 0711-327 WARNING: Entry point not found: __start
> ld: 0711-244 ERROR: No csects or exported symbols have been saved.
> 
> Any suggestions would be appreciated.
> 
> Dr. Jeff Talbert
> jat at iti-oh.com

Instead of ld -G, use the ld wrapper ld_so_aix. See Misc/AIX-NOTES in
the distribution for more details.

-- 
       Vladimir MARANGOZOV          | Vladimir.Marangozov at inrialpes.fr
http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252




More information about the Python-list mailing list