Hallo zusammen!

Hab mir zum ersten mal einen eigenen Kernel (SuSE 2.4.20) gebaut. Das hat auch eigentlich ganz gut geklappt. Aber ....


Ich habe den Kernel jetzt zunächst nur mal mit <make oldconfig> übersetzt. Also an der SuSE Konfiguration nichts verändert. Dabei sind mir die folgenden Fehlermeldungen aufgefallen, die ich als Anfänger nicht einordnen kann. Ausserdem reichen meine "rudimentären" Programmierkenntnisse dazu nicht aus.


Ich weiß, dass ich von euch nicht verlangen kann mir genau zu sagen was da los ist. Das will ich auch gar nicht. Ich möchte auch selbst nicht zu tief einsteigen.


Aber ich hätte gerne eine Aussage darüber, ob diese Fehlermeldungen von Bedeutung sind oder ob ich diese Fehlermeldungen "knicken" kann. Ich habe mal die für mich "wichtigsten" Fehlermeldungen hier eingefügt. Ich hoffe ihr erschreckt jetzt nicht. Es sind nur ein paar.


gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o sched.o sched.c
sched.c: In function `context_switch':
sched.c:476: warning: passing arg 1 of `__builtin_expect' makes integer from pointer without a cast
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=evl_buf -c -o evl_buf.o evl_buf.c
evl_buf.c:89:1: warning: "min" redefined
In file included from evl_buf.c:28:
/usr/src/linux-2.4.20.SuSE/include/linux/kernel.h:176:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=evl_cmd -DEXPORT_SYMTAB -c evl_cmd.c
evl_cmd.c: In function `evl_console_print':
evl_cmd.c:822: warning: unused variable `h'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -Os -nostdinc -iwithprefix include -DKBUILD_BASENAME=exfldio -c -o exfldio.o exfldio.c
exfldio.c: In function `acpi_ex_write_with_update_rule':
exfldio.c:540: warning: integer constant is too large for "long" type
exfldio.c: In function `acpi_ex_extract_from_field':
exfldio.c:794: warning: integer constant is too large for "long" type
exfldio.c:863: warning: integer constant is too large for "long" type
exfldio.c: In function `acpi_ex_insert_into_field':
exfldio.c:966: warning: integer constant is too large for "long" type
exfldio.c:974: warning: integer constant is too large for "long" type
exfldio.c:1054: warning: integer constant is too large for "long" type
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=vt -c -o vt.o vt.c
vt.c: In function `do_kdsk_ioctl':
vt.c:166: warning: comparison is always false due to limited range of data type
vt.c: In function `do_kdgkb_ioctl':
vt.c:283: warning: comparison is always false due to limited range of data type
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=console -DEXPORT_SYMTAB -c console.c
console.c: In function `do_con_write':
console.c:2176: warning: comparison of distinct pointer types lacks a cast
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=constants -c -o constants.o constants.c

constants.c:26: warning: `unknown' defined but not used
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=fbcon -DEXPORT_SYMTAB -c fbcon.c
fbcon.c: In function `fbcon_dchar_putcs':

fbcon.c:1072: warning: passing arg 2 of `hibyte_pos' discards qualifiers from pointer target type
fbcon.c: In function `fbcon_schar_putcs':
fbcon.c:1108: warning: passing arg 2 of `hibyte_pos' discards qualifiers from pointer target type
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=filemap -DEXPORT_SYMTAB -c filemap.c
filemap.c: In function `__iodesc_make_uptodate':
filemap.c:3647: warning: passing arg 1 of `__builtin_expect' makes integer from pointer without a cast
filemap.c: In function `__generic_file_read_iodesc':

filemap.c:3711: warning: passing arg 1 of `__builtin_expect' makes integer from pointer without a cast
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=dev -c -o dev.o dev.c
dev.c: In function `netdev_event':
dev.c:660: warning: concatenation of string literals with __FUNCTION__ is deprecated
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=setup -c -o setup.o setup.c
setup.c: In function `parse_cmdline_early':
setup.c:834: warning: implicit declaration of function `enable_apic_up_setup'
setup.c: In function `show_cpuinfo':
setup.c:3007: warning: unused variable `phys_proc_id'

Vielen Dank schon mal für eure Antworten.


Viele Grüße

Korn


P. S. Falls es jemanden interessiert, im Anhang befindet sich das Logfile.