ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Re: add -DZ_PREFIX


From: Stuart Hughes
Subject: [Ltib] Re: add -DZ_PREFIX
Date: Thu, 01 Nov 2007 13:25:52 +0000

Hi Henry,

I'm busy with other work today, but I wanted to let you know that the
changes to make pkg-config work properly didn't go into LTIB until
mid-May.  To save yourself a lot of wasted effort, it's worth using the
later one you have.  If you need the older kernel, you can either build
it in the other instance and save it to /tftpboot/... or you can
re-active the older spec file (I think it's still there), this involves
updating config/platform/imx31/main.lkc and adding it into the kernel
choice list etc (it's in the FAQ I think). Is there any reason for not
using the later BSP/kernel?

The includes stuff will be fixed by pkg-config.  pkg-config is a host
support package and so should be installed by ltib
in /opt/freescale/ltib/usr/bin/pkg-config when you installed the later
BSP.  If it's not there, rm .host_wait_warning* in the later BSP and
then re-run ./ltib.

I will answer your other emails when I can get back to them.

Regards, Stuart

On Wed, 2007-10-31 at 11:43 -0700, hong zhang wrote:
> Stuart,
> 
> Yes. 20070128 is kernel 2.6.19.2. Another one is
> 20071008 is kernel 2.6.22 that I am not using.
> 
> 1. I do not find pkg-config in rootf/usr/bin in
> 20070128.
> 
> 2. directfb.pc and lite.pc are in /usr/lib/pkgconfig.
>    inside directfb.pc, Cflags=-I/usr/include/direcfb
>    but inside lite.pc, Cflags does not have 
>    -I/usr/include/lite. This causes build error for 
>    DFBTerm depends on lite.
> 
> How do I make lite.pc includes 
> Cflags=-I/usr/include/lite where lite header files
> sit?
> 
> Where can I get pkg-config?
> 
> ---henry
> --- Stuart Hughes <address@hidden> wrote:
> 
> > Hi Henry,
> > 
> > Do you have the date/identification tag for the iso
> > so I can find out if
> > it contains the pkg_config updates.  Maybe that
> > stuff still needs some
> > work?
> > 
> > I am trying to get an up to date merge out to
> > Savannah/bitshrine in the
> > next few weeks.  I've been busy on other project,
> > but I'm back on it
> > now.
> > 
> > Any help and contributions you can make would be
> > appreciated.
> > 
> > Regards, Stuart
> > 
> > On Wed, 2007-10-31 at 10:50 -0700, hong zhang wrote:
> > > Stuart,
> > > 
> > > I am using freescale one sio. Download from
> > freescale
> > > website. Yes. I have problem to add new packages.
> > For
> > > example, adding LiTE and will be used by DFBTerm.
> > LiTE
> > > header files locate in rootfs/usr/include/lite and
> > > DFBTerm could not find it.
> > > 
> > > Also, I am thinking I can do some contribution
> > onltib
> > > packages upgrade.
> > > 
> > > ---henry
> > > 
> > > --- Stuart Hughes <address@hidden> wrote:
> > > 
> > > > Hi Henry,
> > > > 
> > > > Are you using the LTIB from an iso image, if so
> > what
> > > > version? or are you
> > > > using the version from bitshrine/savannah?  The
> > > > reason I ask is that I
> > > > pending merge out to bitshrine/savannah that
> > makes
> > > > pkg_config work
> > > > properly in a cross compiled environment and
> > > > possibly that will help you
> > > > (you won't need to specify the pkg_config files
> > on
> > > > configure line).  If
> > > > you have a recent Freescale ISO it will already
> > have
> > > > these updates.
> > > > 
> > > > I didn't understand your question about Z_PREFIX
> > ?
> > > > 
> > > > Regards, Stuart
> > > > 
> > > > On Wed, 2007-10-31 at 09:45 -0700, hong zhang
> > wrote:
> > > > > Stuart,
> > > > > 
> > > > > After adding
> > > > >
> > LIBPNG_CONFIG="$(HOST_DIR)/bin/libpng12-config" \
> > > > >  and DirectFB build successfully with
> > > > > --with-gfxdrivers=none. But still have error
> > > > without
> > > > > --with-gfxdrivers=none.
> > > > > 
> > > > > Why do you think Z_PREFIX will be turned on
> > > > default?
> > > > > 
> > > > > ---henry
> > > > > 
> > > > > --- Stuart Hughes <address@hidden>
> > wrote:
> > > > > 
> > > > > > Hi Henry,
> > > > > > 
> > > > > > LTIB will find the headers in rootfs in
> > > > preference
> > > > > > to the toolchain.
> > > > > > 
> > > > > > To add this flag, it would probably work by
> > > > changing
> > > > > > the spec file to:
> > > > > > 
> > > > > > CFLAGS="-DZ_PREFIX" \
> > > > > > ./configure --enable-shared --host=$CFGHOST
> > > > > > --build=%{_build} \
> > > > > > ....
> > > > > > 
> > > > > > What does this flag do, and do you know why
> > the
> > > > > > things it turns on in
> > > > > > zconf.h are not enabled by default?
> > > > > > 
> > > > > > Regards, Stuart
> > > > > > 
> > > > > > On Tue, 2007-10-30 at 15:27 -0700, hong
> > zhang
> > > > wrote:
> > > > > > > Stuart,
> > > > > > > 
> > > > > > > I want to add -DZ_PREFIX to turn on inside
> > > > > > zconf.h.
> > > > > > > Where should I add  -DZ_PREFIX  in
> > > > DirectFB.spec?
> > > > > > > 
> > > > > > > When I upgrade zlib and I found library
> > header
> > > > > > files
> > > > > > > in toolchain is not upgraded and rootfs is
> > > > > > upgraded.
> > > > > > > 
> > > > > > > Thanks.
> > > > > > > 
> > > > > > > ---henry
> > > > > > > 
> > > > > > >
> > > >
> > __________________________________________________
> > > > > > > Do You Yahoo!?
> > > > > > > Tired of spam?  Yahoo! Mail has the best
> > spam
> > > > > > protection around 
> > > > > > > http://mail.yahoo.com 
> > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > >
> > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Tired of spam?  Yahoo! Mail has the best spam
> > > > protection around 
> > > > > http://mail.yahoo.com 
> > > > 
> > > > 
> > > 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > > http://mail.yahoo.com 
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]