Hello all ,
I'm trying to create a custom kernel for my net4501 board based on elan
processor of amd.
When building the kernel using the .config file of bering 1.2 for kernel
2.4.20 including the bering patches , i alway come into problems when
building the modules :
In file included from horizon.c:34:
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/atmdev.h:
In function `atm_may_send':
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/atmdev.h:450:
warning: comparison between signed and unsigned
horizon.c: In function `hrz_send':
horizon.c:1654: warning: comparison between signed and unsigned
horizon.c:1714: warning: comparison between signed and unsigned
horizon.c: In function `check_max_sdu':
horizon.c:2129: warning: comparison between signed and unsigned
horizon.c: In function `atm_pcr_check':
horizon.c:2147: warning: comparison between signed and unsigned
horizon.c:2157: warning: comparison between signed and unsigned
horizon.c: In function `hrz_check_args':
horizon.c:2923: warning: comparison is always false due to limited range of
data type
horizon.c: At top level:
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/module.h:299:
warning: `__module_kernel_version' defined but not used
horizon.c:2935: warning: `__module_license' defined but not used
gcc -D__KERNEL__
-I/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE
-g -nostdinc -iwithprefix include -DKBUILD_BASENAME=ambassador -c -o
ambassador.o ambassador.c
In file included from
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/atmdev.h:212,
from ambassador.c:31:
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/skbuff.h:
In function `__pskb_pull':
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/skbuff.h:855:
warning: comparison between signed and unsigned
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/skbuff.h:
In function `pskb_may_pull':
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/skbuff.h:871:
warning: comparison between signed and unsigned
In file included from ambassador.c:31:
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/atmdev.h:
In function `atm_may_send':
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/atmdev.h:450:
warning: comparison between signed and unsigned
ambassador.c:301:21: pasting "." and "start" does not give a valid
preprocessing token
ambassador.c:305:23: pasting "." and "regions" does not give a valid
preprocessing token
ambassador.c:310:20: pasting "." and "data" does not give a valid
preprocessing token
ambassador.c: At top level:
/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/include/linux/module.h:299:
warning: `__module_kernel_version' defined but not used
ambassador.c:2588: warning: `__module_license' defined but not used
make[2]: *** [ambassador.o] Error 1
make[2]: Leaving directory
`/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/drivers/atm'
make[1]: *** [_modsubdir_atm] Error 2
make[1]: Leaving directory
`/home/luc/src/leaf/kernel-2.4.20/kernel/linux-2.4.20/drivers'
make: *** [_mod_drivers] Error 2
Is this problem of my build env or gcc or something else ?
I'm using a SuSE 8.2 to build this kernel with gcc 3.3
luc
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html