2.5.69 -- drivers/macintosh/adbhid.c:137: too many arguments to function `adbhid_input_keycode'
Gnu C 3.2.2 Gnu make 3.80 util-linux 2.11x mount 2.11x module-init-tools 0.9.11a e2fsprogs 1.32 pcmcia-cs 3.2.3 PPP 2.4.1 Linux C Library 2.3.1 Dynamic linker (ldd) 2.3.1 Procps 3.1.6 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 4.5.7
#
# Macintosh device drivers
#CONFIG_ADB_CUDA=yCONFIG_ADB_PMU=yCONFIG_PMAC_PBOOK=yCONFIG_PMAC_APM_EMU=yCONFIG_PMAC_BACKLIGHT=y
# CONFIG_MAC_FLOPPY is not set
# CONFIG_MAC_SERIAL is not setCONFIG_ADB=yCONFIG_ADB_MACIO=yCONFIG_INPUT_ADBHID=yCONFIG_MAC_EMUMOUSEBTN=y
# CONFIG_ANSLCD is not set
gcc -Wp,-MD,drivers/macintosh/.adbhid.o.d -D__KERNEL__ -Iinclude
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Iarch/ppc -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fomit-frame-pointer -nostdinc -iwithprefix include
-DKBUILD_BASENAME=adbhid -DKBUILD_MODNAME=adbhid -c -odrivers/macintosh/adbhid.o drivers/macintosh/adbhid.cdrivers/macintosh/adbhid.c: In function `adbhid_keyboard_input':drivers/macintosh/adbhid.c:137: too many arguments to function `adbhid_input_keycode'drivers/macintosh/adbhid.c:139: too many arguments to function `adbhid_input_keycode'drivers/macintosh/adbhid.c: At top level:drivers/macintosh/adbhid.c:143: parse error before "pt_regs"drivers/macintosh/adbhid.c: In function `adbhid_input_keycode':drivers/macintosh/adbhid.c:144: number of arguments doesn't match prototypedrivers/macintosh/adbhid.c:87: prototype declarationdrivers/macintosh/adbhid.c:147: `keycode' undeclared (first use in this function)drivers/macintosh/adbhid.c:147: (Each undeclared identifier is reported only oncedrivers/macintosh/adbhid.c:147: for each function it appears in.)drivers/macintosh/adbhid.c:152: `id' undeclared (first use in this function)drivers/macintosh/adbhid.c:152: `regs' undeclared (first use in this function)
make[2]: *** [drivers/macintosh/adbhid.o] Error 1
I think i fixed this one...look for the patch in the list. Sorry, i sent it just before noticing your post T_T
Regards
Daniele Pala
Quoted 62 lines · Miles Lane
Gnu C 3.2.2 Gnu make 3.80 util-linux 2.11x mount 2.11x module-init-tools 0.9.11a e2fsprogs 1.32 pcmcia-cs 3.2.3 PPP 2.4.1 Linux C Library 2.3.1 Dynamic linker (ldd) 2.3.1 Procps 3.1.6 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 4.5.7#
# Macintosh device drivers
#CONFIG_ADB_CUDA=yCONFIG_ADB_PMU=yCONFIG_PMAC_PBOOK=yCONFIG_PMAC_APM_EMU=yCONFIG_PMAC_BACKLIGHT=y
#CONFIG_MAC_FLOPPYis not set
#CONFIG_MAC_SERIALis not setCONFIG_ADB=yCONFIG_ADB_MACIO=yCONFIG_INPUT_ADBHID=yCONFIG_MAC_EMUMOUSEBTN=y
#CONFIG_ANSLCDis not setgcc -Wp,-MD,drivers/macintosh/.adbhid.o.d -D__KERNEL__ -Iinclude
(quoted diff) +0
-3-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Iarch/ppc -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=adbhid -DKBUILD_MODNAME=adbhid -c -o
drivers/macintosh/adbhid.odrivers/macintosh/adbhid.cdrivers/macintosh/adbhid.c: In function `adbhid_keyboard_input':drivers/macintosh/adbhid.c:137: too many arguments to function `adbhid_input_keycode'drivers/macintosh/adbhid.c:139: too many arguments to function `adbhid_input_keycode'drivers/macintosh/adbhid.c: At top level:drivers/macintosh/adbhid.c:143: parse error before "pt_regs"drivers/macintosh/adbhid.c: In function `adbhid_input_keycode':drivers/macintosh/adbhid.c:144: number of arguments doesn't match prototypedrivers/macintosh/adbhid.c:87: prototype declarationdrivers/macintosh/adbhid.c:147: `keycode' undeclared (first use in this function)drivers/macintosh/adbhid.c:147: (Each undeclared identifier is reported only oncedrivers/macintosh/adbhid.c:147: for each function it appears in.)drivers/macintosh/adbhid.c:152:id' undeclared (first use in this function) drivers/macintosh/adbhid.c:152:regs' undeclared (first use in this function)
make[2]: *** [drivers/macintosh/adbhid.o] Error 1-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Miles Lane
Have you submitted the patch to Paul Mackerras ([email protected])? He is the linux 2.5 kernel for ppc maintainer.
Cheers,
Miles
ah no, i didn't knew who was the ppc mantainer. Thx for the info, i'll send it to him now :)