Perl / perl5

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

undefined #9926

Closed p5pRT closed 15 years ago

p5pRT commented 15 years ago

Migrated from rt.perl.org#70025 (status was 'rejected')

Searchable as RT70025$

p5pRT commented 15 years ago

From pierre42d@9online.fr

# make gcc -L/usr/local/lib -o miniperl \ madly.o malloc.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.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 globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \ miniperlmain.o opmini.o perlmini.o -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc malloc.o​: In function `Perl_malloc'​: malloc.c​:(.text+0x7aa)​: undefined reference to `Rwrite' malloc.c​:(.text+0x7cb)​: undefined reference to `Rwrite' malloc.c​:(.text+0x7eb)​: undefined reference to `Rwrite' malloc.c​:(.text+0xe89)​: undefined reference to `Rwrite' util.o​: In function `Perl_safesysmalloc'​: util.c​:(.text+0x91)​: undefined reference to `Rwrite' util.o​:util.c​:(.text+0x1a2)​: more undefined references to `Rwrite' follow util.o​: In function `Perl_my_popen'​: util.c​:(.text+0x3d2f)​: undefined reference to `Rread' util.o​: In function `Perl_my_popen_list'​: util.c​:(.text+0x409c)​: undefined reference to `Rread' util.o​: In function `Perl_seed'​: util.c​:(.text+0x7b34)​: undefined reference to `Rread' util.o​: In function `Perl_get_hash_seed'​: util.c​:(.text+0x7c55)​: undefined reference to `Rread' util.o​: In function `Perl_my_clearenv'​: util.c​:(.text+0x7ffa)​: undefined reference to `Rwrite' pp_sys.o​: In function `Perl_pp_sysread'​: pp_sys.c​:(.text+0x4e3b)​: undefined reference to `Rread' pp_sys.c​:(.text+0x4f76)​: undefined reference to `Rrecvfrom' pp_sys.o​: In function `Perl_pp_send'​: pp_sys.c​:(.text+0x555a)​: undefined reference to `Rsendto' pp_sys.c​:(.text+0x57fd)​: undefined reference to `Rwrite' pp_sys.c​:(.text+0x585d)​: undefined reference to `Rsend' pp_sys.o​: In function `Perl_pp_bind'​: pp_sys.c​:(.text+0x759f)​: undefined reference to `Rbind' pp_sys.o​: In function `Perl_pp_connect'​: pp_sys.c​:(.text+0x776f)​: undefined reference to `Rconnect' pp_sys.o​: In function `Perl_pp_accept'​: pp_sys.c​:(.text+0x7b56)​: undefined reference to `Raccept' pp_sys.o​: In function `Perl_pp_getpeername'​: pp_sys.c​:(.text+0x839e)​: undefined reference to `Rgetsockname' pp_sys.c​:(.text+0x83bd)​: undefined reference to `Rgetpeername' pp_sys.o​: In function `Perl_pp_system'​: pp_sys.c​:(.text+0xc36f)​: undefined reference to `Rread' doio.o​: In function `Perl_do_openn'​: doio.c​:(.text+0x943)​: undefined reference to `Rgetsockname' doio.o​: In function `Perl_do_aexec5'​: doio.c​:(.text+0x3672)​: undefined reference to `Rwrite' doio.o​: In function `Perl_do_exec3'​: doio.c​:(.text+0x3cdb)​: undefined reference to `Rwrite' doio.c​:(.text+0x3e02)​: undefined reference to `Rwrite' perlio.o​: In function `PerlIO_debug'​: perlio.c​:(.text+0x1ff)​: undefined reference to `Rwrite' perlio.o​: In function `PerlIOUnix_read'​: perlio.c​:(.text+0x3cd2)​: undefined reference to `Rread' perlio.o​: In function `PerlIOUnix_write'​: perlio.c​:(.text+0x3d72)​: undefined reference to `Rwrite' perlio.c​:(.text+0x3dac)​: undefined reference to `Rwrite' perlio.o​: In function `PerlIOUnix_refcnt_inc'​: perlio.c​:(.text+0x8b97)​: undefined reference to `Rwrite' perlmini.o​: In function `perl_alloc'​: perlmini.c​:(.text+0x1b8)​: undefined reference to `Rwrite' perlmini.o​: In function `perl_construct'​: perlmini.c​:(.text+0x143f)​: undefined reference to `Rwrite' perlmini.o​: In function `S_parse_body'​: perlmini.c​:(.text+0x4ceb)​: undefined reference to `SOCKSinit' perlmini.o​: In function `perl_parse'​: perlmini.c​:(.text+0x6f93)​: undefined reference to `Rwrite' collect2​: ld returned 1 exit status make​: *** [miniperl] Error 1

p5pRT commented 15 years ago

From @TJC

Hi\, I'm looking at your bug report\, below. Unfortunately we're not able to do much with the information given.

Please re-open this bug if you'd like us to continue looking into it\, after attaching the output from 'perlbug'\, and/or information such as​: * your operating system * your system architecture * version of Perl you were attempting to build * details of how you were building it that led to the reported error * anything else you think might help.

Thanks.

On Mon Oct 26 09​:40​:15 2009\, pierre wrote​:

# make gcc -L/usr/local/lib -o miniperl \ madly.o malloc.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.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 globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \ miniperlmain.o opmini.o perlmini.o -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc malloc.o​: In function `Perl_malloc'​: malloc.c​:(.text+0x7aa)​: undefined reference to `Rwrite' malloc.c​:(.text+0x7cb)​: undefined reference to `Rwrite' malloc.c​:(.text+0x7eb)​: undefined reference to `Rwrite' malloc.c​:(.text+0xe89)​: undefined reference to `Rwrite' util.o​: In function `Perl_safesysmalloc'​: util.c​:(.text+0x91)​: undefined reference to `Rwrite' util.o​:util.c​:(.text+0x1a2)​: more undefined references to `Rwrite' follow util.o​: In function `Perl_my_popen'​: util.c​:(.text+0x3d2f)​: undefined reference to `Rread' util.o​: In function `Perl_my_popen_list'​: util.c​:(.text+0x409c)​: undefined reference to `Rread' util.o​: In function `Perl_seed'​: util.c​:(.text+0x7b34)​: undefined reference to `Rread' util.o​: In function `Perl_get_hash_seed'​: util.c​:(.text+0x7c55)​: undefined reference to `Rread' util.o​: In function `Perl_my_clearenv'​: util.c​:(.text+0x7ffa)​: undefined reference to `Rwrite' pp_sys.o​: In function `Perl_pp_sysread'​: pp_sys.c​:(.text+0x4e3b)​: undefined reference to `Rread' pp_sys.c​:(.text+0x4f76)​: undefined reference to `Rrecvfrom' pp_sys.o​: In function `Perl_pp_send'​: pp_sys.c​:(.text+0x555a)​: undefined reference to `Rsendto' pp_sys.c​:(.text+0x57fd)​: undefined reference to `Rwrite' pp_sys.c​:(.text+0x585d)​: undefined reference to `Rsend' pp_sys.o​: In function `Perl_pp_bind'​: pp_sys.c​:(.text+0x759f)​: undefined reference to `Rbind' pp_sys.o​: In function `Perl_pp_connect'​: pp_sys.c​:(.text+0x776f)​: undefined reference to `Rconnect' pp_sys.o​: In function `Perl_pp_accept'​: pp_sys.c​:(.text+0x7b56)​: undefined reference to `Raccept' pp_sys.o​: In function `Perl_pp_getpeername'​: pp_sys.c​:(.text+0x839e)​: undefined reference to `Rgetsockname' pp_sys.c​:(.text+0x83bd)​: undefined reference to `Rgetpeername' pp_sys.o​: In function `Perl_pp_system'​: pp_sys.c​:(.text+0xc36f)​: undefined reference to `Rread' doio.o​: In function `Perl_do_openn'​: doio.c​:(.text+0x943)​: undefined reference to `Rgetsockname' doio.o​: In function `Perl_do_aexec5'​: doio.c​:(.text+0x3672)​: undefined reference to `Rwrite' doio.o​: In function `Perl_do_exec3'​: doio.c​:(.text+0x3cdb)​: undefined reference to `Rwrite' doio.c​:(.text+0x3e02)​: undefined reference to `Rwrite' perlio.o​: In function `PerlIO_debug'​: perlio.c​:(.text+0x1ff)​: undefined reference to `Rwrite' perlio.o​: In function `PerlIOUnix_read'​: perlio.c​:(.text+0x3cd2)​: undefined reference to `Rread' perlio.o​: In function `PerlIOUnix_write'​: perlio.c​:(.text+0x3d72)​: undefined reference to `Rwrite' perlio.c​:(.text+0x3dac)​: undefined reference to `Rwrite' perlio.o​: In function `PerlIOUnix_refcnt_inc'​: perlio.c​:(.text+0x8b97)​: undefined reference to `Rwrite' perlmini.o​: In function `perl_alloc'​: perlmini.c​:(.text+0x1b8)​: undefined reference to `Rwrite' perlmini.o​: In function `perl_construct'​: perlmini.c​:(.text+0x143f)​: undefined reference to `Rwrite' perlmini.o​: In function `S_parse_body'​: perlmini.c​:(.text+0x4ceb)​: undefined reference to `SOCKSinit' perlmini.o​: In function `perl_parse'​: perlmini.c​:(.text+0x6f93)​: undefined reference to `Rwrite' collect2​: ld returned 1 exit status make​: *** [miniperl] Error 1

p5pRT commented 15 years ago

The RT System itself - Status changed from 'new' to 'open'

p5pRT commented 15 years ago

@TJC - Status changed from 'open' to 'rejected'

p5pRT commented 15 years ago

From pierre42d@9online.fr

Toby Corkindale via RT wrote​:

Hi\, I'm looking at your bug report\, below. Unfortunately we're not able to do much with the information given.

Please re-open this bug if you'd like us to continue looking into it\, after attaching the output from 'perlbug'\, and/or information such as​: * your operating system * your system architecture * version of Perl you were attempting to build * details of how you were building it that led to the reported error * anything else you think might help.

I managed to find that it was related to the SOCKS stuff. Although I have dante installed\, it was unable to use it. I disabled it and I didn't have this problem anymore.

Regards\,

-- Pierre.