Summary: | sys-block/unieject-5.3.2 fails with linux-headers-2.6.19.2 due to -std=c99 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flameeyes, marek, uberlord |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 159304 |
Description
Ryan Hill (RETIRED)
2007-01-15 03:18:19 UTC
fixed in cvs looks like the little_endian.h bits are fixed but i'm still getting the byteorder.h error. i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -I. -I. -I. -I./lib -std=c99 -O2 -g -march=prescott -fomit-frame-pointer -fno-ident -pipe -fvisibility=hidden -c lib/linux.c -fPIC -DPIC -o .libs/libunieject_la-linux.o In file included from /usr/include/linux/cdrom.h:15, from lib/lock.c:31: /usr/include/asm/byteorder.h: In function '___arch__swab64': /usr/include/asm/byteorder.h:38: error: expected ')' before ':' token make[2]: *** [libunieject_la-lock.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -I. -I. -I. -I./lib -std=c99 -O2 -g -march=prescott -fomit-frame-pointer -fno-ident -pipe -fvisibility=hidden -c lib/linux.c -o libunieject_la-linux.o >/dev/null 2>&1 make[2]: Leaving directory `/var/tmp/portage/sys-block/unieject-5.3.2/work/unieject-5.3.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-block/unieject-5.3.2/work/unieject-5.3.2' make: *** [all] Error 2 !!! ERROR: sys-block/unieject-5.3.2 failed. This is w/ linux-headers-2.6.20-r2. interesting ... fails on i386, but not amd64 ... hmm, the __USE_ISOC99 define comes from glibc rather than the compiler ... that sucks ... looks like we need to convert the C99 changes to linux-headers to use __STDC_VERSION__ like so: (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) fixed with 2.6.21 headers *** Bug 182414 has been marked as a duplicate of this bug. *** (In reply to comment #2) > /usr/include/asm/byteorder.h: In function '___arch__swab64': > /usr/include/asm/byteorder.h:38: error: expected ')' before ':' token Is this really fixed? |