[oe] Help required to create recipe for FANN library

Phil Blundell pb at reciva.com
Tue Jun 16 07:22:10 UTC 2009


On Tue, 2009-06-16 at 07:25 +0400, Elvis Dowson wrote:
> Hi Phil,
> 		
> On Jun 15, 2009, at 10:53 PM, Phil Blundell wrote:
> 
> >
> > Right now, I think the only way is to do it by steam, something like:
> >
> > PACKAGES =+ "libfann libdoublefann libfixedfann libfloatfann"
> > FILES_libfann = "${libdir}/libfann${SOLIBS}"
> > FILES_libdoublefan = "${libdir}/libdoublefan${SOLIBS}"
> > ...
> 
> I did as you suggested but get the following errors:
> 
>   -------------------
> ERROR: libfann is listed in PACKAGES multiple times, this leads to  
> packaging errors.
> ERROR: Please fix the metadata/report this as bug to OE bugtracker.
> ERROR: -------------------
> 

If your recipe itself is named "libfann" then it will appear in PACKAGES
automatically (as ${PN}); you don't need to add it explicitly.

p.






More information about the Openembedded-devel mailing list