[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems with shared lib (-fPIC)



Hi.

I'm having problems compiling a shared python extention, because lintian
keeps complaining about foo.so not being compiled with the -fPIC option, but
IT IS, as you can see from the output:

--- cut ---

Making all in compiled
make[3]: Entering directory /home/digito/debian/devel/pybliographer/pybliographer/compiled'
gcc -fPIC -I/home/digito/debian/devel/pybliographer/pybliographer/./compiled/../bibtex -I/usr/lib/glib/include -I.. -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c /home/digito/debian/devel/pybliographer/pybliographer/./compiled/bibtexmodule.c
gcc -shared -lc  bibtexmodule.o  ../bibtex/.libs/libbibtex.a -L/usr/lib -lglib -lrecode -o _bibtexmodule.so
gcc -fPIC  -I.. -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c /home/digito/debian/devel/pybliographer/pybliographer/./compiled/recodemodule.c
gcc -shared -lc  recodemodule.o  -lrecode -o _recodemodule.so
make[3]: Leaving directory /home/digito/debian/devel/pybliographer/pybliographer/compiled'

--- cut ---

Is this a bug in lintian, or am I doing something wrong?

-- 
Pedro Guerreiro						 UIN: 48533103
Universidade do Algarve (EST) - Campus da Penha - 8000 Faro - PORTUGAL
GPG: 0xCF32D4E7    F506 DDF4 0B92 247D B8E6   13BA A6DB 9E3A CF32 D4E7



Reply to: