Bug 5478
Summary: | include/asm/processor.h:75: error: array type has incomplete element type | ||
---|---|---|---|
Product: | Other | Reporter: | Stefan Schmidt (zaphodb) |
Component: | Other | Assignee: | Adrian Bunk (bunk) |
Status: | REJECTED WILL_NOT_FIX | ||
Severity: | blocking | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.4.32-rc1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | full .config to reproduce compile error. |
Description
Stefan Schmidt
2005-10-21 05:23:08 UTC
Created attachment 6354 [details]
full .config to reproduce compile error.
gcc 4 is not and will never be a supported compiler for kernel 2.4. Please use either an older compiler or kernel 2.6. Ah i did not know that but i get the same error with gcc-2.95: /usr/src/linux-2.4.31/include/asm/processor.h:75: error: array type has incomplete element type make: *** [init/main.o] Error 1 kernel:/usr/src/linux-2.4.31# gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) kernel:/usr/src/linux-2.4.31# echo $CC gcc-2.95 PS: yes i applied the patch to 2.4.32-rc1 but did not rename the directory this time. I'm getting the error you describe when using gcc 4.0, but not when using gcc 2.95. Please try make CC=gcc-2.95 You're right, i did an alias for gcc but forgot about cc. My bad, sorry. Bug closed again. |