From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1fLoSp-0002v4-B5 for ptxdist@pengutronix.de; Thu, 24 May 2018 13:31:23 +0200 Received: by mail-pf0-x244.google.com with SMTP id j20-v6so733703pff.10 for ; Thu, 24 May 2018 04:31:23 -0700 (PDT) MIME-Version: 1.0 References: <20180523203857.GA7632@lenoch> In-Reply-To: From: Wim Vinckier Date: Thu, 24 May 2018 13:31:08 +0200 Message-ID: Subject: Re: [ptxdist] Issue while compiling libSDL List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0847240166==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0847240166== Content-Type: multipart/alternative; boundary="00000000000092b8f1056cf1fdf6" --00000000000092b8f1056cf1fdf6 Content-Type: text/plain; charset="UTF-8" Hi, On Thu, 24 May 2018 at 09:16, Wim Vinckier wrote: > Hi, > > On Wed, 23 May 2018 at 22:39, Ladislav Michl wrote: > >> On Wed, May 23, 2018 at 11:49:16AM +0200, Wim Vinckier wrote: >> > Hi List, >> > >> > I'm trying to compile libSDL for arm with toolchain >> > >> oselas.toolchain-2018.02.0-arm-v5te-linux-gnueabi-gcc-7.3.1-glibc-2.27-binutils-2.30-kernel-4.15-sanitize >> > with ptxdist-2018.05.0 but it fails and I don't understand what's going >> > wrong. This is the linker error I get: >> > >> > ./.libs/libSDL_image.so: undefined reference to `png_set_longjmp_fn' >> >> Just did quick test with both arm-v5te-linux-gnueabi and >> arm-v7a-linux-gnueabi >> and I do not see above error. Also, care to tell what ptxdist version are >> you >> using? >> >> > I'm using ptxdist-2018.05.0. > > Google results for 'png_set_longjmp_fn' query gives a bit of clue, care to >> check them? >> > > Most of the items tells refer to an old version of the library hanging > around. I see there's a libpng12 and a libpng16 in my tree. I'll try to > clean it complete and come back after the rebuild. > > Thanks for the suggestion, I should have checked that one earlier. > It looks like this suggestion was the correct suggestion. There was a libpng12 hanging around from the old build. I did a complete `ptxdist distclean` and after a rebuild I got a working SDL library. Thanks again, wim vinckier. --00000000000092b8f1056cf1fdf6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Thu, 24 May 2018 at 09:16, Wim Vinckier <wimpunk@gmail.com> wrote:
Hi,

<= div dir=3D"ltr">On Wed, 23 May 2018 at 22:39, Ladislav Michl <ladis@linux-mips.org>= ; wrote:
On Wed,= May 23, 2018 at 11:49:16AM +0200, Wim Vinckier wrote:
> Hi List,
>
> I'm trying to compile libSDL for arm with toolchain
> oselas.toolchain-2018.02.0-arm-v5te-linux-gnueabi-gcc-7.3.1-glibc-2.27= -binutils-2.30-kernel-4.15-sanitize
> with ptxdist-2018.05.0 but it fails and I don't understand what= 9;s going
> wrong.=C2=A0 This is the linker error I get:
>
> ./.libs/libSDL_image.so: undefined reference to `png_set_longjmp_fn= 9;

Just did quick test with both arm-v5te-linux-gnueabi and arm-v7a-linux-gnue= abi
and I do not see above error. Also, care to tell what ptxdist version are y= ou
using?

=C2=A0
I'm using ptxdist-2018.05.0= .

Google results for 'png_set_longjmp_fn' query gives a bit of clue, = care to
check them?

Most of the items tells ref= er to an old version of the library hanging around. I see there's a lib= png12 and a libpng16 in my tree. I'll try to clean it complete and come= back after the rebuild.

Thanks f= or the suggestion, I should have checked that one earlier.
<= /blockquote>

It looks like this suggestion was the correct s= uggestion.=C2=A0 There was a libpng12 hanging around from the old build. I = did a complete `ptxdist distclean` and after a rebuild I got a working SDL = library.

Thanks again,

wim vinckier.
--00000000000092b8f1056cf1fdf6-- --===============0847240166== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0847240166==--