gcc does not know about 'KPIC' but a rough equivalent is 'fPIC'.
suggested remedy:
run 'make distclean'
if Makefile.PL contains 'KPIC' references, edit it now to change "KPIC"
to "fPIC".
run 'perl Makefile.PL'
if Makefile.PL did not contain 'KPIC' then edit 'Makefile' (or, if that
fails, whatever file DOES contain 'KPIC') to change 'KPIC' to 'fPIC'.
run 'make; make test; make install'
At 12:20 PM 4/25/2002 -0400, you wrote:
>cp Changes blib/lib/DBI/Changes.pm
>gcc -c -xO3 -xdepend -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -KPIC
>-I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS Perl.c
>gcc: unrecognized option `-KPIC'
>gcc: language depend not recognized
>gcc: Perl.c: linker input file unused because linking not done
>/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
>/usr/perl5/5.00503/ExtUtils/xsubpp -typemap
>/usr/perl5/5.00503/ExtUtils/typemap DBI.xs >xstmp.c && mv xstmp.c DBI.c
>gcc -c -xO3 -xdepend -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -KPIC
>-I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS DBI.c
>gcc: unrecognized option `-KPIC'
>gcc: language depend not recognized
>gcc: DBI.c: linker input file unused because linking not done
>LD_RUN_PATH="" gcc -o blib/arch/auto/DBI/DBI.so -G DBI.o
>gcc: DBI.o: No such file or directory
>gcc: No input files
>*** Error code 1
>make: Fatal error: Command failed for target `blib/arch/auto/DBI/DBI.so'