Subject: | can not compile: "no inlining without -O" |
# perl Makefile.PL
Setting up Math::Pari with Perl 5.009002 on solaris version 2.8;
cc=cc, gccversion=3.3.6, ccflags='-fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUGGING',
ld=cc, ldflags=' -L/usr/local/lib -L/opt/local/lib ', optimize='-g'.
Found GP/PARI build directory in ./pari-2.1.6
(integer-formatted version 2001006).
...Generating libPARI/paricfg.h ...
Scanning header files...
...ulong
...getrusage
Creating libPARI/paricfg.h...
...Processor of family `sparcv7' detected
Problems with numeric interface codes noted:
May be harmless: non-unique string interfaces for numeric interfaces:
29 meaning "GGp GG GGD0,L,p"
(appears for agm, besseljh, bnrconductorofchar, ellheightmatrix, ellordinate, ellpointtoz, ellztopoint, idealprimedec, ideleprincipal, incgamc, qfbprimeform, rnfconductor, rnfinit, rnfpolred, theta)
Possible problems with Math::Pari interface to GP/PARI:
unexpected value of string interfaces for numeric interfaces:
29 meaning "GGp GG GGD0,L,p" (was meaning "GGp" in 2.1.3)
(may affect functions idealprimedec, rnfconductor)
...Processor of family `sparcv7' detected
...I will use assembler build of type 'sparcv7'.
...Assembler is GNU assembler
Writing Makefile for Math::PARI::libPARI
Writing Makefile for Math::Pari
# make
cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-g" PREFIX="/usr/local" PASTHRU_DEFINE="" PASTHRU_INC=""
make[1]: Entering directory `/disk1/src/PERL/.cpanplus/5.9.2/build/Math-Pari-2.010603/libPARI'
cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph -I. -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUGGING -g -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o es.o .././pari-2.1.6/src/language/es.c
In file included from ../pari-2.1.6/src/headers/pari.h:69,
from ../pari-2.1.6/src/language/es.c:21:
../pari-2.1.6/src/headers/parisys.h:52:10: #error "no inlining without -O. Put back -O or remove -DGCC_INLINE"
make[1]: *** [es.o] Error 1
make[1]: Leaving directory `/disk1/src/PERL/.cpanplus/5.9.2/build/Math-Pari-2.010603/libPARI'
make: *** [libPARI/libPARI.a] Error 2