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/libmill/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/libmill/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.

Thanks for the help.  Any suggestions for things to try would be appreciated.

—jim schimpf

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to