mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Error in compiling libpng
@ 2013-07-09  9:35 Frederic DUFOURG
  2013-07-13  5:07 ` dave festing
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Frederic DUFOURG @ 2013-07-09  9:35 UTC (permalink / raw)
  To: ptxdist

Hi,

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.

Regards,

Frederic



-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] Error in compiling libpng
  2013-07-09  9:35 [ptxdist] Error in compiling libpng Frederic DUFOURG
@ 2013-07-13  5:07 ` dave festing
  2013-07-22  8:45 ` Jürgen Beisert
  2013-08-16 12:42 ` Michael Olbrich
  2 siblings, 0 replies; 4+ messages in thread
From: dave festing @ 2013-07-13  5:07 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 3770 bytes --]

Frederic,

Juergen gave me this command when I was having problems with line endings:

sed 's/.$//' daves_old_file > daves_new_file

HTH,
Dave

> To: ptxdist@pengutronix.de
> From: fdufnews@free.fr
> Date: Tue, 9 Jul 2013 09:35:24 +0000
> Subject: [ptxdist] Error in compiling libpng
> 
> Hi,
> 
> 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.
> 
> Regards,
> 
> Frederic
> 
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 4444 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] Error in compiling libpng
  2013-07-09  9:35 [ptxdist] Error in compiling libpng Frederic DUFOURG
  2013-07-13  5:07 ` dave festing
@ 2013-07-22  8:45 ` Jürgen Beisert
  2013-08-16 12:42 ` Michael Olbrich
  2 siblings, 0 replies; 4+ messages in thread
From: Jürgen Beisert @ 2013-07-22  8:45 UTC (permalink / raw)
  To: ptxdist; +Cc: Frederic DUFOURG

Hi Frederic,

On Tuesday 09 July 2013 11:35:24 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?).

Its the last release on an archive base. The BSP itself is still maintained, 
but in its git repository only.

> I receive this error message during compilation of libpng
> [...]
> /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

Strange error message. No idea yet why it happens.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-5121-206917-5128 |
Peiner Str. 6-8, 31137 Hildesheim, Germany    | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] Error in compiling libpng
  2013-07-09  9:35 [ptxdist] Error in compiling libpng Frederic DUFOURG
  2013-07-13  5:07 ` dave festing
  2013-07-22  8:45 ` Jürgen Beisert
@ 2013-08-16 12:42 ` Michael Olbrich
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2013-08-16 12:42 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-16 12:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-09  9:35 [ptxdist] Error in compiling libpng 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox