From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0002174]: sdl_ttf fails with not able to find SDL.h
Date: Fri, 15 Feb 2008 20:46:37 -0800 [thread overview]
Message-ID: <6d46fad1761ff35c690e21ffac25fa41@busybox.net> (raw)
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=2174
======================================================================
Reported By: hbr_in
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 2174
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 02-15-2008 19:37 PST
Last Modified: 02-15-2008 20:46 PST
======================================================================
Summary: 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
======================================================================
----------------------------------------------------------------------
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
======================================================================
next reply other threads:[~2008-02-16 4:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-16 4:46 bugs at busybox.net [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-02-16 3:37 [Buildroot] [buildroot 0002174]: sdl_ttf fails with not able to find SDL.h bugs at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6d46fad1761ff35c690e21ffac25fa41@busybox.net \
--to=bugs@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox