Re: External blkid library not found

2010-01-22 Thread Vaudano Luca
I saw the difference between the bitbake command and the command line command.
From bitbake
arm-oe-linux-gnueabi-pkg-config...
/mnt/shr/shr-testing/tmp/staging/i686-linux/usr/bin/pkg-config
from the command line (after the setup-env)
checking for arm-oe-linux-gnueabi-pkg-config... /usr/bin/pkg-config,
which is the correct one?
and what can I do?

Thanks
regards
Luca

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: External blkid library not found

2010-01-21 Thread Thomas Zimmermann
Am Donnerstag 21 Januar 2010 09:49:48 schrieb Vaudano Luca:
 Hello,
 
 I'm trying to compile a simple Elementary application against
 SHR-Testing with the bitbake system.
 I stuck on this error:
 http://lists.uclibc.org/pipermail/uclibc/2009-August/042875.html
 
 I installed libblkid-dev and uuid-dev packages but anything changed.
 
 Any hint?
 
 Thanks in advance
 Luca
 
Did you add a DEPENDS on blktool to your bitbake recipe?

Greets
Thomas

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: External blkid library not found

2010-01-21 Thread Vaudano Luca
No, I didn't.
Now it's only DEPENDS = elementary.

Thanks

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: External blkid library not found

2010-01-21 Thread Thomas Zimmermann
Am Donnerstag 21 Januar 2010 10:06:50 schrieb Vaudano Luca:
 No, I didn't.
 Now it's only DEPENDS = elementary.
 
 Thanks

Then you should do it. You need the libary in your bitbake tree and not on 
your buildhost system.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: External blkid library not found

2010-01-21 Thread Martin Jansa
On Thu, Jan 21, 2010 at 10:17:51AM +0100, Thomas Zimmermann wrote:
 Am Donnerstag 21 Januar 2010 10:06:50 schrieb Vaudano Luca:
  No, I didn't.
  Now it's only DEPENDS = elementary.
  
  Thanks
 
 Then you should do it. You need the libary in your bitbake tree and not on 
 your buildhost system.

Does your application depend on blkid directly or just transitively because of
some other dependency?

I've seen the same error just because some lib was pulling -L/usr/lib64
to linker cmd and there (on my buildhost) was other version of that library 
but built against blkid (and library in staging was not depending on that).

Cheers,

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: External blkid library not found

2010-01-21 Thread Vaudano Luca
My application doesn't depend directly on blkid.
I don't get how you solve your problem in your buildhost.

Thanks

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: External blkid library not found

2010-01-21 Thread Martin Jansa
On Thu, Jan 21, 2010 at 10:35:07AM +0100, Vaudano Luca wrote:
 My application doesn't depend directly on blkid.
 I don't get how you solve your problem in your buildhost.

Please check if that's the case (check/send that error - linker command).

Regards,

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: External blkid library not found

2010-01-21 Thread Vaudano Luca
Thanks, this evening at home, I will check it

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: External blkid library not found

2010-01-21 Thread Vaudano Luca
 Please check if that's the case (check/send that error - linker command).


The log says:

../shr-testing/tmp/work/armv4t-oe-linux-gnueabi/e2fsprogs-libs-1.41.8-r0/e2fsprogs-libs-1.41.8/configure
--build=i686-linux  --host=arm-oe-linux-gnueabi 

--target=arm-oe-linux-gnueabi   --prefix=/usr   
--exec_prefix=/usr  --bindir=/usr/bin   
--sbindir=/usr/sbin
--libexecdir=/usr/libexec   
--datadir=/usr/share
--sysconfdir=/etc   --sharedstatedir=/com   
--localstatedir=/var--libdir=/usr/lib   
--includedir=/usr/include   --oldincludedir=/usr/include

--infodir=/usr/share/info   --mandir=/usr/share/man
--disable-libblkid --disable-libuuid  
--enable-elf-shlibs   
...

and the error is

checking for blkid_get_cache in -lblkid... no
configure: error: external blkid library not found
FATAL: oe_runconf failed

The strange thing is that if I try to launch the previous command from
the console works, but the bitbake gives me an error. (Maybe because
the three dots in the end)

Thanks
regards
Luca

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: External blkid library not found

2010-01-21 Thread arne anka
 checking for blkid_get_cache in -lblkid... no
 configure: error: external blkid library not found
 FATAL: oe_runconf failed

 The strange thing is that if I try to launch the previous command from
 the console works, but the bitbake gives me an error. (Maybe because
 the three dots in the end)

the ellipsis is only there to make the output look nice.
i rather suspect your oe environment to miss a path, where the lib would  
be found.
check if configure has an option to set the path.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community