2.5.21 pnpbios compile error.

Corporal Pisang (corporal_pisang@counter-strike.com.my)
Mon, 10 Jun 2002 13:47:07 +0800


Hi,

I get this error compiling 2.5.21

make[2]: Entering directory `/usr/src/linux/drivers/pnp'
gcc -Wp,-MD,.pnpbios_proc.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 -nostdinc -iwithprefix include
-DKBUILD_BASENAME=pnpbios_proc -c -o pnpbios_proc.o pnpbios_proc.c
pnpbios_proc.c:193: parse error before "pnpbios_proc_init"
pnpbios_proc.c:194: warning: return type defaults to `int'
pnpbios_proc.c:248: parse error before "pnpbios_proc_exit"
pnpbios_proc.c:249: warning: return type defaults to `int'
pnpbios_proc.c:249: conflicting types for `pnpbios_proc_exit'
/usr/src/linux/include/linux/pnpbios.h:147: previous declaration of
`pnpbios_proc_exit'
pnpbios_proc.c: In function `pnpbios_proc_exit':
pnpbios_proc.c:253: warning: `return' with no value, in function returning
non-void
pnpbios_proc.c:269: warning: `return' with no value, in function returning
non-void
make[2]: *** [pnpbios_proc.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/pnp'
make[1]: *** [_subdir_pnp] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [drivers] Error 2

Regards.

-- 
-Ubaida-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/