W3C home > Mailing lists > Public > public-ietf-w3c@w3.org > September 2004

Compile error in SMP / IO-Apic code

From: Thomas Mueller <tomtom.mueller@gmx.de>
Date: Wed, 15 Sep 2004 23:07:41 +0700
Message-ID: <000801c49b3e$2638f0c0$fb78fea9@bigmac>
To: "public-ietf-w3c lists.w3.org" <public-ietf-w3c@w3.org>

The bug affects 2.4.19-ac1 and -ac2 but not 2.4.19-rc3 (my running kernel.) 
Also, both gcc 2.95 and 3.0 fail to compile the affected file.

The text of the compiler failure follows:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=athlon    -nostdinc -I
/usr/lib/gcc-lib/i386-linux/3.0.4/include -DKBUILD_BASENAME=mpparse  -c -o
mpparse.o mpparse.c
mpparse.c:74: `dest_LowestPrio' undeclared here (not in a function)
mpparse.c: In function `smp_read_mpc':
mpparse.c:609: `dest_Fixed' undeclared (first use in this function)
mpparse.c:609: (Each undeclared identifier is reported only once
mpparse.c:609: for each function it appears in.)
mpparse.c:609: `dest_LowestPrio' undeclared (first use in this function)
make[2]: *** [mpparse.o] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/kernel'
make[1]: *** [_dir_arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [stamp-build] Error 2
hell:/usr/src/linux#
make[2]: Entering directory `/usr/src/linux/fs/intermezzo'
  gcc -Wp,-MD,./.vfs.o.d -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon  -I/usr/src/linux/arch/i386/mach-generic -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux/include/linux/modversions.h   -DKBUILD_BASENAME=vfs   -c -o vfs.o vfs.c
vfs.c: In function `presto_debug_fail_blkdev':
vfs.c:134: invalid initializer
vfs.c:136: warning: implicit declaration of function `is_read_only'
vfs.c: In function `presto_do_rmdir':
vfs.c:1244: warning: implicit declaration of function `double_down'
vfs.c:1260: warning: implicit declaration of function `double_up'
vfs.c: In function `presto_rename_dir':
vfs.c:1627: warning: implicit declaration of function `triple_down'
vfs.c:1644: warning: implicit declaration of function `triple_up'
vfs.c: In function `lento_do_rename':
vfs.c:1755: warning: implicit declaration of function `double_lock'
vfs.c: In function `lento_iopen':
vfs.c:1934: called object is not a function
vfs.c:1935: parse error before string constant
make[2]: *** [vfs.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/intermezzo'
make[1]: *** [intermezzo] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [fs] Error 2

Regards,



--- GoldED/386 2.42.G0614+
 * Origin: Everything goes the bach runter ... 
 * http://names-www.org
Received on Wednesday, 15 September 2004 16:08:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:12:56 GMT