[Buildroot] SDL fails for Buildroot arm926ejs toolchain
ivan.kuten at promwad.com
Mon Nov 19 11:36:58 UTC 2007
> 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
> /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
> ./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
> ./src/stdlib/SDL_iconv.c:58: error: 'EINVAL' undeclared (first use in this
> make: *** [build/SDL_iconv.lo] Error 1
> make: Leaving directory
> make: ***
> 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
Please post your output of configure. I have SDL-1.2.12 built ok and headers are taken from staging_dir.
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
More information about the buildroot