From: Alejandro R. S. <as...@MI...> - 2004-02-19 18:26:57
|
I saw this error when I was using Debian's 2.4.24 kernel source package. The patch fails to add a line to linux/arch/i386/config.in, if I remember correctly. It should have left you a config.in.rej. Check it out, finish applying the patch by hand, and see if it works then. -Alejandro On Thu, 2004-02-19 at 07:57, peter green wrote: > well i did a dist-upgrade to sarge to get gcc 3.x > > i now get a different error in the same line > > colinux:~/colinux-20040214/linux# make vmlinux > gcc -D__KERNEL__ -I/root/colinux-20040214/linux/include -Wall -Wstrict-proto > types -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-point > er -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main - > c -o init/main.o init/main.c > In file included from /root/colinux-20040214/linux/include/asm/io.h:5, > from > /root/colinux-20040214/linux/include/linux/blkdev.h:11, > from /root/colinux-20040214/linux/include/linux/blk.h:4, > from init/main.c:25: > /root/colinux-20040214/linux/include/linux/cooperative.h:233:21: missing ')' > in macro parameter list > make: *** [init/main.o] Error 1 > colinux:~/colinux-20040214/linux# > > here is the line in question > #define co_debug(...args) do {} while(0) > > > -----Original Message----- > From: Robert Stonehouse [mailto:rj...@ze...] > Sent: 19 February 2004 12:10 > To: peter green > Cc: col...@li... > Subject: RE: [coLinux-devel] my comments on colinux > > > On Thu, 19 Feb 2004, peter green wrote: > > > colinux:~/colinux-20040214/linux# make vmlinux > > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o > > scripts/split-include scripts/split-include.c > > scripts/split-include include/linux/autoconf.h include/config > > > gcc -D__KERNEL__ -I/root/colinux-20040214/linux/include -Wall -Wstrict-proto > > > types -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-point > > > er -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main - > > c -o init/main.o init/main.c > > In file included from /root/colinux-20040214/linux/include/asm/io.h:5, > > from > > /root/colinux-20040214/linux/include/linux/blkdev.h:11, > > from /root/colinux-20040214/linux/include/linux/blk.h:4, > > from init/main.c:25: > > /root/colinux-20040214/linux/include/linux/cooperative.h:233: badly > > punctuated parameter list in `#define' > > make: *** [init/main.o] Error 1 > > colinux:~/colinux-20040214/linux# > > > > any ideas what causes this? > > Try using GCC version 3.x rather than 2.x > You can override the default compiler from your path with something like > make vmlinux CC=/some/path/bin/gcc_3_3_2 > > -- > Rob Stonehouse > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.560 / Virus Database: 352 - Release Date: 08/01/2004 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.560 / Virus Database: 352 - Release Date: 08/01/2004 > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > |