reassign 323059 kernel-source-2.6.8 tag 323059 +pending tag 323059 +patch thanks
On Sun, Aug 14, 2005 at 08:22:30AM -0500, Charles Lear wrote: > > Package: kernel-source > Version: 2.6.8 > > I installed the Deiban testing (Etch) version on 08-13-05 and have not been > able to get the kernel-source-2.6.8 to compile. It consistently fails at > the 'make menuconfig' command. The only major difference I am aware of > between this installation and previous examples is the recent inclusion of > the gcc 4.0.1 packages. See output below: > > # make menuconfig > HOSTCC scripts/basic/fixdep > HOSTCC scripts/basic/split-include > HOSTCC scripts/basic/docproc > SHIPPED scripts/kconfig/zconf.tab.h > HOSTCC scripts/kconfig/conf.o > HOSTCC scripts/kconfig/mconf.o > scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' > followsnon-static declaration > scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was > here > make[1]: *** [scripts/kconfig/mconf.o] Error 1 > make: *** [menuconfig] Error 2 Hi, 2.6.8 does not compile with gcc-4.0. Please try using linux-source-2.6 (2.6.12), or use the attached patch to compile with gcc-3.3. Also, please note that the 2.6.8 is for Sarge, and is earmarked for removal from Unstable. linux-source-2.6 is the way forward. Thanks -- Horms
--- a/Makefile 2005-07-29 19:21:51.000000000 +0900 +++ b/Makefile 2005-07-29 19:22:25.000000000 +0900 @@ -183,8 +183,8 @@ else if [ -x /bin/bash ]; then echo /bin/bash; \ else echo sh; fi ; fi) -HOSTCC = gcc -HOSTCXX = g++ +HOSTCC = gcc-3.3 +HOSTCXX = g++-3.3 HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer HOSTCXXFLAGS = -O2 @@ -272,7 +272,7 @@ AS = $(CROSS_COMPILE)as LD = $(CROSS_COMPILE)ld -CC = $(CROSS_COMPILE)gcc +CC = $(CROSS_COMPILE)gcc-3.3 CPP = $(CC) -E AR = $(CROSS_COMPILE)ar NM = $(CROSS_COMPILE)nm