Meta Toolchain Release (2008 May)

Pranav Desai pranavadesai at gmail.com
Tue May 13 02:02:17 CEST 2008


On Mon, May 12, 2008 at 4:19 PM, Pranav Desai <pranavadesai at gmail.com>
wrote:

>
>
> On Sun, May 11, 2008 at 2:53 PM, Julian <julian_chu at openmoko.com> wrote:
>
> > Hi all,
> >
> >  After fix some problems, I had put the newest meta toolchain to
> > downloads.openmoko.org.
> >
> >  If you are developing a single application, you can use meta-toolchain
> > to build your onw application.
> >
>
> I tried using this toolchain, but it fails with the following error on
> om-conf. The sample program works fine with the old toolchain. This is
> happening with the 32bit and 64bit versions of the new toolchain. Am I
> missing something here ?
>
> om-conf openmoko-sample2
>
> configure: WARNING: In the future, Autoconf will not detect cross-tools
> whose name does not start with the host triplet.  If you think this
> configuration is useful to you, please write to autoconf at gnu.org.
> checking pkg-config is at least version 0.9.0... yes
> checking for DEPENDENCIES... configure: error: Package requirements
> (libmokoui2 gconf-2.0) were not met:
>
> No package 'libmokoui2' found
> No package 'gconf-2.0' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables DEPENDENCIES_CFLAGS
> and DEPENDENCIES_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> FATAL: oe_runconf failed
>


Looks like the setup-env doesnt have the right paths set, it should be
.../usr/lib instead of .../lib

export
PKG_CONFIG_DIR="${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib/pkgconfig"
export
PKG_CONFIG_PATH="${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib/pkgconfig"
export LDFLAGS="-L${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib
-Wl,-rpath-link,${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib -Wl,-O1"


Now it configures fine, but fails on make. Looks like the libmokoui2.pc file
is also not set correctly. The prefix is still referring to the system files
instead of the /usr/local/openmoko path ... the older toolchain has the
prefix correctly setup.

-- Pranav


> Let me know if you need more information.
>
> -- Pranav
>
>
> >  please take a look of this Page.
> >
> >  http://wiki.openmoko.org/wiki/Toolchain
> >
> > Best Regards,
> >
> > -Julian
> >
> >
> > _______________________________________________
> > Openmoko community mailing list
> > community at lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20080512/33054927/attachment.htm


More information about the openmoko-devel mailing list