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

[ID 20000324.015] Compiler undefined reference to `boot_DynaLoader'

From:
Simon Cozens
Date:
March 24, 2000 04:22
Subject:
[ID 20000324.015] Compiler undefined reference to `boot_DynaLoader'
Message ID:
20000324122157.16616.qmail@othersideofthe.earth.li
This is a bug report for perl from simon@othersideofthe.earth.li,
generated with the help of perlbug 1.28 running under perl v5.6.0.


-----------------------------------------------------------------
[Please enter your report here]

The compiler doesn't:

othersideofthe:simon ~ % perlcc -o thingy -e 'print "Hello world\n"'

--------------------------------------------------------------------------------Compiling comp16077.p:
--------------------------------------------------------------------------------Making C(comp16077.p.c) for comp16077.p!
perl -I/usr/local/lib/perl5/5.6.0/i686-linux-thread-64int -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/i686-linux-thread-64int -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl/5.5.670 -I/usr/local/lib/perl5/site_perl -I. -MB::Stash -c  comp16077.p
perl -I/usr/local/lib/perl5/5.6.0/i686-linux-thread-64int -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/i686-linux-thread-64int -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl/5.5.670 -I/usr/local/lib/perl5/site_perl -I. -MO=C,-umain,-uattributes,-uDB comp16077.p
Starting compile
Walking tree
Prescan
Saving methods
Bootstrap attributes comp16077.p
Writing output
Loaded B
Loaded IO
Loaded Fcntl
comp16077.p syntax OK
Compiling C(thingy) for comp16077.p!
perl -I/usr/local/lib/perl5/5.6.0/i686-linux-thread-64int -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/i686-linux-thread-64int -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl/5.5.670 -I/usr/local/lib/perl5/site_perl -I. /tmp/comp16077.p.tst
cc -D_REENTRANT -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/local/lib/perl5/5.6.0/i686-linux-thread-64int/CORE
-o thingy comp16077.p.c   -L/usr/local/lib -L/usr/local/lib/perl5/5.6.0/i686-linux-thread-64int/CORE -lperl -lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt /usr/local/lib/perl5/5.6.0/i686-linux-thread-64int/auto/IO/IO.so /usr/local/lib/perl5/5.6.0/i686-linux-thread-64int/auto/Fcntl/Fcntl.so
/tmp/ccRuSd30.o: In function `xs_init':
/tmp/ccRuSd30.o(.text+0x38c6): undefined reference to `boot_DynaLoader'
collect2: ld returned 1 exit status
ERROR: In compiling code for comp16077.p.c !


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl v5.6.0:

Configured by simon at Thu Mar 23 21:25:26 JST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.14, archname=i686-linux-thread-64int
    uname='linux othersideofthe.earth.li 2.2.14 #3 smp mon mar 13 02:10:19 jst 2000 i686 unknown '
    config_args='-Dusethreads -Duse5005threads -Dusemorebits -d'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=define useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=define use64bitall=undef uselongdouble=define usesocks=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=2.95.2 20000220 (Debian GNU/Linux)
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include'
    ccflags ='-D_REENTRANT -fno-strict-aliasing -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=12
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt
    libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl v5.6.0:
    /usr/local/lib/perl5/5.6.0/i686-linux-thread-64int
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/i686-linux-thread-64int
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl/5.5.670
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl v5.6.0:
    HOME=/home/simon
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/simon/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/rhs/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/kde/bin:/home/simon/bin
    PERL_BADLANG (unset)
    SHELL=/bin/zsh



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