> Bianca Taylor wrote: > > So at this point, I am confident that I compile Perl with -fPIC. I read > > all the ducumentation you pointed me to and that I could find, but it > > keeps coming back to the same error. > > On Wednesday 17 September 2008 12:08, William A. Rowe, Jr. wrote: > You aren't... please review your shared cc flags from perl. The flag you > looked at was not a shlib cflag, but a program cflag.
Here the whole snip for attrs.c whilst 'make' "cc -c -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\" -fPIC "-I../.." attrs.c Running Mkbootstrap for attrs () chmod 644 attrs.bs rm -f ../../lib/auto/attrs/attrs.so cc -shared -L/usr/local/lib attrs.o -o ../../lib/auto/attrs/attrs.so \ \ chmod 755 ../../lib/auto/attrs/attrs.so cp attrs.bs ../../lib/auto/attrs/attrs.bs chmod 644 ../../lib/auto/attrs/attrs.bs make[1]: Leaving directory `/home/unisolve/perl-5.8.8/ext/attrs' " ok, so how do I do it? where do I go wrong? Thanks again