develooper Front page | perl.perl5.porters | Postings from August 2010

5.12.1 Compilation failure on BeOS 5

From:
Nigel Horne
Date:
August 26, 2010 05:17
Subject:
5.12.1 Compilation failure on BeOS 5
Message ID:
4C765B4F.1070601@bandsman.co.uk
"make" fails on BeOS with this error:

/configure.gnu --prefix=/boot/home/config
make LDLOADLIBS="-lnet"
...

cc -L/usr/local/lib -o miniperl \
      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
util.o: In function `Perl_rsignal':
util.o(.text+0x2748): undefined reference to `beos_sigaction'
util.o: In function `Perl_rsignal_state':
util.o(.text+0x2786): undefined reference to `beos_sigaction'
util.o: In function `Perl_rsignal_save':
util.o(.text+0x27d8): undefined reference to `beos_sigaction'
util.o: In function `Perl_rsignal_restore':
util.o(.text+0x2803): undefined reference to `beos_sigaction'
util.o: In function `Perl_wait4pid':
util.o(.text+0x298a): undefined reference to `beos_waitpid'
doio.o: In function `Perl_apply':
doio.o(.text+0x34e4): undefined reference to `beos_kill'
doio.o(.text+0x358b): undefined reference to `beos_kill'
perlmini.o: In function `Perl_my_unexec':
perlmini.o(.text+0x4ced): undefined reference to `beos_kill'
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1

The problem is that the code in the beos directory isn't being compiled in.

-- 
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
njh@bandsman.co.uk http://www.bandsman.co.uk




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