From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.rex-schley.de ([217.19.183.94] helo=mail.eckelmann.de) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TjRt2-0002So-6h for ptxdist@pengutronix.de; Fri, 14 Dec 2012 10:48:58 +0100 Received: from mail.eckelmann.de (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id A1042178AD90_CAF607B for ; Fri, 14 Dec 2012 09:48:55 +0000 (GMT) Received: from dag.eckelmann.group (ex-dag01.eckelmann.group [192.168.13.8]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "*.eckelmann.group", Issuer "Eckelmann Root CA" (not verified)) by mail.eckelmann.de (Sophos Email Appliance) with ESMTPS id 0575D178AC24_CAF607F for ; Fri, 14 Dec 2012 09:48:55 +0000 (GMT) From: "Schenk, Gavin" Date: Fri, 14 Dec 2012 09:48:54 +0000 Message-ID: References: <20121214094312.GD32091@pengutronix.de> In-Reply-To: <20121214094312.GD32091@pengutronix.de> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" Hi, the output: gschenk@vm621deb-1:/var/projects/prodos3_experimental/ptxdist$ ./p compile libpng ---------------------- target: libpng.compile ---------------------- make[1]: Entering directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50' make all-am make[2]: Entering directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50' /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c -o libpng12_la-png.lo `test -f 'png.c' || echo './'`png.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngset.lo -MD -MP -MF .deps/libpng12_la-pngset.Tpo -c -o libpng12_la-pngset.lo `test -f 'pngset.c' || echo './'`pngset.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngget.lo -MD -MP -MF .deps/libpng12_la-pngget.Tpo -c -o libpng12_la-pngget.lo `test -f 'pngget.c' || echo './'`pngget.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrutil.lo -MD -MP -MF .deps/libpng12_la-pngrutil.Tpo -c -o libpng12_la-pngrutil.lo `test -f 'pngrutil.c' || echo './'`pngrutil.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngtrans.lo -MD -MP -MF .deps/libpng12_la-pngtrans.Tpo -c -o libpng12_la-pngtrans.lo `test -f 'pngtrans.c' || echo './'`pngtrans.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwutil.lo -MD -MP -MF .deps/libpng12_la-pngwutil.Tpo -c -o libpng12_la-pngwutil.lo `test -f 'pngwutil.c' || echo './'`pngwutil.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngread.lo -MD -MP -MF .deps/libpng12_la-pngread.Tpo -c -o libpng12_la-pngread.lo `test -f 'pngread.c' || echo './'`pngread.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrio.lo -MD -MP -MF .deps/libpng12_la-pngrio.Tpo -c -o libpng12_la-pngrio.lo `test -f 'pngrio.c' || echo './'`pngrio.c libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrutil.lo -MD -MP -MF .deps/libpng12_la-pngrutil.Tpo -c pngrutil.c -fPIC -DPIC -o .libs/libpng12_la-pngrutil.o libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngget.lo -MD -MP -MF .deps/libpng12_la-pngget.Tpo -c pngget.c -fPIC -DPIC -o .libs/libpng12_la-pngget.o /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwio.lo -MD -MP -MF .deps/libpng12_la-pngwio.Tpo -c -o libpng12_la-pngwio.lo `test -f 'pngwio.c' || echo './'`pngwio.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwrite.lo -MD -MP -MF .deps/libpng12_la-pngwrite.Tpo -c -o libpng12_la-pngwrite.lo `test -f 'pngwrite.c' || echo './'`pngwrite.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrtran.lo -MD -MP -MF .deps/libpng12_la-pngrtran.Tpo -c -o libpng12_la-pngrtran.lo `test -f 'pngrtran.c' || echo './'`pngrtran.c /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwtran.lo -MD -MP -MF .deps/libpng12_la-pngwtran.Tpo -c -o libpng12_la-pngwtran.lo `test -f 'pngwtran.c' || echo './'`pngwtran.c libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngset.lo -MD -MP -MF .deps/libpng12_la-pngset.Tpo -c pngset.c -fPIC -DPIC -o .libs/libpng12_la-pngset.o /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngmem.lo -MD -MP -MF .deps/libpng12_la-pngmem.Tpo -c -o libpng12_la-pngmem.lo `test -f 'pngmem.c' || echo './'`pngmem.c libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwutil.lo -MD -MP -MF .deps/libpng12_la-pngwutil.Tpo -c pngwutil.c -fPIC -DPIC -o .libs/libpng12_la-pngwutil.o /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngerror.lo -MD -MP -MF .deps/libpng12_la-pngerror.Tpo -c -o libpng12_la-pngerror.lo `test -f 'pngerror.c' || echo './'`pngerror.c libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c png.c -fPIC -DPIC -o .libs/libpng12_la-png.o libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrio.lo -MD -MP -MF .deps/libpng12_la-pngrio.Tpo -c pngrio.c -fPIC -DPIC -o .libs/libpng12_la-pngrio.o libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngtrans.lo -MD -MP -MF .deps/libpng12_la-pngtrans.Tpo -c pngtrans.c -fPIC -DPIC -o .libs/libpng12_la-pngtrans.o /bin/bash ./libtool --tag=CC --mode=compile i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngpread.lo -MD -MP -MF .deps/libpng12_la-pngpread.Tpo -c -o libpng12_la-pngpread.lo `test -f 'pngpread.c' || echo './'`pngpread.c rm -f libpng.sym libpng.sym.new libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngread.lo -MD -MP -MF .deps/libpng12_la-pngread.Tpo -c pngread.c -fPIC -DPIC -o .libs/libpng12_la-pngread.o libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwrite.lo -MD -MP -MF .deps/libpng12_la-pngwrite.Tpo -c pngwrite.c -fPIC -DPIC -o .libs/libpng12_la-pngwrite.o i686-atom-linux-gnu-cpp -DPNG_CONFIGURE_LIBPNG -DPNG_BUILDSYMS ./png.h | \ /opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed -n -e \ 's|^.*PNG_FUNCTION_EXPORT[ ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \ -e 's|^.*PNG_DATA_EXPORT[ ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \ >libpng.sym.new libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwio.lo -MD -MP -MF .deps/libpng12_la-pngwio.Tpo -c pngwio.c -fPIC -DPIC -o .libs/libpng12_la-pngwio.o libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwtran.lo -MD -MP -MF .deps/libpng12_la-pngwtran.Tpo -c pngwtran.c -fPIC -DPIC -o .libs/libpng12_la-pngwtran.o libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngmem.lo -MD -MP -MF .deps/libpng12_la-pngmem.Tpo -c pngmem.c -fPIC -DPIC -o .libs/libpng12_la-pngmem.o libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngerror.lo -MD -MP -MF .deps/libpng12_la-pngerror.Tpo -c pngerror.c -fPIC -DPIC -o .libs/libpng12_la-pngerror.o libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrtran.lo -MD -MP -MF .deps/libpng12_la-pngrtran.Tpo -c pngrtran.c -fPIC -DPIC -o .libs/libpng12_la-pngrtran.o libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngpread.lo -MD -MP -MF .deps/libpng12_la-pngpread.Tpo -c pngpread.c -fPIC -DPIC -o .libs/libpng12_la-pngpread.o mv libpng.sym.new libpng.sym cp libpng-config libpng12-config cp libpng.pc libpng12.pc rm -f libpng.vers libpng.vers.new echo PNG12_0 '{global:' > libpng.vers.new libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngmem.lo -MD -MP -MF .deps/libpng12_la-pngmem.Tpo -c pngmem.c -o libpng12_la-pngmem.o >/dev/null 2>&1 /opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed s/$/\;/ libpng.sym >> libpng.vers.new echo 'local: *; };' >> libpng.vers.new mv libpng.vers.new libpng.vers libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngpread.lo -MD -MP -MF .deps/libpng12_la-pngpread.Tpo -c pngpread.c -o libpng12_la-pngpread.o >/dev/null 2>&1 mv -f .deps/libpng12_la-pngmem.Tpo .deps/libpng12_la-pngmem.Plo libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrio.lo -MD -MP -MF .deps/libpng12_la-pngrio.Tpo -c pngrio.c -o libpng12_la-pngrio.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngset.lo -MD -MP -MF .deps/libpng12_la-pngset.Tpo -c pngset.c -o libpng12_la-pngset.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngget.lo -MD -MP -MF .deps/libpng12_la-pngget.Tpo -c pngget.c -o libpng12_la-pngget.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwrite.lo -MD -MP -MF .deps/libpng12_la-pngwrite.Tpo -c pngwrite.c -o libpng12_la-pngwrite.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngread.lo -MD -MP -MF .deps/libpng12_la-pngread.Tpo -c pngread.c -o libpng12_la-pngread.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngtrans.lo -MD -MP -MF .deps/libpng12_la-pngtrans.Tpo -c pngtrans.c -o libpng12_la-pngtrans.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwio.lo -MD -MP -MF .deps/libpng12_la-pngwio.Tpo -c pngwio.c -o libpng12_la-pngwio.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwutil.lo -MD -MP -MF .deps/libpng12_la-pngwutil.Tpo -c pngwutil.c -o libpng12_la-pngwutil.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrutil.lo -MD -MP -MF .deps/libpng12_la-pngrutil.Tpo -c pngrutil.c -o libpng12_la-pngrutil.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngerror.lo -MD -MP -MF .deps/libpng12_la-pngerror.Tpo -c pngerror.c -o libpng12_la-pngerror.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngrtran.lo -MD -MP -MF .deps/libpng12_la-pngrtran.Tpo -c pngrtran.c -o libpng12_la-pngrtran.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c png.c -o libpng12_la-png.o >/dev/null 2>&1 libtool: compile: i686-atom-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-pngwtran.lo -MD -MP -MF .deps/libpng12_la-pngwtran.Tpo -c pngwtran.c -o libpng12_la-pngwtran.o >/dev/null 2>&1 mv -f .deps/libpng12_la-pngrio.Tpo .deps/libpng12_la-pngrio.Plo mv -f .deps/libpng12_la-pngget.Tpo .deps/libpng12_la-pngget.Plo mv -f .deps/libpng12_la-pngread.Tpo .deps/libpng12_la-pngread.Plo mv -f .deps/libpng12_la-pngwio.Tpo .deps/libpng12_la-pngwio.Plo mv -f .deps/libpng12_la-png.Tpo .deps/libpng12_la-png.Plo mv -f .deps/libpng12_la-pngerror.Tpo .deps/libpng12_la-pngerror.Plo mv -f .deps/libpng12_la-pngset.Tpo .deps/libpng12_la-pngset.Plo mv -f .deps/libpng12_la-pngwtran.Tpo .deps/libpng12_la-pngwtran.Plo mv -f .deps/libpng12_la-pngpread.Tpo .deps/libpng12_la-pngpread.Plo mv -f .deps/libpng12_la-pngrutil.Tpo .deps/libpng12_la-pngrutil.Plo mv -f .deps/libpng12_la-pngrtran.Tpo .deps/libpng12_la-pngrtran.Plo mv -f .deps/libpng12_la-pngtrans.Tpo .deps/libpng12_la-pngtrans.Plo mv -f .deps/libpng12_la-pngwrite.Tpo .deps/libpng12_la-pngwrite.Plo mv -f .deps/libpng12_la-pngwutil.Tpo .deps/libpng12_la-pngwutil.Plo /bin/bash ./libtool --tag=CC --mode=link i686-atom-linux-gnu-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: i686-atom-linux-gnu-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/i686-atom-linux-gnu/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/i686-atom-linux-gnu/4.7.2/../../../../i686-atom-linux-gnu/bin/ld:libpng.vers:2: syntax error in VERSION script collect2: error: ld returned 1 exit status make[2]: *** [libpng12.la] Error 1 make[2]: Leaving directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build-target/libpng-1.2.50' make: *** [/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/state/libpng.compile] Error 2 gschenk@vm621deb-1:/var/projects/prodos3_experimental/ptxdist$ Regards, Gavin Schenk Dipl.-Inform. (FH) Entwicklung Customized Automation Systems Eckelmann AG Berliner Str. 161, 65205 Wiesbaden Telefon +49 611 7103-258 Fax +49 611 7103-133 g.schenk@eckelmann.de www.eckelmann.de Eckelmann Group - Source of inspiration > -----Original Message----- > From: ptxdist-bounces@pengutronix.de [mailto:ptxdist- > bounces@pengutronix.de] On Behalf Of Michael Olbrich > Sent: Friday, December 14, 2012 10:43 AM > To: ptxdist@pengutronix.de > Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, > and new atom toolchain i686-atom-linux > > On Thu, Dec 13, 2012 at 12:40:53PM +0000, Schenk, Gavin wrote: > > yesterday I read about the new toolchain, that has Atom optimization by > default. > > > > I decided to give it a try and: > > Compiled the new toolchain: gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a- > kernel-2.6.39-sanitized > > Migrated my project: 2012.10.0 to 2012.12.0 > > Update Kernel and rt-patchstack: 3.4.2 to 3.6.10 > > > > Now the compilation fails on libpng 1.2.50 that is the same version as in > ptxdist-2012.10.0. > > > > > > libtool: link: i686-atom-linux-gnu-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/i686-atom-linux-gnu/gcc-4.7.2-glibc- > 2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/i686-atom-linux- > gnu/4.7.2/../../../../i686-atom-linux-gnu/bin/ld:libpng.vers:2: syntax > error in VERSION script > > collect2: error: ld returned 1 exit status > > make[2]: *** [libpng12.la] Error 1 > > make[2]: Leaving directory > `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build- > target/libpng-1.2.50' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory > `/var/projects/prodos3_experimental/ptxdist/platform-BB11QA6/build- > target/libpng-1.2.50' > > make: *** [/var/projects/prodos3_experimental/ptxdist/platform- > BB11QA6/state/libpng.compile] Error 2 > > > > I cannot reproduce this here so far. Please sent the output of the whole > compile stage. There should be some output about creating libpng.vers. > > 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 Eckelmann Aktiengesellschaft Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender) Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert Vorsitzender des Aufsichtsrats: Hubertus G. Krossa Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636 http://www.eckelmann.de -- ptxdist mailing list ptxdist@pengutronix.de