BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002174 [buildroot] Architecture Specific major always 02-15-08 19:37 02-15-08 20:46
Reporter hbr_in View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version
Summary 0002174: sdl_ttf fails with not able to find SDL.h
Description Hi,

I am trying to build sdl_ttf for arm926ejs toolchain with buildroto snapshot. SDL_ttf build fails with below error saying unable to find SDL.h and SDL_endian.h. and also for many other SDL related header files.

/home/guru/project/original/bldrt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os -pipe -I/home/guru/project/original/bldrt/buildroot/build_arm/staging_dir/usr/include -I/home/guru/project/original/bldrt/buildroot/build_arm/staging_dir/include --sysroot=/home/guru/project/original/bldrt/buildroot/build_arm/staging_dir/ -isysroot /home/guru/project/original/bldrt/buildroot/build_arm/staging_dir -mtune=arm9tdmi -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DX_DISPLAY_MISSING=1 -I. -I. -g -O2 -I/home/guru/project/original/bldrt/buildroot/build_arm/staging_dir/usr/include/freetype2 -I/home/guru/project/original/bldrt/buildroot/build_arm/staging_dir/usr/include -I/home/guru/project/original/bldrt/buildroot/build_arm/staging_dir/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT SDL_ttf.lo -MD -MP -MF .deps/SDL_ttf.Tpo -c SDL_ttf.c -fPIC -DPIC -o .libs/SDL_ttf.o
SDL_ttf.c:47:17: error: SDL.h: No such file or directory
SDL_ttf.c:48:24: error: SDL_endian.h: No such file or directory
In file included from SDL_ttf.c:49:
SDL_ttf.h:34:24: error: begin_code.h: No such file or directory
In file included from SDL_ttf.c:49:
SDL_ttf.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
SDL_ttf.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
SDL_ttf.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
SDL_ttf.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TTF_Font'
SDL_ttf.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TTF_Font'
SDL_ttf.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TTF_Font'
SDL_ttf.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TTF_Font'
SDL_ttf.h:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
SDL_ttf.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
<snip>
<snip>
<snip>


Let me know if i need to change or asdd any steps to solve this.

Thanks in advance.

Regards
Gururaja


Additional Information I had to manualy edit all sdl_ttf files and add "SDL/<header_name.h>" to header includes.

from #include "SDL.h" to #include "SDL/SDL.h" and many more

 Kindly let me know if
Attached Files  sdl_ttf_mk.patch [^] (472 bytes) 02-15-08 20:44
 sdl_ttf-2.0.9_sdl_header_include.patch [^] (1,929 bytes) 02-15-08 20:45

- Relationships

- Notes
(0004954)
hbr_in
02-15-08 20:46

Hi,

I have updated sdl_ttf.mk to allow patching from package/sdl_ttf/ folder

Also i have added patch file to temporarily allow sdl_ttf to build.
Kindly go through the files and let me know if this is ok.

regards
Gururaja
 

- Issue History
Date Modified Username Field Change
02-15-08 19:37 hbr_in New Issue
02-15-08 19:37 hbr_in Status new => assigned
02-15-08 19:37 hbr_in Assigned To  => buildroot
02-15-08 20:44 hbr_in File Added: sdl_ttf_mk.patch
02-15-08 20:45 hbr_in File Added: sdl_ttf-2.0.9_sdl_header_include.patch
02-15-08 20:46 hbr_in Note Added: 0004954


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker