Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.94k stars 554 forks source link

compilation problem #3120

Closed p5pRT closed 14 years ago

p5pRT commented 23 years ago

Migrated from rt.perl.org#5174 (status was 'resolved')

Searchable as RT5174$

p5pRT commented 23 years ago

From Denis.Pugnere@igh.cnrs.fr

Here is the session : % perlcc presage.pl


Compiling presage.pl​:


Making C(presage.pl.c) for presage.pl! /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/IP25-irix -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/IP25-irix -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I. -MB​::Stash -c presage.pl /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/IP25-irix -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/IP25-irix -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I. -MO=C\,-umain\,-uExporter\,-uExporter​::Heavy\,-ustrict\,-uattributes\,-uGetopt\,-uGetopt​::Long\,-uGetopt​::Long​::Parser\,-uGetopt​::Long​::SUPER\,-uText\,-uText​::ParseWords\,-uAutoLoader\,-uDB\,-uwarnings\,-uwarnings​::register\,-uvars\,-uCarp\,-uCarp​::Heavy\,-uFile\,-uFile​::Glob presage.pl Starting compile Walking tree No definition for sub Getopt​::Long​::GetOptions No definition for sub Getopt​::Long​::GetOptions (unable to autoload) Exporter saved (it is in Getopt​::Long's @​ISA) AutoLoader saved (it is in File​::Glob's @​ISA) Prescan Saving methods Bootstrap attributes presage.pl No definition for sub Getopt​::Long​::Croak No definition for sub Getopt​::Long​::Croak (unable to autoload) No definition for sub Getopt​::Long​::config No definition for sub Getopt​::Long​::config (unable to autoload) No definition for sub Getopt​::Long​::FindOption No definition for sub Getopt​::Long​::FindOption (unable to autoload) Bootstrap File​::Glob /usr/local/lib/perl5/5.6.0/IP25-irix/XSLoader.pm Writing output Loaded B Loaded IO Loaded Fcntl Loaded File​::Glob bootstrapping File​::Glob added to xs_init presage.pl syntax OK Compiling C(presage) for presage.pl! /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/IP25-irix -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/IP25-irix -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I. /tmp/presage.pl.tst cc -n32 -D_BSD_TYPES -D_BSD_TIME -woff 1009\,1110\,1174\,1184\,1552 -OPT​:Olimit=0​:space=ON -I/usr/local/include -DLANGUAGE_C -I/usr/local/lib/perl5/5.6.0/IP25-irix/CORE -o presage presage.pl.c -L/usr/local/lib32 -L/usr/local/lib -Wl\,-woff\,84 -L/usr/local/lib/perl5/5.6.0/IP25-irix/CORE -lperl -ldb -lm -lc /usr/local/lib/perl5/5.6.0/IP25-irix/auto/File/Glob/Glob.so /usr/local/lib/perl5/5.6.0/IP25-irix/auto/IO/IO.so /usr/local/lib/perl5/5.6.0/IP25-irix/auto/Fcntl/Fcntl.so ld32​: ERROR 33 : Unresolved text symbol "boot_DynaLoader" -- 1st referenced by presage.pl.o.   Use linker option -v to see when and which objects\, archives and dsos are loaded.
ld32​: INFO 152​: Output file removed because of error. ERROR​: In compiling code for presage.pl.c ! %


My config : Irix 6.5.10

denis@​crystal​:\~/tmp/tmp/perl-5.6.0 % myconfig Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration​:   Platform​:   osname=irix\, osvers=6.5\, archname=IP25-irix   uname='irix64 crystal 6.5 10120105 ip25 '   config_args='-des'   hint=recommended\, useposix=true\, d_sigaction=define   usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef   useperlio=undef d_sfio=undef uselargefiles=define   use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef   Compiler​:   cc='cc -n32'\, optimize='-O3'\, gccversion=   cppflags='-D_BSD_TYPES -D_BSD_TIME -OPT​:Olimit=0​:space=ON -I/usr/local/include -DLANGUAGE_C'   ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff 1009\,1110\,1174\,1184\,1552 -OPT​:Olimit=0​:space=ON -I/usr/local/include -DLANGUAGE_C'   stdchar='unsigned 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'\, ivsize=4\, nvtype='double'\, nvsize=8\, Off_t='off_t'\, lseeksize=8   alignbytes=8\, usemymalloc=n\, prototype=define   Linker and Libraries​:   ld='cc -n32'\, ldflags =' -L/usr/local/lib32 -L/usr/local/lib -Wl\,-woff\,84'   libpth=/usr/local/lib /usr/lib32 /lib32 /lib /usr/lib   libs=-ldb -lm -lc   libc=/usr/lib32/libc.so\, so=so\, useshrplib=false\, libperl=libperl.a   Dynamic Linking​:   dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags=' '   cccdlflags=' '\, lddlflags='-n32 -shared -L/usr/local/lib32 -L/usr/local/lib'

-- I hope this helps Best regards

Denis Pugnère


Denis.Pugnere@​igh.cnrs.fr | IGH/CNRS UPR 1142\, 141 Rue de la Cardonille Tel : +33 (0)4 9961.9909 | 34396 Montpellier Cedex 5\, France Fax : +33 (0)4 9961.9901 | http​://www.igh.cnrs.fr

p5pRT commented 21 years ago

From @ask

[Denis.Pugnere@​igh.cnrs.fr - Thu Jan 11 22​:46​:03 2001]​:

Hi Denis\,

if possible please retry this with 5.6.1 and/or 5.8.0.

- ask

Here is the session : % perlcc presage.pl


Compiling presage.pl​:


Making C(presage.pl.c) for presage.pl! /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/IP25-irix -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/IP25-irix -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I. -MB​::Stash -c presage.pl /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/IP25-irix -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/IP25-irix -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I.

-MO=C\,-umain\,-uExporter\,-uExporter​::Heavy\,-ustrict\,-uattributes\,-uGetopt\,-uGetopt​::Long\,-uGetopt​::Long​::Parser\,-uGetopt​::Long​::SUPER\,-uText\,-uText​::ParseWords\,-uAutoLoader\,-uDB\,-uwarnings\,-uwarnings​::register\,-uvars\,-uCarp\,-uCarp​::Heavy\,-uFile\,-uFile​::Glob presage.pl Starting compile Walking tree No definition for sub Getopt​::Long​::GetOptions No definition for sub Getopt​::Long​::GetOptions (unable to autoload) Exporter saved (it is in Getopt​::Long's @​ISA) AutoLoader saved (it is in File​::Glob's @​ISA) Prescan Saving methods Bootstrap attributes presage.pl No definition for sub Getopt​::Long​::Croak No definition for sub Getopt​::Long​::Croak (unable to autoload) No definition for sub Getopt​::Long​::config No definition for sub Getopt​::Long​::config (unable to autoload) No definition for sub Getopt​::Long​::FindOption No definition for sub Getopt​::Long​::FindOption (unable to autoload) Bootstrap File​::Glob /usr/local/lib/perl5/5.6.0/IP25-irix/XSLoader.pm Writing output Loaded B Loaded IO Loaded Fcntl Loaded File​::Glob bootstrapping File​::Glob added to xs_init presage.pl syntax OK Compiling C(presage) for presage.pl! /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/IP25-irix -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/IP25-irix -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I. /tmp/presage.pl.tst cc -n32 -D_BSD_TYPES -D_BSD_TIME -woff 1009\,1110\,1174\,1184\,1552 -OPT​:Olimit=0​:space=ON -I/usr/local/include -DLANGUAGE_C -I/usr/local/lib/perl5/5.6.0/IP25-irix/CORE -o presage presage.pl.c -L/usr/local/lib32 -L/usr/local/lib -Wl\,-woff\,84 -L/usr/local/lib/perl5/5.6.0/IP25-irix/CORE -lperl -ldb -lm -lc /usr/local/lib/perl5/5.6.0/IP25-irix/auto/File/Glob/Glob.so /usr/local/lib/perl5/5.6.0/IP25-irix/auto/IO/IO.so /usr/local/lib/perl5/5.6.0/IP25-irix/auto/Fcntl/Fcntl.so ld32​: ERROR 33 : Unresolved text symbol "boot_DynaLoader" -- 1st referenced by presage.pl.o. Use linker option -v to see when and which objects\, archives and dsos are loaded. ld32​: INFO 152​: Output file removed because of error. ERROR​: In compiling code for presage.pl.c ! %

-----

My config : Irix 6.5.10

denis@​crystal​:\~/tmp/tmp/perl-5.6.0 % myconfig Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration​: Platform​: osname=irix\, osvers=6.5\, archname=IP25-irix uname='irix64 crystal 6.5 10120105 ip25 ' config_args='-des' hint=recommended\, useposix=true\, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler​: cc='cc -n32'\, optimize='-O3'\, gccversion= cppflags='-D_BSD_TYPES -D_BSD_TIME -OPT​:Olimit=0​:space=ON -I/usr/local/include -DLANGUAGE_C' ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff 1009\,1110\,1174\,1184\,1552 -OPT​:Olimit=0​:space=ON -I/usr/local/include -DLANGUAGE_C' stdchar='unsigned 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'\, ivsize=4\, nvtype='double'\, nvsize=8\, Off_t='off_t'\, lseeksize=8 alignbytes=8\, usemymalloc=n\, prototype=define Linker and Libraries​: ld='cc -n32'\, ldflags =' -L/usr/local/lib32 -L/usr/local/lib -Wl\,-woff\,84' libpth=/usr/local/lib /usr/lib32 /lib32 /lib /usr/lib libs=-ldb -lm -lc libc=/usr/lib32/libc.so\, so=so\, useshrplib=false\, libperl=libperl.a Dynamic Linking​: dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags=' ' cccdlflags=' '\, lddlflags='-n32 -shared -L/usr/local/lib32 -L/usr/local/lib'

-- ask bjoern hansen\, http​://askbjoernhansen.com/ !try; do(); Develooper LLC\, http​://develooper.com/ $stuff->better;

p5pRT commented 21 years ago

@ask - Status changed from 'open' to 'stalled'

p5pRT commented 14 years ago

@chorny - Status changed from 'stalled' to 'resolved'