* opkg-sdk_svn build failure
@ 2009-11-24 18:38 Dmitry Vinokurov
2009-11-24 20:00 ` Dmitry Vinokurov
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Vinokurov @ 2009-11-24 18:38 UTC (permalink / raw)
To: openembedded-devel
Hello,
I'm trying to build QTE SDK according to OE manual chapter "Creating and
Using a Qt Embedded SDK". Command "bitbake meta-toolchain-qte" fails with:
---------------------------------------
ERROR: function do_compile failed
ERROR: see log in
/home/raydan/work/oe/build/tmp/work/x86_64-armv5te-sdk-oe-linux-gnueabi/opkg-sdk-0.1.6+svnr363-r16/temp/log.do_compile.19556
---------------------------------------
Tail of log contains following lines:
---------------------------------------
cc1: warnings being treated as errors
hash_table.c: In function 'hash_print_stats':
hash_table.c:81: error: format '%d' expects type 'int', but argument 3
has type 'long unsigned int'
---------------------------------------
Ready to provide any additional information, if needed.
--
Best Regards,
Dmitry Vinokurov
<d.vinokuroff@gmail.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: opkg-sdk_svn build failure
2009-11-24 18:38 opkg-sdk_svn build failure Dmitry Vinokurov
@ 2009-11-24 20:00 ` Dmitry Vinokurov
2009-11-24 21:19 ` Graham Gower
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Vinokurov @ 2009-11-24 20:00 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]
Dmitry Vinokurov wrote:
> Hello,
>
> I'm trying to build QTE SDK according to OE manual chapter "Creating
> and Using a Qt Embedded SDK". Command "bitbake meta-toolchain-qte"
> fails with:
> ---------------------------------------
> ERROR: function do_compile failed
> ERROR: see log in
> /home/raydan/work/oe/build/tmp/work/x86_64-armv5te-sdk-oe-linux-gnueabi/opkg-sdk-0.1.6+svnr363-r16/temp/log.do_compile.19556
>
> ---------------------------------------
>
> Tail of log contains following lines:
> ---------------------------------------
> cc1: warnings being treated as errors
> hash_table.c: In function 'hash_print_stats':
> hash_table.c:81: error: format '%d' expects type 'int', but argument 3
> has type 'long unsigned int'
> ---------------------------------------
>
> Ready to provide any additional information, if needed.
>
Possible patch to include in opkg.inc attached.
--
Best Regards,
Dmitry Vinokurov
<d.vinokuroff@gmail.com>
--- opkg/libopkg/hash_table.c.orig 2009-11-25 00:48:49.000000000 +0500
+++ opkg/libopkg/hash_table.c 2009-11-25 00:49:16.000000000 +0500
@@ -64,7 +64,7 @@
void
hash_print_stats(hash_table_t *hash)
{
- printf("hash_table: %s, %d bytes\n"
+ printf("hash_table: %s, %ld bytes\n"
"\tn_buckets=%d, n_elements=%d, n_collisions=%d\n"
"\tmax_bucket_len=%d, n_used_buckets=%d, ave_bucket_len=%.2f\n"
"\tn_hits=%d, n_misses=%d\n",
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-12-27 8:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 18:38 opkg-sdk_svn build failure Dmitry Vinokurov
2009-11-24 20:00 ` Dmitry Vinokurov
2009-11-24 21:19 ` Graham Gower
2009-12-27 2:24 ` Khem Raj
2009-12-27 8:21 ` Graham Gower
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.