[oe-issues] [Bug 1773] New: libsdl-ttf-native build fails on compile
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Sun Jan 7 20:31:14 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=1773
Summary: libsdl-ttf-native build fails on compile
Product: Openembedded
Version: OpenZaurus 3.5.4.x
Platform: ARM
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: dothedog at comcast.net
QAContact: tinderbox-oe at gmx.net
oz3541 build on suse 10.2 x86. Looks like it can't find SDL.h.
oc60174 at i10178:~/oe/build> bitbake libsdl-ttf-native -crebuild
NOTE: Using cache in '/home/oc60174/oe/build/tmp/cache'
NOTE: Handling BitBake files: \ (2615/2615) [100 %]
NOTE: Parsing finished. 2580 cached, 0 parsed, 35 skipped, 0 masked.
NOTE: build 200701071321: started
OE Build Configuration:
BB_VERSION = "1.6.3"
OE_REVISION = "5c0e6ace2eb94ea5fc36a2308d162f38978f92f2"
TARGET_ARCH = "arm"
TARGET_OS = "linux"
MACHINE = "akita"
DISTRO = "openzaurus"
DISTRO_VERSION = "3.5.4.1"
TARGET_FPU = "soft"
NOTE: package libsdl-ttf-native-2.0.3: started
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_rebuild: started
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_clean: started
NOTE: removing /home/oc60174/oe/build/tmp/work/libsdl-ttf-native-2.0.3-r0
NOTE: removing /home/oc60174/oe/build/tmp/stamps/libsdl-ttf-native-2.0.3-r0.*
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_clean: completed
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_fetch: started
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_fetch: completed
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_unpack: started
NOTE: Unpacking /home/oc60174/sources/SDL_ttf-2.0.3.tar.gz to
/home/oc60174/oe/build/tmp/work/libsdl-ttf-native-2.0.3-r0/
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_unpack: completed
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_patch: started
NOTE: Applying patch 'new-freetype-includes.patch'
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_patch: completed
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_configure: started
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_configure: completed
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/home/oc60174/oe/build/tmp/work/libsdl-ttf-native-2.0.3-r0/temp/log.do_compile.18256)
| NOTE: make
| if /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.3\" -I.
-I/home/oc60174/oe/build/tmp/work/libsdl-ttf-native-2.0.3-r0/SDL_ttf-2.0.3
-I/home/oc60174/oe/build/tmp/staging/i686-linux/include
-I/home/oc60174/oe/build/tmp/staging/i686-linux/include -O2
-I/home/oc60174/oe/build/tmp/staging/arm-linux/include/freetype2
-I/home/oc60174/oe/build/tmp/staging/arm-linux/include -MT SDL_ttf.lo -MD -MP
-MF ".deps/SDL_ttf.Tpo" -c -o SDL_ttf.lo SDL_ttf.c; \
| then mv -f ".deps/SDL_ttf.Tpo" ".deps/SDL_ttf.Plo"; else rm -f
".deps/SDL_ttf.Tpo"; exit 1; fi
| mkdir .libs
| gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\"
-DVERSION=\"2.0.3\" -I.
-I/home/oc60174/oe/build/tmp/work/libsdl-ttf-native-2.0.3-r0/SDL_ttf-2.0.3
-I/home/oc60174/oe/build/tmp/staging/i686-linux/include
-I/home/oc60174/oe/build/tmp/staging/i686-linux/include -O2
-I/home/oc60174/oe/build/tmp/staging/arm-linux/include/freetype2
-I/home/oc60174/oe/build/tmp/staging/arm-linux/include -MT SDL_ttf.lo -MD -MP
-MF .deps/SDL_ttf.Tpo -c SDL_ttf.c -fPIC -DPIC -o .libs/SDL_ttf.lo
| SDL_ttf.c:14:17: error: SDL.h: No such file or directory
| In file included from SDL_ttf.c:15:
| SDL_ttf.h:34:24: error: begin_code.h: No such file or directory
| In file included from SDL_ttf.c:15:
| SDL_ttf.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'TTF_Font'
| SDL_ttf.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'void'
| SDL_ttf.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'int'
| SDL_ttf.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:136: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SDL_Surface'
| SDL_ttf.h:161: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'void'
| SDL_ttf.h:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'void'
| SDL_ttf.h:174:24: error: close_code.h: No such file or directory
| SDL_ttf.c:45: error: expected specifier-qualifier-list before 'Uint16'
| SDL_ttf.c: In function 'Flush_Glyph':
| SDL_ttf.c:210: error: 'c_glyph' has no member named 'cached'
| SDL_ttf.c: In function 'Flush_Cache':
| SDL_ttf.c:219: error: 'struct cached_glyph' has no member named 'cached'
| SDL_ttf.c:224: error: 'c_glyph' has no member named 'cached'
| SDL_ttf.c: At top level:
| SDL_ttf.c:230: error: expected declaration specifiers or '...' before
'Uint16'
| SDL_ttf.c: In function 'Load_Glyph':
| SDL_ttf.c:245: error: 'ch' undeclared (first use in this function)
| SDL_ttf.c:245: error: (Each undeclared identifier is reported only once
| SDL_ttf.c:245: error: for each function it appears in.)
| SDL_ttf.c:373: error: 'Uint8' undeclared (first use in this function)
| SDL_ttf.c:373: error: 'pixmap' undeclared (first use in this function)
| SDL_ttf.c:377: error: expected expression before ')' token
| SDL_ttf.c:384: error: expected ';' before 'pixel'
| SDL_ttf.c:399: error: 'c_glyph' has no member named 'cached'
| SDL_ttf.c: At top level:
| SDL_ttf.c:404: error: expected declaration specifiers or '...' before
'Uint16'
| SDL_ttf.c: In function 'Find_Glyph':
| SDL_ttf.c:408: error: 'ch' undeclared (first use in this function)
| SDL_ttf.c:411: error: 'c_glyph' has no member named 'cached'
| SDL_ttf.c:417: warning: passing argument 3 of 'Load_Glyph' makes integer from
pointer without a cast
| SDL_ttf.c:417: error: too many arguments to function 'Load_Glyph'
| SDL_ttf.c: At top level:
| SDL_ttf.c:423: warning: conflicting types for 'TTF_CloseFont'
| SDL_ttf.c:155: warning: previous implicit declaration of 'TTF_CloseFont' was
here
| SDL_ttf.c:429: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:441: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:490: error: expected declaration specifiers or '...' before
'Uint16'
| SDL_ttf.c: In function 'TTF_GlyphMetrics':
| SDL_ttf.c:495: error: 'ch' undeclared (first use in this function)
| SDL_ttf.c:495: error: too many arguments to function 'Find_Glyph'
| SDL_ttf.c: In function 'TTF_SizeText':
| SDL_ttf.c:521: error: 'Uint16' undeclared (first use in this function)
| SDL_ttf.c:521: error: 'unicode_text' undeclared (first use in this function)
| SDL_ttf.c:527: error: expected expression before ')' token
| SDL_ttf.c: In function 'TTF_SizeUTF8':
| SDL_ttf.c:544: error: 'Uint16' undeclared (first use in this function)
| SDL_ttf.c:544: error: 'unicode_text' undeclared (first use in this function)
| SDL_ttf.c:550: error: expected expression before ')' token
| SDL_ttf.c: At top level:
| SDL_ttf.c:565: error: expected ';', ',' or ')' before '*' token
| SDL_ttf.c:633: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:659: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:683: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:769: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:832: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:858: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:882: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:972: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
| SDL_ttf.c:1042: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
| SDL_ttf.c:1068: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
| SDL_ttf.c:1092: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
| SDL_ttf.c:1180: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
| make: *** [SDL_ttf.lo] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/oc60174/oe/build/tmp/work/libsdl-ttf-native-2.0.3-r0/temp/log.do_compile.18256
NOTE: package libsdl-ttf-native-2.0.3-r0: task do_compile: failed
ERROR: Error in executing:
/home/oc60174/oe/org.openembedded.oz354x/packages/libsdl/libsdl-ttf-native_2.0.3.bb
ERROR: Exception:<class 'bb.build.EventException'> Message:('Function failed in
task:
/home/oc60174/oe/build/tmp/work/libsdl-ttf-native-2.0.3-r0/temp/log.do_compile.18256',
<bb.build.TaskFailed instance at 0xa25bbcc>)
ERROR: Printing the environment of the function
ERROR: Error in executing:
/home/oc60174/oe/org.openembedded.oz354x/packages/libsdl/libsdl-ttf-native_2.0.3.bb
ERROR: Exception:<class 'bb.build.EventException'> Message:('Function failed in
task:
/home/oc60174/oe/build/tmp/work/libsdl-ttf-native-2.0.3-r0/temp/log.do_compile.18256',
<bb.build.TaskFailed instance at 0xa25bbcc>)
ERROR: Printing the environment of the function
ERROR: TaskFailed event exception, aborting
NOTE: package libsdl-ttf-native-2.0.3: failed
ERROR: Build of libsdl-ttf-native failed
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list