[oe] Issues building tinyXML

Jack Mitchell ml at communistcode.co.uk
Thu Sep 6 14:53:53 UTC 2012


I'm failing to be able to build tinyXML which it seems is required for 
XBMC after it was dropped from their internal tree. The package just has 
a Makefile and all in all seems a bit sketchy at best. Has anyone come 
across an error like this before:

    DEBUG: Executing shell function do_compile
    NOTE: make -j 7 -e MAKEFLAGS=
    arm-poky-linux-gnueabi-ld
    --sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi
    -o xmltest -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed tinyxml.o
    tinyxmlparser.o xmltest.o tinyxmlerror.o tinystr.o
    arm-poky-linux-gnueabi-ld: unrecognized option '-Wl,-O1'
    arm-poky-linux-gnueabi-ld: use the --help option for usage information
    make: *** [xmltest] Error 1
    ERROR: oe_runmake failed
    ERROR: Function failed: do_compile (see
    /home/jack/Projects/poky-rasp/raspberry/tmp/work/armv6-vfp-poky-linux-gnueabi/tinyxml-2.6.2-r0/temp/log.do_compile.23734
    for further information)


Recipe so far...

    DESCRIPTION = "A simple, small, C++ XML parser that can be easily
    integrated into other programs"

    LICENSE = "zlib"
    LIC_FILES_CHKSUM =
    "file://tinyxml.cpp;endline=23;md5=b97285d8fafcc49b761ca785816cc397"

    SRC_URI =
    "http://ftp.debian.org/debian/pool/main/t/tinyxml/${PN}_${PV}.orig.tar.gz"

    SRC_URI[md5sum] = "c1b864c96804a10526540c664ade67f0"
    SRC_URI[sha256sum] =
    "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"

    S = "${WORKDIR}/tinyxml"


Cheers,


-- 

   Jack Mitchell (jack at embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--





More information about the Openembedded-devel mailing list