All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Vinokurov <d.vinokuroff@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: opkg-sdk_svn build failure
Date: Wed, 25 Nov 2009 01:00:16 +0500	[thread overview]
Message-ID: <4B0C3B50.8010901@gmail.com> (raw)
In-Reply-To: <4B0C2825.2070001@gmail.com>

[-- 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",


  reply	other threads:[~2009-11-24 20:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 18:38 opkg-sdk_svn build failure Dmitry Vinokurov
2009-11-24 20:00 ` Dmitry Vinokurov [this message]
2009-11-24 21:19   ` Graham Gower
2009-12-27  2:24     ` Khem Raj
2009-12-27  8:21       ` Graham Gower

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=4B0C3B50.8010901@gmail.com \
    --to=d.vinokuroff@gmail.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.