mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Issue while compiling libSDL
@ 2018-05-23  9:49 Wim Vinckier
  2018-05-23 20:38 ` Ladislav Michl
  0 siblings, 1 reply; 4+ messages in thread
From: Wim Vinckier @ 2018-05-23  9:49 UTC (permalink / raw)
  To: ptxdist


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

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'

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.

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

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

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Issue while compiling libSDL
  2018-05-23  9:49 [ptxdist] Issue while compiling libSDL Wim Vinckier
@ 2018-05-23 20:38 ` Ladislav Michl
  2018-05-24  7:16   ` Wim Vinckier
  0 siblings, 1 reply; 4+ messages in thread
From: Ladislav Michl @ 2018-05-23 20:38 UTC (permalink / raw)
  To: ptxdist

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?

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

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

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

* Re: [ptxdist] Issue while compiling libSDL
  2018-05-23 20:38 ` Ladislav Michl
@ 2018-05-24  7:16   ` Wim Vinckier
  2018-05-24 11:31     ` Wim Vinckier
  0 siblings, 1 reply; 4+ messages in thread
From: Wim Vinckier @ 2018-05-24  7:16 UTC (permalink / raw)
  To: ptxdist


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

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'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.
> <ptxdist@pengutronix.de>

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

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

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Issue while compiling libSDL
  2018-05-24  7:16   ` Wim Vinckier
@ 2018-05-24 11:31     ` Wim Vinckier
  0 siblings, 0 replies; 4+ messages in thread
From: Wim Vinckier @ 2018-05-24 11:31 UTC (permalink / raw)
  To: ptxdist


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

Hi,

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

> 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'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.

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

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

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2018-05-24 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23  9:49 [ptxdist] Issue while compiling libSDL Wim Vinckier
2018-05-23 20:38 ` Ladislav Michl
2018-05-24  7:16   ` Wim Vinckier
2018-05-24 11:31     ` Wim Vinckier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox