| Summary: | Building current stable version of kdemultimedia-3.1.4 fails with linux-headers-2.4.23 due to suspected syntax errors in asm header file | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christian Trefzer <ctrefzer> |
| Component: | [OLD] Core system | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | zataz |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of 32246 *** |
This seems to happen because of 2 "syntax errors" in asm/byteorder.h. The first one is reported in line 38. It reads "static inline __u64 ...". While all other lines that look merely the same contain "__inline__" instead of "inline". So I changed it, and got stuck on the 2nd error remaining, in line 52. I am currently testing the newer gcc-3.3.x versions, using gcc version 3.3.2 20031022 (Gentoo Linux 3.3.2-r3, propolice) during this failed compilation. All other packages triggered by kde-base/kde compiled just fine, and so did kdepim and kdevelop-3.0.0_beta1. Complete (end of) log as follows: /bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -w -O2 -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse,387 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=32 -fprefetch-loop-arrays -maccumulate-outgoing-args -fstack-protector -c -o plat_linux.lo `test -f 'plat_linux.c' || echo './'`plat_linux.c rm: cannot remove `': Invalid argument In file included from /usr/include/linux/cdrom.h:14, from plat_linux.c:65: /usr/include/asm/byteorder.h: In function `___arch__swab64': /usr/include/asm/byteorder.h:52: error: syntax error before ':' token make[3]: *** [plat_linux.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/kscd/libwm' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4/kscd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.4-r1/work/kdemultimedia-3.1.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.1.4-r1 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: Unstable linux-headers-2.4.23, glibc-2.3.2-r9 and gcc-3.3.2-r3 propolice used to compile.