Getting "undefined sysmbol

From: btna (btna_at_terra.com)
Date: 02/08/05


Date: 8 Feb 2005 07:12:42 -0800

Hi all,

I am trying to get all my pre-requisies to install Net::SSH on an AIX
server and the last Math module I need is Mat::Pari. I downloaded
"pari-2.1.6" and di the following:
./Configure
make gp
make install

I noticed it wrote to /usr/local/lib/pari. Now, I did not get any error
messages so I don't know if I am missing something or not.
Then, I went back to Mat::Pari directory and do:

$>perl Makefile.PL
Setting up Math::Pari with Perl 5.006 on aix version 5.0.0.0;
   cc=cc, gccversion=, ccflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -
qmaxmem=16384 -q32 -D_LARGE_FILES -qlonglong',
   ld=ld, ldflags='-b32', optimize='-O'.
Found GP/PARI build directory in ./pari-2.1.6
     (integer-formatted version 2001006).
...Generating libPARI/paricfg.h ...
Scanning header files...
...ulong
...getrusage
...CLK_TCK not defined
Creating libPARI/paricfg.h...
...Processor of family `aix' 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,
ellordina
te, ellpointtoz, ellztopoint, idealprimedec, ideleprincipal, incgamc,
qfbprimefo
rm, 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)
Checking if your kit is complete...
Looks good
...Processor of family `aix' detected
#### Do not know how to build for assembler `aix'. ####
#### Reversing to assembler-less type `port'. ####
#### ####
#### If you think your processor's assembler is supported ####
#### by PARI, edit libPARI/Makefile.PL and report. ####
#### ####
#### Alternatively, specify machine=YOURTYPE on the ####
#### perl Makefile.PL line ####
#### Recognized types: ####
#### alpha hppa m86k none sparcv7 sparcv8 sparcv8_micro ####
#### sparcv8_super ix86 ####
...I will use portable assembler-less build
Writing Makefile for Math::PARI::libPARI
Writing Makefile for Math::Pari

When I do "make", I get: (Note: I temoved some of the "cc" lines to
make this post shorter)
# >make
mkdir blib
mkdir blib/lib
mkdir blib/lib/Math
cp libPARI.pod blib/lib/Math/libPARI.pod
cp PariInit.pm blib/lib/Math/PariInit.pm
cp Pari.pm blib/lib/Math/Pari.pm
cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod
        cd libPARI && make LIB="" LIBPERL_A="libperl.a"
LINKTYPE="dynamic" PREFI
X="/usr/opt/perl5" OPTIMIZE="-O"
        /usr/bin/perl -pe1 .././pari-2.1.6/src/kernel/none/level0.h
.././pari-2.
1.6/src/kernel/none/level1.h > pariinl.h
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o alglin2.o .././pari-2.1.6/src/basemath/alglin2.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o ifactor1.o .././pari-2.1.6/src/basemath/ifactor1.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o base2.o .././pari-2.1.6/src/basemath/base2.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o base3.o .././pari-2.1.6/src/basemath/base3.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o plotport.o .././pari-2.1.6/src/graph/plotport.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o buch3.o .././pari-2.1.6/src/basemath/buch3.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o bibli1.o .././pari-2.1.6/src/basemath/bibli1.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o buch4.o .././pari-2.1.6/src/basemath/buch4.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o bibli2.o .././pari-2.1.6/src/basemath/bibli2.c
               cc -c -I.././pari-2.1.6/src/headers
-I.././pari-2.1.6/src/graph -I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o nffactor.o .././pari-2.1.6/src/modules/nffactor.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o kummer.o .././pari-2.1.6/src/modules/kummer.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o sumiter.o .././pari-2.1.6/src/language/sumiter.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o plotgnuplot.o .././pari-2.1.6/src/graph/plotgnuplot.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o elliptic.o .././pari-2.1.6/src/modules/elliptic.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o subfield.o .././pari-2.1.6/src/modules/subfield.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o alglin1.o .././pari-2.1.6/src/basemath/alglin1.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o kernel.o .././pari-2.1.6/src/kernel/none/level0.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o mp.o .././pari-2.1.6/src/kernel/none/mp.c
        cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph
-I. -D_A
LL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -q
longlong -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
-Derr=pari_err -DDYN
AMIC_PLOTTING -o mpinl.o .././pari-2.1.6/src/kernel/none/level1.c
        rm -f libPARI.a
        ar cr libPARI.a alglin2.o gen1.o thue.o galois.o highlvl.o
subgroup.o g
en2.o gen3.o mpqs.o galconj.o trans1.o trans2.o compat.o trans3.o
base1.o ifacto
r1.o base2.o base3.o plotport.o base4.o base5.o buch1.o buch2.o buch3.o
bibli1.o
 buch4.o bibli2.o helpmsg.o init.o es.o rootpol.o anal.o errmsg.o
polarit1.o pol
arit2.o polarit3.o stark.o arith1.o arith2.o nffactor.o kummer.o
sumiter.o plotg
nuplot.o elliptic.o subfield.o alglin1.o kernel.o mp.o mpinl.o
        : libPARI.a
Target "makemakerdflt" is up to date.
        /usr/bin/perl "-I/usr/opt/perl5/lib/5.6.0/aix"
"-I/usr/opt/perl5/lib/5.6
.0" -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "Math::Pari",
"DL_FUNCS"
 => { }, "FUNCLIST" => [], "DL_VARS" => []);'
        /usr/bin/perl -I/usr/opt/perl5/lib/5.6.0/aix
-I/usr/opt/perl5/lib/5.6.0
/usr/opt/perl5/lib/5.6.0/ExtUtils/xsubpp -typemap
/usr/opt/perl5/lib/5.6.0/ExtU
tils/typemap -typemap typemap Pari.xs > Pari.xsc && mv Pari.xsc Pari.c
        cc -c -I./pari-2.1.6/src/headers -I./pari-2.1.6/src -I./libPARI
-D_ALL_S
OURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32
-D_LARGE_FILES -qlong
long -O -DVERSION=\"2.010603\" -DXS_VERSION=\"2.010603\"
-I/usr/opt/perl5
/lib/5.6.0/aix/CORE -DPARI_VERSION_EXP=2001006 -DDEBUG_PARI
-DLSB_in_U32=3 -Derr
=pari_err Pari.c
"Pari.xs", line 911.5: 1506-010 (W) Macro setSVpari_or_do invoked with
a null ar
gument for parameter action.
"Pari.xs", line 911.5: 1506-010 (W) Macro morphSVpari invoked with a
null argume
nt for parameter action.
"Pari.xs", line 952.3: 1506-010 (W) Macro setSVpari_or_do invoked with
a null ar
gument for parameter action.
"Pari.xs", line 952.3: 1506-010 (W) Macro morphSVpari invoked with a
null argume
nt for parameter action.
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Math
mkdir blib/arch/auto/Math/Pari
Running Mkbootstrap for Math::Pari ()
        chmod 644 Pari.bs
        LD_RUN_PATH="/lib" ld -o blib/arch/auto/Math/Pari/Pari.so
-bhalt:4 -bM:
SRE -bI:/usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp -bE:Pari.exp -b
noentry -lC -
lc Pari.o libPARI/libPARI.a -lm
ld: 0711-317 ERROR: Undefined symbol: .PERL_UNUSED_VAR
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 8.

Stop.
$ >

Any ideas what I am missing?

Thanks in advance,

BTNA



Relevant Pages

  • Have issues trying to compile Math::Pari on AIX......Please help!
    ... I am a newbie at installing these Perl modules and I am having trouble ... not get anyy errors: I did: ./Configure, make gp, make install and I ... gument for parameter action. ...
    (comp.lang.perl.misc)
  • Re: install software
    ... which comes with AIX 5.2 ML02 Install CD's. ... > such knowledge was acquired when a developer was reading his/her AIX ... LPP packaging excited me when I looked into it, ... > alternative means of communication. ...
    (AIX-L)
  • Re: FAXing from SCO Unix 5.0.6
    ... ActiveFax does full incoming and outgoing fax as well as fax on demand ... as easily can end as Linux or UNIX box. ... I can't say as the last time I tried to install it on my system to see ... AIX 4.3 as their company's primary application box. ...
    (comp.unix.sco.misc)
  • Re: Is there something wrong with my small program or is there something wrong with the shell
    ... > The AIX in Intel was about the most painful install I ever went ... Given the state of storage technology for ps/2's and other intel ... actually write the code for intel AIX; they contracted it out and did ... I Bring Manuals. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Defunct GT4e 2766 video card. (Sticker 1-8) FRU51g8022
    ... and low and behold AIX automatically finds drivers and the monitor springs into life. ... is no graphics adaptor recognized by the installation system, because there was no such beast during install. ... Next AIX will estimate the needed free space in the filesystems and automatically increase them. ... At least if there is enough free disk space available to the volume group "rootvg". ...
    (comp.sys.ibm.ps2.hardware)