From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1fLkUh-00050b-LW for ptxdist@pengutronix.de; Thu, 24 May 2018 09:17:45 +0200 Received: by mail-pl0-x242.google.com with SMTP id m24-v6so486277pls.11 for ; Thu, 24 May 2018 00:17:03 -0700 (PDT) MIME-Version: 1.0 References: <20180523203857.GA7632@lenoch> In-Reply-To: <20180523203857.GA7632@lenoch> From: Wim Vinckier Date: Thu, 24 May 2018 09:16:48 +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="===============2102625241==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============2102625241== Content-Type: multipart/alternative; boundary="0000000000000cf6bf056cee70ac" --0000000000000cf6bf056cee70ac Content-Type: text/plain; charset="UTF-8" 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. Thank you. > > > This is the SDL part of my congfiguration: > > > > # > > # sdl > > # > > PTXCONF_SDL_GFX=m > > PTXCONF_SDL_TTF=y > > PTXCONF_SDL=y > > PTXCONF_SDL_TIMERS=y > > PTXCONF_SDL_FILE=y > > PTXCONF_SDL_CPUINFO=y > > # PTXCONF_SDL_AUDIO is not set > > # PTXCONF_SDL_VIDEO is not set > > PTXCONF_SDL_EVENT=y > > # PTXCONF_SDL_JOYSTICK is not set > > # PTXCONF_SDL_CDROM is not set > > PTXCONF_SDL_THREADS=y > > PTXCONF_SDL_TSLIB=y > > PTXCONF_SDL_IMAGE=m > > # PTXCONF_SDL_IMAGE__BMP is not set > > # PTXCONF_SDL_IMAGE__GIF is not set > > PTXCONF_SDL_IMAGE__JPG=y > > # PTXCONF_SDL_IMAGE__LBM is not set > > # PTXCONF_SDL_IMAGE__PCX is not set > > PTXCONF_SDL_IMAGE__PNG=y > > # PTXCONF_SDL_IMAGE__PNM is not set > > # PTXCONF_SDL_IMAGE__TGA is not set > > # PTXCONF_SDL_IMAGE__TIF is not set > > # PTXCONF_SDL_IMAGE__XCF is not set > > # PTXCONF_SDL_IMAGE__XPM is not set > > # PTXCONF_SDL_IMAGE__XV is not set > > # PTXCONF_SDL_MIXER is not set > > > > > > Does anyone knows what could be going on? > > > > Kind regards, > > > > wim vinckier. > > -- > > I would love to change the world, but they wont give me the source code. > > > _______________________________________________ > > ptxdist mailing list > > ptxdist@pengutronix.de > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > > -- > I would love to change the world, but they wont give me the source code. > --0000000000000cf6bf056cee70ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

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.

Thank you.

> This is the SDL part of my congfiguration:
>
> #
> # sdl
> #
> PTXCONF_SDL_GFX=3Dm
> PTXCONF_SDL_TTF=3Dy
> PTXCONF_SDL=3Dy
> PTXCONF_SDL_TIMERS=3Dy
> PTXCONF_SDL_FILE=3Dy
> PTXCONF_SDL_CPUINFO=3Dy
> # PTXCONF_SDL_AUDIO is not set
> # PTXCONF_SDL_VIDEO is not set
> PTXCONF_SDL_EVENT=3Dy
> # PTXCONF_SDL_JOYSTICK is not set
> # PTXCONF_SDL_CDROM is not set
> PTXCONF_SDL_THREADS=3Dy
> PTXCONF_SDL_TSLIB=3Dy
> PTXCONF_SDL_IMAGE=3Dm
> # PTXCONF_SDL_IMAGE__BMP is not set
> # PTXCONF_SDL_IMAGE__GIF is not set
> PTXCONF_SDL_IMAGE__JPG=3Dy
> # PTXCONF_SDL_IMAGE__LBM is not set
> # PTXCONF_SDL_IMAGE__PCX is not set
> PTXCONF_SDL_IMAGE__PNG=3Dy
> # PTXCONF_SDL_IMAGE__PNM is not set
> # PTXCONF_SDL_IMAGE__TGA is not set
> # PTXCONF_SDL_IMAGE__TIF is not set
> # PTXCONF_SDL_IMAGE__XCF is not set
> # PTXCONF_SDL_IMAGE__XPM is not set
> # PTXCONF_SDL_IMAGE__XV is not set
> # PTXCONF_SDL_MIXER is not set
>
>
> Does anyone knows what could be going on?
>
> Kind regards,
>
> wim vinckier.
> --
> I would love to change the world, but they wont give me the source cod= e.

> _______________________________________________
> ptxdist mailing list
> ptxdist@pe= ngutronix.de


_______________________________________________
ptxdist mailing list
ptxdist@pengutr= onix.de

--
I would love to change the world, but th= ey wont give me the source code.
--0000000000000cf6bf056cee70ac-- --===============2102625241== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============2102625241==--