Why is egcs-1.1.2 still included in the distro?  It's not like it
still compiles the kernel or anything:

make[2]: Entering directory `/usr/src/linux-2.4.19-16mdk-uml/fs/smbfs'
kgcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk-uml/include  -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common  -g  -U__i386__ -Ui386 
-DUM_FASTCALL -D__arch_um__ -DSUBARCH="i386" -D_LARGEFILE64_SOURCE 
-I/usr/src/linux-2.4.19-16mdk-uml/arch/um/include -Derrno=kernel_errno -DMODULE 
-DSMBFS_PARANOIA -nostdinc -I 
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include -DKBUILD_BASENAME=proc  
-c -o proc.o proc.c
proc.c: In function `smb_request_ok':
proc.c:783: parse error before `)'
make[2]: *** [proc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.19-16mdk-uml/fs/smbfs'
make[1]: *** [_modsubdir_smbfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk-uml/fs'
make: *** [_mod_fs] Error 2

Which winds up being an error on this macro:

#define PARANOIA(fmt,args...) printk(KERN_NOTICE "%s: " fmt, __FUNCTION__, ##args)

I dunno when the "##" CPP syntax became a feature but it must have
been since egcs-1.1.2 was "in style".  Or am I totally missing
something here?

You may ask why I am not using gcc-3.2 to build the kernel, but that
is because I am trying to build a UML kernel and building it with gcc
3.2 seems to give garbage stack traces.  You only ever get frame #0 in
gdb against a UML kernel.  If anyone has any idea why this is, I would
be most appreciative of some insight.

I guess I will try gcc2.96 in the meanwhile.

b.

-- 
Brian J. Murrell

Attachment: msg78719/pgp00000.pgp
Description: PGP signature

Reply via email to