linux 2.5.25
2.5.25: 2 problems found
1) Options under Input Device Support and under Character Devices: Mice are duplicates from a user's point of view. Fortunately they have different names (CONFIG_PSMOUSE vs CONFIG_MOUSE_PS2).
Unfortunately they both seem to be used...did a recursive grep.
2) This is a compilation error, which has been in 2.5 since 3 kernels ago or so. Reported twice on LKML by me, as well as another person. No reply.
mpparse.c: In function `mp_parse_prt':
mpparse.c:1080: warning: implicit declaration of function mp_find_ioapic' mpparse.c:1083: mp_ioapic_routing' undeclared (first use in this function) mpparse.c:1083: (Each undeclared identifier is reported only once mpparse.c:1083: for each function it appears in.) mpparse.c:1107: warning: implicit declaration of function `io_apic_set_pci_routing'
make[1]: *** [mpparse.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.24/arch/i386/kernel'
make: *** [arch/i386/kernel] Error 2
occurs with:LOCAL_APIC on, IOAPIC off, ACPI on, uniprocessor machine.
Re: linux 2.5.25 (different compilation errors)
Hi all,
some small other problems.
make dep claims that i2c-old.h is missing. (also in 2.5.24, not tested in other versions)
----
gcc -Wp,-MD,./.iforce-packets.o.d -D__KERNEL__
-I/usr/src/linux-2.5.25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.25/include/linux/modversions.h -DKBUILD_BASENAME=iforce_packets -c -o iforce-packets.o iforce-packets.ciforce-packets.c: In function `iforce_get_id_packet':
iforce-packets.c:252: `IFORCE_USB' undeclared (first use in this function) iforce-packets.c:252: (Each undeclared identifier is reported only once iforce-packets.c:252: for each function it appears in.) iforce-packets.c:282: IFORCE_232' undeclared (first use in this function) iforce-packets.c:278: warning: unreachable code at beginning of switch statement iforce-packets.c:248: warning: unused variable timeout' iforce-packets.c:247: warning: unused variable `wait'
make[4]: *** [iforce-packets.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.5.25/drivers/input/joystick/iforce'
----
gcc -Wp,-MD,./.zr36120.o.d -D__KERNEL__
-I/usr/src/linux-2.5.25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.25/include/linux/modversions.h -DKBUILD_BASENAME=zr36120 -c -o zr36120.o zr36120.c
zr36120.c:1497: unknown field open' specified in initializer zr36120.c:1497: warning: initialization makes integer from pointer without a cast zr36120.c:1498: unknown field close' specified in initializer zr36120.c:1498: warning: initialization from incompatible pointer type
[SNIP]
zr36120.c:1839: unknown field `minor' specified in initializer make[3]: *** [zr36120.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.25/drivers/media/video' make[2]: *** [video] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.25/drivers/media' make[1]: *** [media] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.25/drivers'
make: *** [drivers] Error 2
----
gcc -Wp,-MD,./.zr36067.o.d -D__KERNEL__
-I/usr/src/linux-2.5.25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.25/include/linux/modversions.h -DKBUILD_BASENAME=zr36067 -c -o zr36067.o zr36067.czr36067.c: In function `zoran_open':
zr36067.c:3267: structure has no member named `busy'zr36067.c: At top level:
zr36067.c:4404: warning: initialization makes integer from pointer without a cast zr36067.c:4405: warning: initialization makes integer from pointer without a cast zr36067.c:4406: warning: initialization from incompatible pointer type zr36067.c:4408: warning: initialization makes integer from pointer without a cast zr36067.c:4409: warning: missing braces around initializer zr36067.c:4409: warning: (near initialization for `zoran_template.lock') zr36067.c:4409: warning: initialization makes integer from pointer without a cast zr36067.c:4410: warning: initialization makes integer from pointer without a cast zr36067.c:4411: warning: initialization makes integer from pointer without a cast make[3]: *** [zr36067.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.25/drivers/media/video' make[2]: *** [video] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.25/drivers/media' make[1]: *** [media] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.25/drivers'
make: *** [drivers] Error 2
----
gcc -Wp,-MD,./.stradis.o.d -D__KERNEL__
-I/usr/src/linux-2.5.25/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.25/include/linux/modversions.h -DKBUILD_BASENAME=stradis -c -o stradis.o stradis.cstradis.c: In function `saa_open':
stradis.c:1949: structure has no member named `busy'stradis.c: In function `saa_close':
stradis.c:1961: structure has no member named `busy'stradis.c: At top level:
stradis.c:1974: unknown field `open' specified in initializer stradis.c:1974: warning: initialization makes integer from pointer without a cast
[SNIP]
make[3]: *** [stradis.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.25/drivers/media/video' make[2]: *** [video] Error 2
Regards
Fabio
Quoted 7 lines
2.5.25: 2 problems found
1) Options under Input Device Support and under Character Devices: Mice are duplicates from a user's point of view. Fortunately they have different names (
CONFIG_PSMOUSEvsCONFIG_MOUSE_PS2).
Unfortunately they both seem to be used...did a recursive grep.
The input api PS/2 mouse driver is meant to replace the old driver which is in pc_keyb.c. Unfortunely most keyboard drivers are based around pc_keyb.c so it has to stay for now. Plus the console system is designed around pc_keyb.c. This will also change as the console system is migrated toward the input api. So to any keyboard maintainers please port your drivers over to the input api before they break when the console system breaks.