http://bugs.openembedded.org/show_bug.cgi?id=1255
Summary: dgen-sdl-1.23 fails to build
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Context:
Building meta-sdl for tosa with gcc4.1.1.
Symptom:
SDL -D_REENTRANT -Umemcpy -MT m68kops.o -MD -MP -MF ".deps/m68kops.Tpo" -c -o
m68kops.o m68kops.c; \
| then mv -f ".deps/m68kops.Tpo" ".deps/m68kops.Po"; else rm -f
".deps/m68kops.Tpo"; exit 1; fi
| In file included from
/home/cyril/OpenEmbedded/build.angstrom/tmp/staging/arm-angstrom-linux-gnueabi/include/stdlib.h:439,
| from m68kops.c:8:
|
/home/cyril/OpenEmbedded/build.angstrom/tmp/staging/arm-angstrom-linux-gnueabi/include/sys/types.h:153:
error: duplicate 'unsigned'
|
/home/cyril/OpenEmbedded/build.angstrom/tmp/staging/arm-angstrom-linux-gnueabi/include/sys/types.h:153:
error: two or more data types in declaration specifiers
| make[1]: *** [m68kops.o] Error 1
| make[1]: Leaving directory
`/home/cyril/OpenEmbedded/build.angstrom/tmp/work/armv5te-linux-gnueabi/dgen-sdl-1.23-r0/dgen-sdl-1.23/musa'
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/cyril/OpenEmbedded/build.angstrom/tmp/work/armv5te-linux-gnueabi/dgen-sdl-1.23-r0/temp/log.do_compile.8988
NOTE: package dgen-sdl-1.23-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package dgen-sdl-1.23: failed
ERROR: Build of meta-sdl failed
Solution:
dgen-sdl-1.23 fails to build because:
m68kcpu.h defines uint using '#define uint unsigned int'
Therefore stdlib.h which defines uint using 'typedef unsigned int uint;' gets:
"typedef unsigned int unsigned int;"
--
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.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe