Yes, I have substitued -fPIC. but i have another error:

gcc -c   -xO3 -xdepend     -DVERSION=\"1.18\"  -DXS_VERSION=\"1.18\" -fPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS Perl.c
gcc: language depend not recognized
gcc: Perl.c: linker input file unused since linking not done
/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.18\"  -DXS_VERSION=\"1.18\" -fPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS DBI.c
gcc: language depend not recognized
gcc: DBI.c: linker input file unused since linking not done
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/arch/auto/DBI/DBI.so  -G DBI.o
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBI/DBI.so'

Do you known about this error?

jingyuan.

Andrew Crum wrote:

> Yes.
> gcc does not understand -KPIC. For gcc, substitute -fPIC.
> Look for it in the Makefile.PL or possibly in the Makefile generated by
> 'make Makefile.PL'.
>
> At 03:55 PM 6/21/2002 +0200, you wrote:
> >Hallo,
> >I have tried  to install the Mysql module. By the instruction of
> >http://www.mysql.com/doc/P/e/Perl_installation.html I have a problem in
> >the 3 step:make!!!(I
> >have the sun solaris 8 system.)
> >I have following errors:gcc -c   -xO3 -xdepend     -DVERSION=\"2.101\"
> >-DXS_VERSION=\"2.101\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
> >Dumper.c
> >gcc: unrecognized option `-KPIC'
> >gcc: language depend not recognized
> >gcc: Dumper.c: linker input file unused since linking not done
> >LD_RUN_PATH="" gcc -o blib/arch/auto/Data/Dumper/Dumper.so  -G Dumper.o
> >gcc: Dumper.o: No such file or directory
> >gcc: No input files
> >*** Error code 1
> >make: Fatal error: Command failed for target
> >`blib/arch/auto/Data/Dumper/Dumper.so'
> >I can't understand option `-KPIC'.
> >Can anybody help me?
> >
> >jingyuan.
> >
> >--
> >Sitz: Unter den Linden 6, Raum 1054d
> >Telefon:+49 (030) 2093-2667
> >E-Mail:[EMAIL PROTECTED]
> >Postanschrift:Humboldt-Universit�t zu Berlin
> >               ZE Rechenzentrum
> >               Unter den Linden 6
> >               10099 Berlin
> >Aufgabengebiet(e):xml Portal,OAI

--
Sitz: Unter den Linden 6, Raum 1054d
Telefon:+49 (030) 2093-2667
E-Mail:[EMAIL PROTECTED]
Postanschrift:Humboldt-Universit�t zu Berlin
              ZE Rechenzentrum
              Unter den Linden 6
              10099 Berlin
Aufgabengebiet(e):xml Portal,OAI


Reply via email to