From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Error in compiling libpng
Date: Fri, 16 Aug 2013 14:42:51 +0200 [thread overview]
Message-ID: <20130816124251.GB29492@pengutronix.de> (raw)
In-Reply-To: <loom.20130709T111601-189@post.gmane.org>
On Tue, Jul 09, 2013 at 09:35:24AM +0000, Frederic DUFOURG wrote:
> I am compiling a new kernel and filesystem for my mini2440 using
> "OSELAS.BSP-Pengutronix-Mini2440-2012.12.0" the last release supporting
> mini2440 as I understand (or am I wrong?). I receive this error message
> during compilation of libpng
>
> -------------------------------------------------------------------------
> ----------------------
> target: libpng.compile
> ----------------------
>
> make[1]: Entering directory `/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutro
> nix-Mini2440-2012.12.0/platform-mini2440/build-target/libpng-1.2.50'
>
> make all-am
>
> make[2]: Entering directory `/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutro
> nix-Mini2440-2012.12.0/platform-mini2440/build-target/libpng-1.2.50'
>
> /bin/bash ./libtool --tag=CC --mode=link arm-v4t-linux-gnueabi-gcc -g -O2
> -no-undefined -export-dynamic -version-number 0:50:0 -Wl,
> --version-script=libpng.vers -o libpng12.la -rpath /usr/lib libpng12_la-png.lo
> libpng12_la-pngset.lo libpng12_la-pngget.lo libpng12_la-pngrutil.lo
> libpng12_la-pngtrans.lo libpng12_la-pngwutil.lo libpng12_la-pngread.lo
> libpng12_la-pngrio.lo libpng12_la-pngwio.lo libpng12_la-pngwrite.lo
> libpng12_la-pngrtran.lo libpng12_la-pngwtran.lo libpng12_la-pngmem.lo
> libpng12_la-pngerror.lo libpng12_la-pngpread.lo -lz -lm
> libtool: link: arm-v4t-linux-gnueabi-gcc -shared .libs/libpng12_la-png.o
> .libs/libpng12_la-pngset.o .libs/libpng12_la-pngget.o
> .libs/libpng12_la-pngrutil.o .libs/libpng12_la-pngtrans.o
> .libs/libpng12_la-pngwutil.o .libs/libpng12_la-pngread.o
> .libs/libpng12_la-pngrio.o .libs/libpng12_la-pngwio.o
> .libs/libpng12_la-pngwrite.o .libs/libpng12_la-pngrtran.o
> .libs/libpng12_la-pngwtran.o .libs/libpng12_la-pngmem.o
> .libs/libpng12_la-pngerror.o .libs/libpng12_la-pngpread.o
> -lz -lm -Wl,--version-script=libpng.vers -Wl,-soname -Wl,libpng12.so.0
> -o .libs/libpng12.so.0.50.0
> /opt/OSELAS.Toolchain-2012.12.0/arm-v4t-linux-gnueabi/gcc-4.7.2-glibc-2.16.0
> -binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-v4t-linux-gnueabi/4.7.2/../../..
> /../arm-v4t-linux-gnueabi/bin/ld:libpng.vers:1: syntax error in VERSION script
>
> collect2: error: ld returned 1 exit status
> make[2]: *** [libpng12.la] Error 1
> make[2]: Leaving directory `/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutro
> nix-Mini2440-2012.12.0/platform-mini2440/build-target/libpng-1.2.50'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutro
> nix-Mini2440-2012.12.0/platform-mini2440/build-target/libpng-1.2.50'
> make: *** [/home/frederic/Travail/Mini2440/OSELAS.BSP-Pengutronix-Mini2440-2012.
> 12.0/platform-mini2440/state/libpng.compile] Error 2
>
>
> ---------------------------------------------------------------------------
> as the compose message window is limited to 80 characters per line
> it will be a bit a mess for you to undertand the screen copy.
>
> as far as I understand there is an error in libpng.vers file
>
> I copyed libpng.vers content just under
>
>
> PNG12_0 {global:
> local: *; };
>
> As the file looks strange (to me) I supposed there was a LF accidentally
> inserted between "global:" and "local" so I suppressed it but this lead to
> the same error.
>
> If you can help me.
I think I've seen this error before and I'm pretty sure this is fixed in
later ptxdist versions. But I don't remember what the exact problem was.
I think something goes wrong when this file is generated. It may be ccache
related.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2013-08-16 12:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 9:35 Frederic DUFOURG
2013-07-13 5:07 ` dave festing
2013-07-22 8:45 ` Jürgen Beisert
2013-08-16 12:42 ` Michael Olbrich [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=20130816124251.GB29492@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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