From: Mr Dash Four <mr.dash.four@googlemail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: "cannot find -lppl_c" link error
Date: Mon, 28 Nov 2011 20:41:33 +0000 [thread overview]
Message-ID: <4ED3F1FD.3040501@googlemail.com> (raw)
In-Reply-To: <CAMKF1srBccnok0GsuwZxsRCpUNwT7nLz=iJi9vhNZSykxhztfA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 10943 bytes --]
>> I have just finished my built - the whole lot and with a lot of warnings, mainly from unpackaged files - don't know whether these are important though.
>>
>
> they should be looked into sometimes there might be important files that
> go unpackaged
>
I am attaching (or trying to - I don't know whether the mailing list
daemon would accept it) this list where all my errors and warnings are
shown. Most of the warnings are "unpackaged files", but there are quite
a few QA-related ones as well.
>> I'll probably spend the weekend fine-tuning this as my build went over 25G in size - massive! Thanks for your help Raj, much appreciated!
>>
>
> yes its big since a lot of software is built you could use rm_work
> feature where it will try to delete the work dirs after they are
> successfully built but I would suggest not to do that unless you
> really need it.
>
I did need it, but it wasn't enough - I ended up moving files away to a
different partition on the network because I ended up needing 54G (yes,
that's right - fifty four gigabytes!) - this came down significantly
once the build has finished. My build failed a couple of times because
of two general errors:
1) all matchbox-related + libfakekey recipes use an outdated url
(svn.o-hand.com no longer hosts anything as they were taken over by
intel), so I found a separate site (git.yoctoproject.org) which hosted
all this, though they use git, not svn, so I needed to (learn and)
adjust these recipes to function properly. As a result of using the new
(and updated!) repository one of the matchbox patches is no longer
needed. I am willing to submit patches for these recipes, though I do
not know what sort of policy is in place for these and how the
submission process works - help and advice on that front is appreciated.
I am attaching an "example" of the alterations I've done to the
libfakekey recipe to make it work (at least for my build).
2) fsogsmd doesn't compile properly - I had to disable the
"modem-nokia-isi" and "modem-qualcomm-palm" configure options
(qualcomm-palm build is where it all falls apart - see the attached
errors log) and make further adjustments to that recipe to disable all
"irrelevant" packaging (at least in my case - I was building for
"htcdream"), otherwise that won't work as there were no files produced
as a result of me altering the configure options. I have no idea how to
correct this - I was lucky in a way that I was building for htcdream and
not for qualcomm-palm device for example. I also attach an "example" of
the altered fsogsmd recipe - this is how I've made it to work.
I am also attaching my local.conf file as well for anyone interested,
because even though I've indicated my locales, they were all built
regardless of my selection. Maybe I misunderstood the meaning of that
option - I did not want to build any other locale-related packages
except for the locales I indicated in my local.conf file, is that how
this option works?
I have another query though - is there a way to build a package (.ipk)
to be included in the final image and not having to build it separately
into .ipk file and then install it from the embedded device?
As the htcdream/shr build was completed just to see how OE works, I am
now going to get a proper image built (which I will use) and see where
that takes me.
DL_DIR = "${HOME}/oe/sources"
BBFILES = "${HOME}/oe/openembedded/recipes/*/*.bb"
MACHINE = "htcdream"
DISTRO = "shr"
BBMASK = "/(nonworking|obsolete|cacao)/"
PARALLEL_MAKE = "-j 5"
BB_NUMBER_THREADS = "3"
BB_SCHEDULER = "speed"
PACKAGE_STRIP = "full"
ASSUME_PROVIDED += "help2man-native"
GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8"
IMAGE_LINGUAS = "en-us en-gb"
PREFERRED_PROVIDER_gpsd = "fso-gpsd"
PREFERRED_PROVIDERS = "virtual/gpsd:fso-gpsd"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
IMAGE_FSTYPES = "jffs2 tar squashfs squashfs-lzma"
INHERIT += "rm_work"
require cornucopia.inc
inherit fso-plugin
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
SRCREV = "${FSO_CORNUCOPIA_SRCREV}"
PR = "${INC_PR}.3"
PV = "0.5.0+gitr${SRCPV}"
PE = "1"
DEPENDS += "libfsoresource libgsm0710mux libgisi ppp connman msmcomm-specs"
EXTRA_OECONF_append = "\
--enable-libgsm0710mux \
--disable-modem-nokia-isi \
--disable-modem-qualcomm-palm \
"
#! --enable-modem-nokia-isi \
#! --enable-modem-qualcomm-palm \
# package modules with extra dependencies in extra packages RDEPENDed by config package
PACKAGES =+ "${PN}-config"
FILES_${PN}-config = "${sysconfdir}/freesmartphone/"
PACKAGE_ARCH_${PN}-config = "${MACHINE_ARCH}"
CONFFILES_${PN}-config = " \
${sysconfdir}/freesmartphone/conf/htc_qualcomm_dream/fsogsmd.conf \
${sysconfdir}/freesmartphone/conf/htc_qualcomm_msm/fsogsmd.conf \
"
#! ${sysconfdir}/freesmartphone/conf/openmoko_gta/fsogsmd.conf \
#! ${sysconfdir}/freesmartphone/conf/palm_pre/fsogsmd.conf \
RDEPENDS_${PN} += "${PN}-config"
PACKAGES =+ "${PN}-connman ${PN}-connman-dev ${PN}-connman-dbg"
FILES_${PN}-connman = "${libdir}/connman/plugins/fsogsm.so"
FILES_${PN}-connman-dev = "${libdir}/connman/plugins/fsogsm.la"
FILES_${PN}-connman-dbg = "${libdir}/connman/plugins/.debug/fsogsm*"
RDEPENDS_${PN} += "${PN}-connman"
# On the palmpre we need the msmcomm daemon to talk to the modem
#!RDEPENDS_${PN}-config_palmpre += "msmcommd"
#PACKAGES =+ "${PN}-module-lowlevel-palmpre ${PN}-module-lowlevel-palmpre-dev ${PN}-module-lowlevel-palmpre-dbg"
#FILES_${PN}-module-lowlevel-palmpre = "${CORNUCOPIA_MODULE_DIR}/lowlevel_palmpre.so"
#FILES_${PN}-module-lowlevel-palmpre-dev = "${CORNUCOPIA_MODULE_DIR}/lowlevel_palmpre.la"
#FILES_${PN}-module-lowlevel-palmpre-dbg = "${CORNUCOPIA_MODULE_DIR}/.debug/lowlevel_palmpre*"
#RDEPENDS_${PN}-config_palmpre += "${PN}-module-lowlevel-palmpre"
#!PACKAGES =+ "${PN}-module-modem-qualcomm-palm ${PN}-module-modem-qualcomm-palm-dev ${PN}-module-modem-qualcomm-palm-dbg"
#!FILES_${PN}-module-modem-qualcomm-palm = "${CORNUCOPIA_MODULE_DIR}/modem_qualcomm_palm.so"
#!FILES_${PN}-module-modem-qualcomm-palm-dev = "${CORNUCOPIA_MODULE_DIR}/modem_qualcomm_palm.la"
#!FILES_${PN}-module-modem-qualcomm-palm-dbg = "${CORNUCOPIA_MODULE_DIR}/.debug/modem_qualcomm_palm*"
#!RDEPENDS_${PN}-config_palmpre += "${PN}-module-modem-qualcomm-palm"
PACKAGES =+ "${PN}-module-modem-qualcomm-htc ${PN}-module-modem-qualcomm-htc-dev ${PN}-module-modem-qualcomm-htc-dbg"
FILES_${PN}-module-modem-qualcomm-htc = "${CORNUCOPIA_MODULE_DIR}/modem_qualcomm_htc.so"
FILES_${PN}-module-modem-qualcomm-htc-dev = "${CORNUCOPIA_MODULE_DIR}/modem_qualcomm_htc.la"
FILES_${PN}-module-modem-qualcomm-htc-dbg = "${CORNUCOPIA_MODULE_DIR}/.debug/modem_qualcomm_htc*"
RDEPENDS_${PN}-config_htcdream += "${PN}-module-modem-qualcomm-htc"
#!PACKAGES =+ "${PN}-module-modem-nokia-isi ${PN}-module-modem-nokia-isi-dev ${PN}-module-modem-nokia-isi-dbg"
#!FILES_${PN}-module-modem-nokia-isi = "${CORNUCOPIA_MODULE_DIR}/modem_nokia_isi.so"
#!FILES_${PN}-module-modem-nokia-isi-dev = "${CORNUCOPIA_MODULE_DIR}/modem_nokia_isi.la"
#!FILES_${PN}-module-modem-nokia-isi-dbg = "${CORNUCOPIA_MODULE_DIR}/.debug/modem_nokia_isi*"
#!RDEPENDS_${PN}-config_nokia900 += "${PN}-module-modem-nokia-isi"
#!PACKAGES =+ "${PN}-module-lowlevel-openmoko ${PN}-module-lowlevel-openmoko-dev ${PN}-module-lowlevel-openmoko-dbg"
#!FILES_${PN}-module-lowlevel-openmoko = "${CORNUCOPIA_MODULE_DIR}/lowlevel_openmoko.so"
#!FILES_${PN}-module-lowlevel-openmoko-dev = "${CORNUCOPIA_MODULE_DIR}/lowlevel_openmoko.la"
#!FILES_${PN}-module-lowlevel-openmoko-dbg = "${CORNUCOPIA_MODULE_DIR}/.debug/lowlevel_openmoko*"
#!RDEPENDS_${PN}-config_om-gta01 += "${PN}-module-lowlevel-openmoko"
#!RDEPENDS_${PN}-config_om-gta02 += "${PN}-module-lowlevel-openmoko"
#!PACKAGES =+ "${PN}-module-modem-ti-calypso ${PN}-module-modem-ti-calypso-dev ${PN}-module-modem-ti-calypso-dbg"
#!FILES_${PN}-module-modem-ti-calypso = "${CORNUCOPIA_MODULE_DIR}/modem_ti_calypso.so"
#!FILES_${PN}-module-modem-ti-calypso-dev = "${CORNUCOPIA_MODULE_DIR}/modem_ti_calypso.la"
#!FILES_${PN}-module-modem-ti-calypso-dbg = "${CORNUCOPIA_MODULE_DIR}/.debug/modem_ti_calypso*"
#!RDEPENDS_${PN}-config_om-gta01 += "${PN}-module-modem-ti-calypso"
#!RDEPENDS_${PN}-config_om-gta02 += "${PN}-module-modem-ti-calypso"
#!PACKAGES =+ "${PN}-module-modem-freescale-neptune ${PN}-module-modem-freescale-neptune-dev ${PN}-module-modem-freescale-neptune-dbg"
#!FILES_${PN}-module-modem-freescale-neptune = "${CORNUCOPIA_MODULE_DIR}/modem_freescale_neptune.so"
#!FILES_${PN}-module-modem-freescale-neptune-dev = "${CORNUCOPIA_MODULE_DIR}/modem_freescale_neptune.la"
#!FILES_${PN}-module-modem-freescale-neptune-dbg = "${CORNUCOPIA_MODULE_DIR}/.debug/modem_freescale_neptune*"
#!RDEPENDS_${PN}-config_motorola-ezx += "${PN}-module-modem-freescale-neptune"
#!PACKAGES =+ "${PN}-module-lowlevel-motorola-ezx ${PN}-module-lowlevel-motorola-ezx-dev ${PN}-module-lowlevel-motorola-ezx-dbg"
#!FILES_${PN}-module-lowlevel-motorola-ezx = "${CORNUCOPIA_MODULE_DIR}/lowlevel_motorola_ezx.so"
#!FILES_${PN}-module-lowlevel-motorola-ezx-dev = "${CORNUCOPIA_MODULE_DIR}/lowlevel_motorola_ezx.la"
#!FILES_${PN}-module-lowlevel-motorola-ezx-dbg = "${CORNUCOPIA_MODULE_DIR}/.debug/lowlevel_motorola_ezx*"
#!RDEPENDS_${PN}-config_motorola-ezx += "${PN}-module-lowlevel-motorola-ezx"
## shared modules or modules without known OE machine to RDEPEND on them (so kept in main module for now)
# dbus_service.so
# modem_dummy.so
# modem_cinterion_mc75.so
# modem_singleline.so
# pdp_ppp.so
# pdp_ppp_internal.so
# pdp_ppp_mux.so
# pdp_qmi.so
# ppp2fsogsmd.so
## motorola-ezx
# modem_freescale_neptune.so
# lowlevel_motorola_ezx.so
## nokia900
# lowlevel_nokia900.so
# modem_nokia_isi.so
## openmoko
# lowlevel_openmoko.so
# modem_ti_calypso.so
## palmpre
# modem_qualcomm_pre.so
# lowlevel_palmpre.so
## htcdream
# modem_qualcomm_htc.so
DESCRIPTION = "Matchbox keyboard"
LICENSE = "GPL"
DEPENDS = "libxtst"
SECTION = "x11/wm"
SRCREV = "1455"
#PV = "0.2+svnr${SRCPV}"
PR = "r2"
#SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
#SRC_URI = "git://git.yoctoproject.org/libfakekey;protocol=git;tag=e8c2e412ea4a417afc1f30e32cb7bdc508b1dccc
# http://git.yoctoproject.org/cgit/cgit.cgi/libfakekey/snapshot/libfakekey-master.tar.bz2
SRC_URI = "file://libfakekey.tar.bz2 \
file://configure-fix.patch"
S = "${WORKDIR}/${PN}"
inherit autotools pkgconfig gettext
[-- Attachment #2: e_and_w.tar.gz --]
[-- Type: application/gzip, Size: 20212 bytes --]
prev parent reply other threads:[~2011-11-28 20:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-19 21:07 "cannot find -lppl_c" link error Mr Dash Four
2011-11-24 2:54 ` Khem Raj
2011-11-24 13:47 ` Mr Dash Four
2011-11-24 14:26 ` Mr Dash Four
2011-11-24 17:49 ` Khem Raj
2011-11-24 18:06 ` Mr Dash Four
2011-11-24 18:27 ` Khem Raj
2011-11-25 0:52 ` Mr Dash Four
2011-11-25 5:09 ` Khem Raj
2011-11-25 5:32 ` Mr Dash Four
2011-11-25 17:26 ` Khem Raj
2011-11-25 21:50 ` Mr Dash Four
2011-11-28 20:41 ` Mr Dash Four [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ED3F1FD.3040501@googlemail.com \
--to=mr.dash.four@googlemail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.