PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler beim kompilieren von Perl DBI-Modul



spike
24-07-2003, 09:31
Hi Folks,

ich versuche das DBI Modul aus dem cpan Archiv zum laufen zu bringen leider erhalte ich einen Fehler beim kompilieren. Hat von Euch jemand eine Idee?
DBI Version DBI-1.28
OS:AIX4.3



spike@local > make
gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -DPERL_POLLUTE -DNEED_PTHREAD_INIT -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.28\" -DXS_VERSION=\"1.28\" -I/usr/local/lib/perl5/5.6.1/aix-thread/CORE Perl.c
gcc: unrecognized option `-qmaxmem=16384'
gcc: unrecognized option `-q32'
gcc: unrecognized option `-qlonglong'
In file included from Perl.xs:1:
DBIXS.h:17: warning: `PERL_POLLUTE' redefined
*Initialization*:1: warning: this is the location of the previous definition
/usr/local/lib/perl-5.6.1/t/perl -I/usr/local/lib/perl5/5.6.1/aix-thread -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -DPERL_POLLUTE -DNEED_PTHREAD_INIT -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.28\" -DXS_VERSION=\"1.28\" -I/usr/local/lib/perl5/5.6.1/aix-thread/CORE DBI.c
gcc: unrecognized option `-qmaxmem=16384'
gcc: unrecognized option `-q32'
gcc: unrecognized option `-qlonglong'
In file included from DBI.xs:10:
DBIXS.h:17: warning: `PERL_POLLUTE' redefined
*Initialization*:1: warning: this is the location of the previous definition
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1282: `thr' undeclared (first use in this function)
DBI.xs:1282: (Each undeclared identifier is reported only once
DBI.xs:1282: for each function it appears in.)
make: 1254-004 The error code from the last command is 1.


Stop.