SDL fails for Buildroot arm926ejs toolchain
Hi all,
I am trying to build arm926ejs toolchain (little endian, uclibc 0.9.29, gcc 4.2.1) with sdl enabled.
While building sdl fails with below error. Kindly help me to solve it. I searched google and found from link that its related to machine hardware name.
http://www.gp32x.com/board/index.php?showtopic=38956&pid=562697&mode=threaded&show=&st=&
/usr/include/asm/errno.h:9:4: warning: #warning This machine appears to be neither x86_64 nor i386../src/stdlib/SDL_iconv.c: In function 'SDL_iconv':./src/stdlib/SDL_iconv.c:54: error: 'E2BIG' undeclared (first use in this function)./src/stdlib/SDL_iconv.c:54: error: (Each undeclared identifier is reported only once./src/stdlib/SDL_iconv.c:54: error: for each function it appears in.) ./src/stdlib/SDL_iconv.c:56: error: 'EILSEQ' undeclared (first use in this function)./src/stdlib/SDL_iconv.c:58: error: 'EINVAL' undeclared (first use in this function)
make[1]: *** [build/SDL_iconv.lo] Error 1
make[1]: Leaving directory `/home/guru/project/original/bldrt/buildroot/build_arm/SDL-1.2.12'
make: *** [/home/guru/project/original/bldrt/buildroot/build_arm/SDL-1.2.12/.compiled] Error 2
Also when i looked inside "/usr/include/asm" of buildrrot toolchain
directory i found that SDL is presently taking /usr from root of my linux OS and not from Buildroot toolchain /usr directory.
Thanks in advance
Regards
Gururaja
Signature · 2 lines
View this message in context: http://www.nabble.com/SDL-fails-for-Buildroot-arm926ejs-toolchain-tf4834503.html#a13830846 Sent from the BuildRoot mailing list archive at Nabble.com.
Quoted 36 lines · Hebbar
Hi all,
I am trying to build arm926ejs toolchain (little endian, uclibc 0.9.29, gcc 4.2.1) with sdl enabled.
While building sdl fails with below error. Kindly help me to solve it. I searched google and found from link that its related to machine hardware name.http://www.gp32x.com/board/index.php?showtopic=38956&pid=562697&mode=threaded&show=&st=&
/usr/include/asm/errno.h:9:4: warning: #warning This machine appears to be neitherx86_64nor i386../src/stdlib/SDL_iconv.c: In function 'SDL_iconv':./src/stdlib/SDL_iconv.c:54: error: 'E2BIG' undeclared (first use in this function)./src/stdlib/SDL_iconv.c:54: error: (Each undeclared identifier is reported only once./src/stdlib/SDL_iconv.c:54: error: for each function it appears in.)./src/stdlib/SDL_iconv.c:56: error: 'EILSEQ' undeclared (first use in this function)./src/stdlib/SDL_iconv.c:58: error: 'EINVAL' undeclared (first use in this function)
make[1]: *** [build/SDL_iconv.lo] Error 1
make[1]: Leaving directory `/home/guru/project/original/bldrt/buildroot/build_arm/SDL-1.2.12'
make: *** [/home/guru/project/original/bldrt/buildroot/build_arm/SDL-1.2.12/.compiled] Error 2Also when i looked inside "
/usr/include/asm" of buildrrot toolchain
directory i found that SDL is presently taking /usr from root of my linux OS and not from Buildroot toolchain /usr directory.
Quoted 4 lines
Thanks in advance
Regards
Gururaja
Hi,
Please post your output of configure. I have SDL-1.2.12 built ok and headers are taken from staging_dir.
Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
Hi Ivan
I am using version SDL-1.2.12. Below is SDL Config.log and SDL configure
items inside .config from buildroot directory.
$ ./configure --target=arm-linux --host=arm-linux --build=i386-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/bin --sbindir=/sbin --libdir=/lib --libexecdir=/lib --sysconfdir=/etc --datadir=/share --localstatedir=/var --includedir=/include --mandir=/man --infodir=/info --enable-pulseaudio=no --disable-arts --disable-esd --disable-nasm --enable-video-fbcon=yes --enable-video-directfb=yes --enable-video-qtopia=no --enable-video-x11=yes
BR2_PACKAGE_NCURSES=y
BR2_PACKAGE_NCURSES_TARGET_HEADERS=y
# graphic libraries # BR2_PACKAGE_DIRECTFB=y BR2_PACKAGE_DIRECTFB_MULTI=y # BR2_PACKAGE_IMAGEMAGICK is not set BR2_PACKAGE_JPEG=y BR2_PACKAGE_LIBPNG=y BR2_PACKAGE_LIBUNGIF=y BR2_PACKAGE_SDL=y
#
# SDL options selection
#
BR2_PACKAGE_SDL_FBCON=y
BR2_PACKAGE_SDL_DIRECTFB=y
# BR2_PACKAGE_SDL_QTOPIA is not set
BR2_PACKAGE_SDL_X11=y
# BR2_PACKAGE_SDL_TTF is not set
# BR2_PACKAGE_TIFF is not set
BR2_PACKAGE_FBV=y
# BR2_PACKAGE_QTE is not set
# BR2_PACKAGE_QTOPIA4 is not set
BR2_PACKAGE_XSERVER_none=y
# BR2_PACKAGE_XSERVER_x11r7 is not set
# BR2_PACKAGE_XSERVER_xorg is not set
# BR2_PACKAGE_XSERVER_tinyx is not set
BR2_X11_PREFIX="/usr"
#
# X libraries and helper libraries
#
# BR2_PACKAGE_ATK is not set
# BR2_PACKAGE_PANGO is not set
# BR2_PACKAGE_LIBDRM is not set
# BR2_PACKAGE_LIBGLIB12 is not set
BR2_PACKAGE_LIBGLIB2=y
BR2_PACKAGE_FONTCONFIG=y
BR2_PACKAGE_FREETYPE=y
# BR2_FREETYPE_VERSION_2_2_1 is not set
BR2_FREETYPE_VERSION_2_3_5=y
BR2_FREETYPE_VERSION="2.3.5"
BR2_PACKAGE_TSLIB=y
Thanks in advance
Regards
Gururaja
Hi,
Please post your output of configure. I have SDL-1.2.12 built ok and headers are taken from staging_dir.
Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
Signature · 2 lines
View this message in context: http://www.nabble.com/SDL-fails-for-Buildroot-arm926ejs-toolchain-tf4834503.html#a13848331 Sent from the BuildRoot mailing list archive at Nabble.com.
Quoted 11 lines · Hebbar
#
# SDL options selection
#
BR2_PACKAGE_SDL_FBCON=y
BR2_PACKAGE_SDL_DIRECTFB=y
#BR2_PACKAGE_SDL_QTOPIAis not set
BR2_PACKAGE_SDL_X11=y
#BR2_PACKAGE_SDL_TTFis not set
#BR2_PACKAGE_TIFFis not set
Try enabling only BR2_PACKAGE_SDL_FBCON=y
Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
Hi Ivan
I removed BR2_PACKAGE_SDL_X11 and it worked fine.
BR2_PACKAGE_SDL_FBCON=y
BR2_PACKAGE_SDL_DIRECTFB=y
# BR2_PACKAGE_SDL_QTOPIA is not set
# BR2_PACKAGE_SDL_X11 is not set
# BR2_PACKAGE_SDL_TTF is not
Thanks for the help.
Regards
Gururaja
Quoted 29 lines · Ivan Kuten
Quoted 11 lines · Hebbar
#
# SDL options selection
#
BR2_PACKAGE_SDL_FBCON=y
BR2_PACKAGE_SDL_DIRECTFB=y
#BR2_PACKAGE_SDL_QTOPIAis not set
BR2_PACKAGE_SDL_X11=y
#BR2_PACKAGE_SDL_TTFis not set
#BR2_PACKAGE_TIFFis not setTry enabling only BR2_PACKAGE_SDL_FBCON=y
Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
Signature · 2 lines
View this message in context: http://www.nabble.com/SDL-fails-for-Buildroot-arm926ejs-toolchain-tf4834503.html#a13855274 Sent from the BuildRoot mailing list archive at Nabble.com.
Quoted 4 lines · Hebbar
Hi Ivan
I removed
BR2_PACKAGE_SDL_X11and it worked fine.
I'd suggest for you to open a bug in bug tracking and post your configs, config.log
Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------