Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Frederic Bassaler <frederic.bassaler@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Trying to package imlib2
Date: Thu, 11 Aug 2011 22:56:26 +0200	[thread overview]
Message-ID: <20110811225626.2c1acf53@gmail.com> (raw)
In-Reply-To: <1313094934.731.11.camel@matias-lnx-host>

Le Thu, 11 Aug 2011 16:35:34 -0400,
Matias Garcia <mgarcia@rossvideo.com> a ?crit :

> > And it builds further, then there's a different
> > error :
> > 
> > ...
> > Making all in modules
> > make[4]: entrant dans le r?pertoire
> > ? /home/fred/buildroot/output/build/imlib2-1.4.4/src/modules ?
> > Making all in loaders make[5]: entrant dans le r?pertoire
> > ? /home/fred/buildroot/output/build/imlib2-1.4.4/src/modules/loaders
> > ? CC     png_la-loader_png.lo CC     jpeg_la-loader_jpeg.lo
> > loader_png.c: In function 'load':
> > loader_png.c:61: error: dereferencing pointer to incomplete type
> > loader_png.c: In function 'save':
> > loader_png.c:268: error: dereferencing pointer to incomplete type
> > loader_png.c:280: error: dereferencing pointer to incomplete type
> > loader_png.c:289: error: dereferencing pointer to incomplete type
> > loader_png.c:300: error: dereferencing pointer to incomplete type
> > make[5]: *** [png_la-loader_png.lo] Erreur 1
> > make[5]: *** Attente des t?ches non termin?es....
> > make[5]: quittant le r?pertoire
> > ? /home/fred/buildroot/output/build/imlib2-1.4.4/src/modules/loaders
> > ? make[4]: *** [all-recursive] Erreur 1 make[4]: quittant le
> > r?pertoire
> > ? /home/fred/buildroot/output/build/imlib2-1.4.4/src/modules ?
> > make[3]: *** [all-recursive] Erreur 1 make[3]: quittant le
> > r?pertoire ? /home/fred/buildroot/output/build/imlib2-1.4.4/src ?
> > make[2]: *** [all-recursive] Erreur 1 make[2]: quittant le
> > r?pertoire ? /home/fred/buildroot/output/build/imlib2-1.4.4 ?
> > make[1]: *** [all] Erreur 2 make[1]: quittant le r?pertoire
> > ? /home/fred/buildroot/output/build/imlib2-1.4.4 ? make: ***
> > [/home/fred/buildroot/output/build/imlib2-1.4.4/.stamp_built]
> > Erreur 2
> > 
> > 
> > 
> > Maybe something is still missing?
> 
> Have you looked in loader_png.c? We had to patch that file in 1.4.0,
> changing a deprecated function:
> 
> -                png_set_gray_1_2_4_to_8(png_ptr);
> +                png_set_expand_gray_1_2_4_to_8(png_ptr);

this appears to have been corrected in imlib2 1.4.4 


> 
> But it doesn't look like that's your problem. Perhaps you're using a
> newer libpng? I haven't looked at those lines, so I can't tell.
> 
> Matias
> 

Yes, I had upgraded my libpng to 1.5.4.

Now I have tried with the libpng 1.4.8, and get the same error too :(

      reply	other threads:[~2011-08-11 20:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 18:35 [Buildroot] Trying to package imlib2 Frederic Bassaler
2011-08-11 19:31 ` Matias Garcia
2011-08-11 20:18   ` Frederic Bassaler
2011-08-11 20:35     ` Matias Garcia
2011-08-11 20:56       ` Frederic Bassaler [this message]

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=20110811225626.2c1acf53@gmail.com \
    --to=frederic.bassaler@gmail.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox