Python 2.1a2 compile problems

Andrew Kuchling akuchlin at mems-exchange.org
Tue Feb 6 15:56:02 EST 2001


sgriggs at pobox.com writes:
> Here's a small amount of the output. I've also tried to compile on 2.6
> and 2.7 with no luck.
> 
> building 'sunaudiodev' extension
> skipping /var/tmp/Python-2.1a2/Modules/sunaudiodev.c
> (build/temp.solaris-2.8-sun4u-2.1/sunaudiodev.o up-to-date)
> gcc -shared build/temp.solaris-2.8-sun4u-2.1/sunaudiodev.o
> -L/usr/local/lib -o build/lib.solaris-2.8-sun4u-2.1/sunaudiodev.so
> Text relocation remains                         referenced
>     against symbol                  offset      in file
> <unknown>                           0x174
> build/temp.solaris-2.8-sun4u-2.1/sunaudiodev.o
> <unknown>                           0x17c
> build/temp.solaris-2.8-sun4u-2.1/sunaudiodev.o

Confirmed.  This isn't specific to the sunaudiodev module; the struct
module doesn't compile for me for similar problems.  The errors are
triggered by the gcc -shared invocation, like this:

gcc -shared build/temp.solaris-2.6-sun4u-2.1/sunaudiodev.o -L/usr/local/lib -o build/lib.solaris-2.6-sun4u-2.1/sunaudiodev.so

Did some compiler argument change?

--amk



More information about the Python-list mailing list