[oe] Installing MAD-FCL using bitbake

Alberto Carrozzo gilby985 at gmail.com
Tue May 3 16:10:46 UTC 2011


You are right thank you thousand Robert! i was wrong but now i've
fixed this problem... but I have any others! Flute compiling give some
problems: first of all i had to modify the file "include/netinet/in.h"
(as the developer seggest me) and, after this and after some
dependencies resolution, it finally compile on ubuntu but it still not
work on OE... the error it gives me is

/usr/bin/ld: cannot find -lflutelib
collect2: ld returned 1 exit status

but, lflutelib is a library it creates in the same job... In fact the
makefile is divided into different parts:

alclib ::
sdplib ::
flutelib ::
flute ::
multis_flute ::
flute_unittest::

... trying to delete, on Ubuntu, flutelib:: it gives me the same
error, so i suppose that lflutelib is created by this rule... but i
don't know why under OE it doesn't recognize this... Someone can help
me? Thank you all!!!

2011/4/17 Alberto Carrozzo <gilby985 at gmail.com>:
> Hello, I'm trying to install MAD-FCL (http://mad.cs.tut.fi/) in order
> to use the Flute protocol on Angstrom... to do it, I modified the
> "wscan_20091230.bb" recipe that you can find in
> "oe/openembedded/recipes/dvbtools/" folder...
>
> _________________________________________________
> ESCRIPTION = "Wscan is a dvb channel scanner that doesn't require an
> initial frequency table"
> LICENSE = "GPLv2"
>
> SRC_URI = "http://wirbel.htpc-forum.de/w_scan/w_scan-${PV}.tar.bz2"
>
> S = "${WORKDIR}/w_scan-${PV}"
>
> inherit autotools
>
> FILES_${PN} += "${datadir}"
>
> SRC_URI[md5sum] = "97cd83d5c174e386d01a364b2d280f2a"
> SRC_URI[sha256sum] =
> "1a5864559b6a0acb76b9fa66b4e1351acd7d06c4e4a9a2ba323e7eafa4d4788b"
> __________________________________________________
>
> It works perfectly and bitbaking it I can find the executable w_scan
> in the ~/oe/tmp/work/armv7a-angstrom-linux-gnueabi/wscan-20091230-r0/w_scan-20091230
> folder... So I modifed it in this way:
>
> ___________________________________________________
> SRC_URI = "http://mad.cs.tut.fi/download/mad_fcl_v1.7_src.tar.gz"
>
> S = "${WORKDIR}/flute"
>
> inherit autotools
>
> FILES_${PN} += "${bindir}/flute"
>
> SRC_URI[md5sum] = "71a0c9d856a9b949b2c7c25bfd91029e"
> SRC_URI[sha256sum] =
> "97c0abc3807e48b102fee85bf14aaaeabe39ce3f98bb4423daed9651978e62f0"
> ____________________________________________________
>
> ...but it doesn't work and it gives me the following error on the
> log.do_install file:
> ____________________________________________________
> NOTE: make DESTDIR=/home/gilby/oe/tmp/work/armv7a-angstrom-linux-gnueabi/flute-1.0-r0/image
> install
> make: *** No rule to make target `install'.  Stop.
> FATAL: oe_runmake failed
> ERROR: Function do_install failed
> ____________________________________________________
>
> Note: the log.do_compile file tells me "NOTE: nothing to compile"
>
> ... OK, so i added this on the recipe above:
> ____________________________________________________
> do_install(){
>        install -m 0755 -d ${D}${bindir} ${D}${docdir}/flute
> }
> ____________________________________________________
>
> and it work without errors... but the log.do_compile file tells me
> again "NOTE: nothing to compile" and i can't find the executable in
> the ~/oe/tmp/work/armv7a-angstrom-linux-gnueabi/flute-1.0-r0/
> folder... and the same thing happen if I delete the "inherit
> autotools" row...
>
> SO:
>
> 1) Why for some recipes it execute the makefile automatically and not
> for other ones?
> 2) How can I fix my prolems?
>
> somebody can help me? thank you so much
>



-- 
He walks among us, but he is not one of us - JS




More information about the Openembedded-devel mailing list