Python 2.2.1 vs. gcc 3.1?

Skip Montanaro skip at
Fri Jun 7 18:42:19 CEST 2002

    Andrew> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/tmp/build-gnu913/Python-2.2.1/./Include -I/usr/local/include -IInclude/ -c /tmp/build-gnu913/Python-2.2.1/Modules/structmodule.c -o build/temp.solaris-2.8-sun4u-2.2/structmodule.o
    Andrew> creating build/lib.solaris-2.8-sun4u-2.2
    Andrew> gcc -shared build/temp.solaris-2.8-sun4u-2.2/structmodule.o -L/usr/local/lib -o build/lib.solaris-2.8-sun4u-2.2/
    Andrew> WARNING: removing "struct" since importing it failed

    Andrew> I do not believe that these problems happened with gcc 3.0
    Andrew> Any suggestions as to how to go about troubleshooting it?

My guess is you have a new file that needs to be introduced to the
system using the ldconfig command.  Try running ldd on the file
and see if it finds everything the file references.

Skip Montanaro (skip at -
Boycott Netflix - they spam -

More information about the Python-list mailing list