develooper Front page | perl.perl5.porters | Postings from March 2003

[perl #21555] Trouble compiling Perl 5.8.0 on Irix 6.2

From:
perlbug-followup
Date:
March 12, 2003 13:30
Subject:
[perl #21555] Trouble compiling Perl 5.8.0 on Irix 6.2
Message ID:
rt-21555-53597.15.7874152434938@bugs6.perl.org
# New Ticket Created by  kent.saic@nrlmry.navy.mil 
# Please include the string:  [perl #21555]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=21555 >



This is a bug report for perl from kent.saic@nrlmry.navy.mil,
generated with the help of perlbug 1.14 running under perl 5.00311.

[Please enter your report here]

Compiling using gcc3.2.2.  
>setenv SGI_ABI -n32
>sh Configure -Dcc=gcc -Dprefix=$HOME/perl

Configure seemed to work fine.
But when I typed >make compilation stopped with the following error:

make[2]: Entering directory `/users_hadley/webuser/src/perl-5.8.0/ext/B/C'
../../../miniperl "-I../../../lib" "-I../../../lib" ../../../lib/ExtUtils/xsubpp  -typemap ../../../lib/ExtUtils/typemap  C.xs > C.xsc && mv C.xsc C.c
gcc -c   -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE -mabi=64 -fno-strict-aliasing -DLANGUAGE_C -O3   -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -fpic "-I../../.."   C.c
Running Mkbootstrap for B::C ()
chmod 644 C.bs
rm -f ../../../lib/auto/B/C/C.so
LD_RUN_PATH="" gcc  -mabi=64 -L/usr/lib64 -L/usr/local/lib C.o  -o ../../../lib/auto/B/C/C.so     
ld: ERROR 33: Unresolved text symbol "main" -- 1st referenced by /usr/lib64/mips3/crt1.o.
ld: ERROR 33: Unresolved text symbol "Perl_get_hv" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_newSViv" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "PL_sig_pending" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "PL_op" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_sv_free" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "PL_tainted" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_safesysmalloc" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_sv_setiv" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_sv_setref_iv" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_hv_store_ent" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_despatch_signals" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "PL_markstack_ptr" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "PL_stack_base" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "PL_stack_sp" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "PL_sv_yes" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "PL_runops" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_croak" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_sv_2pv_flags" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_form" -- 1st referenced by C.o.
ld: ERROR 33: Unresolved text symbol "Perl_get_sv" -- 1st referenced by C.o.
ld: INFO 60: Output file removed because of error.
collect2: ld returned 2 exit status
make[2]: *** [../../../lib/auto/B/C/C.so] Error 1
make[2]: Leaving directory `/users_hadley/webuser/src/perl-5.8.0/ext/B/C'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/users_hadley/webuser/src/perl-5.8.0/ext/B'
make: *** [lib/auto/B/B.so] Error 2




dley 279% ./myconfig
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=irix, osvers=6.2, archname=IP25-irix
    uname='irix64 hadley 6.2 03131016 ip25 '
    config_args='-Dcc=gcc -Dprefix=/users/webuser/perl -des'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE -mabi=64 -fno-strict-aliasing -DLANGUAGE_C',
    optimize='-O3',
    cppflags='-D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE -mabi=64 -fno-strict-aliasing -DLANGUAGE_C -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE -mabi=64 -fno-strict-aliasing -DLANGUAGE_C -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE -mabi=64 -fno-strict-aliasing -DLANGUAGE_C -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE -mabi=64 -fno-strict-aliasing -DLANGUAGE_C -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE -mabi=64 -fno-strict-aliasing -DLANGUAGE_C'
    ccversion='', gccversion='3.2.2', gccosandvers='irix6.2'
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -mabi=64 -L/usr/lib64 -Wl,-woff,84 -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lm -lc
    perllibs=-lm -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fpic', lddlflags=' -mabi=64 -L/usr/lib64 -L/usr/local/lib'




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About