pingouin osmolateur on Wed, 05 Oct 2005 15:00:38 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
gp.h:23: error: parse error before "filtre_t" |
Hello I try to compil Math::Pari on a solaris 8 sparc but I have somme error with the file Pari.xs. Can some body help me My perl = perl -V Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos localhost 5.8 sun4u sparc sunw,ultra-1 ' hint=previous, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='-xO3 -xdepend', gccversion= cppflags='' ccflags ='' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='' libpth=/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc -lcrypt libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.00503/sun4-solaris/CORE' cccdlflags='-KPIC', lddlflags='-G' Characteristics of this binary (from libperl): Built under solaris Compiled at Dec 22 1999 00:00:57 @INC: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 My gcc gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.3.2 The error when i do a make /.cpan/build/Math-Pari-2.010604> make cd libPARI && make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX="/usr" OPTIMIZE="-xc" make[1]: Entering directory `/.cpan/build/Math-Pari-2.010604/libPARI' make[1]: Nothing to be done for `makemakerdflt'. make[1]: Leaving directory `/.cpan/build/Math-Pari-2.010604/libPARI' make[1]: Entering directory `/.cpan/build/Math-Pari-2.010604/libPARI' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/.cpan/build/Math-Pari-2.010604/libPARI' gcc -c -I ../../../pari/src -I../../../pari/src/headers -I../../../pari/src -I./libPARI -xc -DVERSION=\"2.010604\" -DXS_VERSION=\"2.010604\" -fPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DPARI_VERSION_EXP=2002011 -DDEBUG_PARI -DLSB_in_U32=3 -Derr=pari_err Pari.c In file included from ../../../pari/src/headers/paricom.h:87, from ../../../pari/src/headers/pari.h:71, from Pari.xs:2: ../../../pari/src/headers/pariold.h:22:1: warning: "ladd" redefined Pari.xs:1:1: warning: this is the location of the previous definition In file included from Pari.xs:4: ../../../pari/src/gp/gp.h:23: error: parse error before "filtre_t" ../../../pari/src/gp/gp.h:24: error: parse error before "gp_data" Pari.xs: In function `installep': Pari.xs:278: warning: initialization makes pointer from integer without a cast Pari.xs: In function `my_gpui': Pari.xs:310: error: `prec' undeclared (first use in this function) Pari.xs:310: error: (Each undeclared identifier is reported only once Pari.xs:310: error: for each function it appears in.) Pari.xs: In function `svputs': Pari.xs:561: warning: passing arg 2 of `Perl_sv_catpv' discards qualifiers from pointer target type Pari.xs: In function `svErrputs': Pari.xs:574: warning: passing arg 2 of `Perl_sv_catpv' discards qualifiers from pointer target type Pari.xs: In function `setprecision': Pari.xs:847: error: `prec' undeclared (first use in this function) Pari.xs: In function `fill_argvect': Pari.xs:1341: error: `prec' undeclared (first use in this function) Pari.xs: In function `XS_Math__Pari_interface0': Pari.xs:1811: error: `prec' undeclared (first use in this function) Pari.xs: In function `XS_Math__Pari_interface1': Pari.xs:1844: error: `prec' undeclared (first use in this function) Pari.xs: In function `XS_Math__Pari_interface199': Pari.xs:1867: error: `prec' undeclared (first use in this function) Pari.xs: In function `XS_Math__Pari_interface29': Pari.xs:2088: error: `prec' undeclared (first use in this function) Pari.xs: In function `XS_Math__Pari_interface5': Pari.xs:2168: error: `prec' undeclared (first use in this function) Pari.xs: In function `XS_Math__Pari_interface27': Pari.xs:2387: error: `prec' undeclared (first use in this function) Pari.xs: In function `XS_Math__Pari_interface33': Pari.xs:2504: error: `prec' undeclared (first use in this function) Pari.xs: In function `XS_Math__Pari_interface37': Pari.xs:2559: error: `prec' undeclared (first use in this function) Pari.xs: In function `XS_Math__Pari_interface73': Pari.xs:2794: error: `prec' undeclared (first use in this function) Pari.c: In function `XS_Math__Pari_type_name': Pari.c:4818: warning: assignment discards qualifiers from pointer target type make: *** [Pari.o] Error 1 Here is the repertory with the last cvs lib pari proouessantp1:root# cd pari nproouessantp1:root# ls AUTHORS CVS.txt Osolaris-sparcv9 doc Announce.2.0.alpha Configure README emacs Announce.2.0.beta INSTALL README.DOS examples Announce.2.1 MACHINES README.WIN misc CHANGES Makefile README.os2 src COMPAT NEW TODO COPYING Odos config thanks for yours answers ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com