[oe] minimal-uclibc: perl_5.8.8: fails with `ld: cannot find -lnsl` (was: libprelude: minimal-uclibc: task `install` fails with `sed: can't read /oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/libprelude-1.0.0-r0/image/usr/lib/perl/5.8.8/auto/Prelude/.packlist: No such file or directory`)

Paul Menzel paulepanter at users.sourceforge.net
Sun Nov 7 19:32:39 UTC 2010


Am Sonntag, den 07.11.2010, 19:32 +0300 schrieb Roman I Khimov:
> В сообщении от Среда 03 ноября 2010 12:02:00 автор Paul Menzel написал:
> > Build Configuration:
> > BB_VERSION        = "1.10.0"
> > METADATA_BRANCH   = "org.openembedded.dev"
> > METADATA_REVISION = "8fc09c071a6fba0766c3b002209c758572298d26"
> > TARGET_ARCH       = "arm"
> > TARGET_OS         = "linux-uclibceabi"
> > MACHINE           = "beagleboard"
> > DISTRO            = "minimal-uclibc"
> > DISTRO_VERSION    = "dev-snapshot-20101103"
> > TARGET_FPU        = "hard"
> > 
> > testing to build `suricata_1.0.2` (commit f85795) [1] the build fails in
> > the task `install` of the dependency `libprelude_1.0.0` (commit 577889)
> > [2].
> > 
> >         make[1]: Leaving directory
> >  `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibcea
> > bi/libprelude-1.0.0-r0/libprelude-1.0.0' sed: can't read
> >  /oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceab
> > i/libprelude-1.0.0-r0/image/usr/lib/perl/5.8.8/auto/Prelude/.packlist: No
> >  such file or directory ERROR: Function do_install failed
> 
> Hmm. Tried to build with your configuration and it doesn't even get to this 
> stage failing on perl:
> 
> arm-oe-linux-uclibceabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -
> mfloat-abi=softfp -mthumb-interwork -mno-thumb -o libperl.so -L/home/rik/oe-
> angstrom-beagleboard/tmp/sysroots/armv7a-oe-linux-uclibceabi/usr/lib -Wl,-
> rpath-link,/home/rik/oe-angstrom-beagleboard/tmp/sysroots/armv7a-oe-linux-
> uclibceabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -shared 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  -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc  -
> Wl,-soname,libperl.so.5
> /home/rik/oe-angstrom-beagleboard/tmp/sysroots/x86_64-
> linux/usr/armv7a/lib/gcc/arm-oe-linux-uclibceabi/4.5.2/../../../../arm-oe-
> linux-uclibceabi/bin/ld: cannot find -lnsl

What is `-lnsl`?

`perl` builds just fine for me. I tried it again with a clean temporary
directory. My build host runs Debian Squeeze.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101107/3e26a97f/attachment-0002.sig>


More information about the Openembedded-devel mailing list