Perl / perl5

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

Make Errors #6074

Closed p5pRT closed 21 years ago

p5pRT commented 22 years ago

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

Searchable as RT18415$

p5pRT commented 22 years ago

From TShields@nbty.com

Trying to install Perl 5.8.0 on an RS6000 running AIX 5.1.0.

The following errors appear after running make​:

  sh ./makedepend MAKE=make ..../makedepend​: Already running\, exiting.   test -s perlmain.c && touch perlmain.c   cd x2p; make depend   sh ../makedepend MAKE=make   echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist Finding dependencies for hash.o. Finding dependencies for str.o. Finding dependencies for util.o. Finding dependencies for walk.o.   echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist Updating makefile...   cc -o miniperl -brtl -b32 `echo gv.o toke.o perly.o op.o regcomp.o dum p.o util.o mg.o reentr.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 xsutils.o globals ....o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o | sed 's/ op.o / / '` miniperlmain.o opmini.o perl.o -lbind -lnsl -ldl -lld -lm -lc -lcrypt -lbsd -lPW ld​: 0711-317 ERROR​: Undefined symbol​: .Perl_my_bzero ld​: 0711-317 ERROR​: Undefined symbol​: .Perl_my_memset ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make​: 1254-004 The error code from the last command is 8.

Looked in makedef.pl and found that Perl_my_bzero and Perl_my_memset are in the skip_symbols list​: elsif ($PLATFORM eq 'aix') {   skip_symbols([qw(   Perl_dump_fds   Perl_ErrorNo   Perl_GetVars   Perl_my_bcopy   Perl_my_bzero   Perl_my_chsize   Perl_my_htonl   Perl_my_memcmp   Perl_my_memset

Any idea why the are not being skipped?

Confidentiality Notice​: This communication and attachments are intended for the personal and confidential use of the designated recipient(s) named above. This communication and attachments are intended for the recipient only. If the reader of this message is not an intended recipient(s) or agent of the intended recipient(s)\, you are hereby notified that you have received this document in error\, and that any use\, review\, distribution\, or copying of this message or any attachment is strictly prohibited. If you have received this communication in error\, please notify the sender immediately by replying to sender and deleting all copies of the communication and attachments. Although this E-mail and attachments are believed to be virus and defect free\, it is the responsibility of the recipient to ensure that the same are virus and defect free. The sender disclaims all responsibility for any loss or damage arising from the use of this communication or attachment. Thank you.

p5pRT commented 22 years ago

From @tux

On Fri 15 Nov 2002 19​:31\, "TShields@​nbty.com (via RT)" \perlbug@​perl\.org wrote​:

# New Ticket Created by TShields@​nbty.com # Please include the string​: [perl #18415] # in the subject line of all future correspondence about this issue. # \<URL​: http​://rt.perl.org/rt2/Ticket/Display.html?id=18415 >

Trying to install Perl 5.8.0 on an RS6000 running AIX 5.1.0.

The following errors appear after running make​:

Are you by any chance calling Configure with -Dusemymalloc=y ?

Else\, could you try to run with -Dusemymalloc=n

    sh \./makedepend MAKE=make

....../makedepend​: Already running\, exiting. test -s perlmain.c && touch perlmain.c cd x2p; make depend sh ../makedepend MAKE=make echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist Finding dependencies for hash.o. Finding dependencies for str.o. Finding dependencies for util.o. Finding dependencies for walk.o. echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist Updating makefile... cc -o miniperl -brtl -b32 `echo gv.o toke.o perly.o op.o regcomp.o dum p.o util.o mg.o reentr.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 xsutils.o globals ......o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o | sed 's/ op.o / / '` miniperlmain.o opmini.o perl.o -lbind -lnsl -ldl -lld -lm -lc -lcrypt -lbsd -lPW ld​: 0711-317 ERROR​: Undefined symbol​: .Perl_my_bzero ld​: 0711-317 ERROR​: Undefined symbol​: .Perl_my_memset ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make​: 1254-004 The error code from the last command is 8.

Looked in makedef.pl and found that Perl_my_bzero and Perl_my_memset are in the skip_symbols list​: elsif ($PLATFORM eq 'aix') { skip_symbols([qw( Perl_dump_fds Perl_ErrorNo Perl_GetVars Perl_my_bcopy Perl_my_bzero Perl_my_chsize Perl_my_htonl Perl_my_memcmp Perl_my_memset

Any idea why the are not being skipped?

Confidentiality Notice​: This communication and attachments are intended for the personal and confidential use of the designated recipient(s) named above. This communication and attachments are intended for the recipient only. If the reader of this message is not an intended recipient(s) or agent of the intended recipient(s)\, you are hereby notified that you have received this document in error\, and that any use\, review\, distribution\, or copying of this message or any attachment is strictly prohibited. If you have received this communication in error\, please notify the sender immediately by replying to sender and deleting all copies of the communication and attachments. Although this E-mail and attachments are believed to be virus and defect free\, it is the responsibility of the recipient to ensure that the same are virus and defect free. The sender disclaims all responsibility for any loss or damage arising from the use of this communication or attachment. Thank you.

-- H.Merijn Brand Amsterdam Perl Mongers (http​://amsterdam.pm.org/) using perl-5.6.1\, 5.8.0 & 633 on HP-UX 10.20 & 11.00\, AIX 4.2\, AIX 4.3\,   WinNT 4\, Win2K pro & WinCE 2.11. Smoking perl CORE​: smokers@​perl.org http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org send smoke reports to​: smokers-reports@​perl.org\, QA​: http​://qa.perl.org

p5pRT commented 22 years ago

From TShields@nbty.com

Configure set -Dusemymalloc=n -----\rt@&#8203;x1\.develooper\.com wrote​: ----- To​: TShields@​nbty.com From​: "H.Merijn Brand (via RT)" \perlbug@&#8203;perl\.org Sent by​: \rt@&#8203;x1\.develooper\.com Date​: 11/15/2002 03​:54PM Subject​: Re​: [perl #18415] Make Errors On Fri 15 Nov 2002 19​:31\, "TShields@​nbty.com (via RT)" \perlbug@&#8203;perl\.org wrote​: > # New Ticket Created by TShields@​nbty.com > # Please include the string​: [perl #18415] > # in the subject line of all future correspondence about this issue. > # \<URL​: http​://rt.perl.org/rt2/Ticket/Display.html?id=18415 > > > > Trying to install Perl 5.8.0 on an RS6000 running AIX 5.1.0. > > The following errors appear after running make​: Are you by any chance calling Configure with -Dusemymalloc=y ? Else\, could you try to run with -Dusemymalloc=n > sh ./makedepend MAKE=make > ....../makedepend​: Already running\, exiting. > test -s perlmain.c && touch perlmain.c > cd x2p; make depend > sh ../makedepend MAKE=make > echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist > Finding dependencies for hash.o. > Finding dependencies for str.o. > Finding dependencies for util.o. > Finding dependencies for walk.o. > echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist > Updating makefile... > cc -o miniperl -brtl -b32 `echo gv.o toke.o perly.o op.o > regcomp.o dum > p.o util.o mg.o reentr.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 xsutils.o > globals > ......o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o | sed 's/ > op.o / / > '` miniperlmain.o opmini.o perl.o -lbind -lnsl -ldl -lld -lm -lc -lcrypt > -lbsd > -lPW > ld​: 0711-317 ERROR​: Undefined symbol​: .Perl_my_bzero > ld​: 0711-317 ERROR​: Undefined symbol​: .Perl_my_memset > ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > make​: 1254-004 The error code from the last command is 8. > > Looked in makedef.pl and found that Perl_my_bzero and Perl_my_memset are > in the skip_symbols list​: > elsif ($PLATFORM eq 'aix') { > skip_symbols([qw( > Perl_dump_fds > Perl_ErrorNo > Perl_GetVars > Perl_my_bcopy > Perl_my_bzero > Perl_my_chsize > Perl_my_htonl > Perl_my_memcmp > Perl_my_memset > > Any idea why the are not being skipped? > > > > Confidentiality Notice​: This communication and attachments are intended for > the personal and confidential use of the designated recipient(s) named > above. This communication and attachments are intended for the recipient > only. If the reader of this message is not an intended recipient(s) or > agent of the intended recipient(s)\, you are hereby notified that you have > received this document in error\, and that any use\, review\, distribution\, or > copying of this message or any attachment is strictly prohibited. If you > have received this communication in error\, please notify the sender > immediately by replying to sender and deleting all copies of the > communication and attachments. Although this E-mail and attachments are > believed to be virus and defect free\, it is the responsibility of the > recipient to ensure that the same are virus and defect free. The sender > disclaims all responsibility for any loss or damage arising from the use of > this communication or attachment. Thank you. > > > -- H.Merijn Brand Amsterdam Perl Mongers ( http​://amsterdam.pm.org/ ) using perl-5.6.1\, 5.8.0 & 633 on HP-UX 10.20 & 11.00\, AIX 4.2\, AIX 4.3\, WinNT 4\, Win2K pro & WinCE 2.11. Smoking perl CORE​: smokers@​perl.org http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org send smoke reports to​: smokers-reports@​perl.org\, QA​: http​://qa.perl.org

p5pRT commented 21 years ago

From TShields@nbty.com

Problem turned out to be that during intial run of Configure there was a problem with the license for the VisualAge C compiler and the Configure script set the Perl_my_bzero and Perl_my_memset to define in hostent.h.

Completely removed the install directory\, untarred stable.tar and reran everything successfully.

Thanks

Confidentiality Notice​: This communication and attachments are intended for the personal and confidential use of the designated recipient(s) named above. This communication and attachments are intended for the recipient only. If the reader of this message is not an intended recipient(s) or agent of the intended recipient(s)\, you are hereby notified that you have received this document in error\, and that any use\, review\, distribution\, or copying of this message or any attachment is strictly prohibited. If you have received this communication in error\, please notify the sender immediately by replying to sender and deleting all copies of the communication and attachments. Although this E-mail and attachments are believed to be virus and defect free\, it is the responsibility of the recipient to ensure that the same are virus and defect free. The sender disclaims all responsibility for any loss or damage arising from the use of this communication or attachment. Thank you.

p5pRT commented 21 years ago

@ask - Status changed from 'new' to 'resolved'