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