Re: Compile error kernel 2.4.21-rc1

From: Anders Karlsson (anders@trudheim.com)
Date: Sat May 03 2003 - 02:27:49 EST


On Sat, 2003-05-03 at 06:02, Anders Karlsson wrote:
> Hi,
>
> Just tried to compile kernel 2.4.21-rc1 and I get the compile error as
> per attached file 'compile_error.txt'. The config file used is also
> attached. This happened while doing 'make rpm'. This is being compiled
> on SuSE Pro 8.2 which is using GCC 3.3.
>
> I'll happily try out patches.

Found another compile error. Again attached in 'compile_error.txt'.

/Anders

gcc -D__KERNEL__ -I/usr/src/packages/BUILD/kernel-2.4.21rc1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/packages/BUILD/kernel-2.4.21rc1/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ma600 -c -o ma600.o ma600.c
ma600.c:51:22: warning: extra tokens at end of #undef directive
ma600.c: In function `ma600_init':
ma600.c:89: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c: In function `ma600_cleanup':
ma600.c:95: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c: In function `ma600_open':
ma600.c:108: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c: In function `ma600_close':
ma600.c:126: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c: In function `ma600_change_speed':
ma600.c:187: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c:189:40: pasting ";" and "return" does not give a valid preprocessing token
ma600.c:192: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c:218: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c:249: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c:257: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c:276: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c: In function `ma600_reset':
ma600.c:301: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c:303:40: pasting ";" and "return" does not give a valid preprocessing token
ma600.c:306: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c:329: warning: concatenation of string literals with __FUNCTION__ is deprecated
ma600.c: At top level:
/usr/src/packages/BUILD/kernel-2.4.21rc1/include/linux/module.h:299: warning: `__module_kernel_version' defined but not used
/usr/src/packages/BUILD/kernel-2.4.21rc1/include/linux/module.h:302: warning: `__module_using_checksums' defined but not used
ma600.c:339: warning: `__module_license' defined but not used
make[4]: *** [ma600.o] Error 1
make[4]: Leaving directory `/usr/src/packages/BUILD/kernel-2.4.21rc1/drivers/net/irda'
make[3]: *** [_modsubdir_irda] Error 2
make[3]: Leaving directory `/usr/src/packages/BUILD/kernel-2.4.21rc1/drivers/net'
make[2]: *** [_modsubdir_net] Error 2
make[2]: Leaving directory `/usr/src/packages/BUILD/kernel-2.4.21rc1/drivers'
make[1]: *** [_mod_drivers] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/kernel-2.4.21rc1'
Bad exit status from /var/tmp/rpm-tmp.25479 (%build)
make: *** [rpm] Error 1



-
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/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:18 EST