[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
[perl #59332] Perl 5.10 make problems - math.h references
# New Ticket Created by Nathan Reed
# Please include the string: [perl #59332]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59332 >
To whom it may concern,
After running the Configure step and verifying that the
config.sh file had the appropriate information for the make step, I
ran the make step. I am getting the following error:
************
.
.
.
`sh cflags "optimize='-O'" pp_sort.o` pp_sort.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/local/BerkeleyDB.4.2/include
-I/usr/local/mysql/include -I/usr/local/ssl/include/openssl
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -O -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels
`sh cflags "optimize='-O'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/local/BerkeleyDB.4.2/include
-I/usr/local/mysql/include -I/usr/local/ssl/include/openssl
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -O -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels
gcc -L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib -o miniperl \
`echo gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o
mg.o reentr.o mro.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o
pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o
universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o
mathoms.o locale.o pp_pack.o pp_sort.o | sed 's/ op.o / /'` \
miniperlmain.o opmini.o
Undefined first referenced
symbol in file
cos pp.o
exp pp.o
log pp.o
pow pp.o
sin pp.o
ceil pp.o
fmod pp.o
sqrt pp.o
atan2 pp.o
floor pp.o
ld: fatal: Symbol referencing errors. No output written to miniperl
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `miniperl'
#
****
I have checked that /usr/include does have the math.h include file
and that the /usr/lib directory has appropriate lib files. I see
that config.h, perl.h, and uconfig.h all manipulate the referenced
functions based upon some IFDEF's and UNDEF's.
Here is the output of ./myconfig.sh:
****
# ./myconfig
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris
uname='sunos jordi 5.10 generic_127111-09 sun4v sparc
sunw,sparc-enterprise-t5120 solaris '
config_args='-Dprefix=/usr/local/perl5 -Dcc=gcc
-Dlocincpth=/usr/local/include /usr/local/mysql/include
/usr/local/ssl/include/openssl'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/local/mysql/include
-I/usr/local/ssl/include/openssl -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV',
optimize='-O',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include
-I/usr/local/mysql/include -I/usr/local/ssl/include/openssl'
ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags ='-L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib '
libpth=/usr/local/lib /usr/ccs/lib
libs=-lgdbm
perllibs=
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib'
#
******************
There must be some missing library reference or an ordering issue
with the libraries and define statements, but there is nothing that stands out.
Please advise.
Nathan K. Reed
Programmer/Analyst
Supervisor of Records group
University of California, Irvine
Office of Admissions and Relations with Schools
(949) 824-9631
- Follow-Ups from:
-
"H.Merijn Brand" <h.m.brand@xs4all.nl>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]