Subject: | Build failure under Solaris |
Processing hints file hints/solaris.pl
Writing Makefile for HTML::Parser
cc -c -D_REENTRANT -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"3.49\" -DXS_VERSION=\"3.49\"
-KPIC
-I/home/jhedden/local/lib/perl5/5.6.0/sun4-solaris-thread-multi-64int/CORE
-DMARKED_SECTION Parser.c
"./hparser.c", line 145: syntax error before or at: offset
"./hparser.c", line 197: undefined symbol: line
"./hparser.c", line 298: undefined symbol: offset
"./hparser.c", line 300: undefined symbol: column
"./hparser.c", line 556: undefined symbol: offset
"./hparser.c", line 572: undefined symbol: column
"Parser.c", line 321: cannot recover from previous errors
cc: acomp failed for Parser.c
make: *** [Parser.o] Error 2
ERROR: 'make' failed for module HTML-Parser-3.49
Show quoted text
> uname -a
SunOS sundev3 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire
Show quoted text> perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi-64int
uname='sunos sundev3 5.9 generic_112233-12 sun4u sparc sunw,sun-fire '
config_args='-de -Dprefix=/home/jhedden/local
-Dcf_email=jhedden[at]bloomberg.net -Dperladmin=jhedden[at]bloomberg.net
-Dusethreads=yes -Duse64bitint=yes -Dusedevel=yes'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=define use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-D_REENTRANT -I/usr/local/include'
ccflags ='-D_REENTRANT -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
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
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib -L/opt/SUNWspro/WS6U1/lib '
libpth=/usr/local/lib /opt/SUNWspro/WS6U1/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldl -lm -lposix4 -lpthread -lc -lcrypt -lsec
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib
-L/opt/SUNWspro/WS6U1/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under solaris
Compiled at Feb 9 2006 09:21:37
%ENV:
PERLIO="perlio"
@INC:
/home/jhedden/local/lib/perl5/5.6.0/sun4-solaris-thread-multi-64int
/home/jhedden/local/lib/perl5/5.6.0
/home/jhedden/local/lib/perl5/site_perl/5.6.0/sun4-solaris-thread-multi-64int
/home/jhedden/local/lib/perl5/site_perl/5.6.0
/home/jhedden/local/lib/perl5/site_perl
.