[yocto] Problem with library recipe

Paul Eggleton paul.eggleton at linux.intel.com
Mon Oct 26 07:29:42 PDT 2015


Hi Jim

On Monday 26 October 2015 06:58:53 jim Schimpf wrote:
> Hi,
> 	I am attempting to add a recipe to build libmill (http://libmill.org
> <http://libmill.org/>).  So far my recipe does the fetch and config but
> fails the compile.
> 
> The recipe is:
> 
> # -----------------------------------------------------
> # Header Meta data
> SUMMARY = "Co-routine & Network Library"
> DESCRIPTION = "Easy network use and co-routine operation"
> AUTHOR = "Martin Sustrik"
> HOMEPAGE = "https://libmill.org"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = "file://COPYING;md5=6d82245bd22227ca739abaf3dcd3b80d"
> PR = "1.0"
> 
> # -----------------------------------------------------
> # Source data
> SRCREV = "cdbd5e24e99964fdf65e701df099155ff484667e"
> SRC_URI =
> "git://github.com/sustrik/libmill.git;user=jschimpf-pandora;protocol=http"
> inherit autotools gettext
> 
> S = "${WORKDIR}/git”
> 
> The compile failure is:
> 
> ./doltlibtool  --tag=CC   --mode=link arm-poky-linux-gnueabi-gcc 
> -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon
> -mtune=cortex-a8 --sysroot=/home/jim/yocto/poky/BB1/tmp/sysroots/beaglebone
> -std=gnu99 -fvisibility=hidden -DMILL_EXPORTS -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=0 -O2 -pipe -g -feliminate-unused-debug-types
> -no-undefined -version-info 10:1:0 -Wl,-O1 -Wl,--hash-style=gnu
> -Wl,--as-needed -o libmill.la -rpath /usr/lib libmill_la-chan.lo
> libmill_la-cr.lo libmill_la-debug.lo libmill_la-ip.lo libmill_la-list.lo
> libmill_la-poller.lo libmill_la-slist.lo libmill_la-stack.lo
> libmill_la-tcp.lo libmill_la-udp.lo libmill_la-unix.lo libmill_la-utils.lo 
> -lanl -lrt ./doltlibtool: line 18:
> /home/jim/yocto/poky/BB1/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/li
> bmill/1.0-1.0/git/libtool: No such file or directory make: *** [libmill.la]
> Error 127
> make: *** Waiting for unfinished jobs....
> ERROR: oe_runmake failed
> WARNING: exit code 1 from a shell command.
> ERROR: Function failed: do_compile (log file is located at
> /home/jim/yocto/poky/BB1/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/li
> bmill/1.0-1.0/temp/log.do_compile.6506)
> 
> The failure of the script ./doitlibtool is that it cannot find the script
> libtool which should be created (it’s not in the repository) in the git
> directory. When i run ./configure on OS X or Ubuntu that libtool appears
> but it does not when Yocto runs it.
> 
> I guess the failure is really in the configure state and only errors in the
> compile step.

It looks like this library is using DOLT. Anyone remember how to deal with 
that? Ross?

One thing to try would be to simply drop the DOLT line from configure.ac and 
see if that helps.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list