>> snip <<
For a quick test I'm able to get past this recursion by symlinking
/bin/sh to OpenPKG's lib/bash. I'm now getting these errors (/usr/bin/cc
or gcc, with or without binutils installed):
rm -f libperl.a
/syscfg/opkg/bin/ar rcu libperl.a perl.o gv.o toke.o perly.o op.o pad.o
regcomp.o dump.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
`sh cflags "optimize='-O2'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
CCCMD = /syscfg/opkg/bin/cc -DPERL_CORE -c -ansi
-fno-strict-aliasing -I/syscfg/opkg/include -DLANGUAGE_C -O2 -Wall
/syscfg/opkg/bin/cc -L/syscfg/opkg/lib -o miniperl \
miniperlmain.o opmini.o libperl.a -lutil
frexp
pow
floor
fmod
atan2
sin
cos
exp
log
sqrt
ceil
modf
collect2: ld returned 1 exit status
I was able to successfully build Perl by doing the following:
1) Changed the shell of Perl's Configure script to:
$prefix/lib/openpkg/bash
2) Added --define="l_ldflags -lm" (this fixed the above symbol problems)
Doug
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List openpkg-users@openpkg.org