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

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