* compile error in pre7-ac2: usb & input @ 2002-09-19 13:04 Meelis Roos 2002-09-19 13:54 ` Vojtech Pavlik 0 siblings, 1 reply; 7+ messages in thread From: Meelis Roos @ 2002-09-19 13:04 UTC (permalink / raw) To: linux-kernel drivers/usb/usbdrv.o: In function `hidinput_hid_event': drivers/usb/usbdrv.o(.text+0x11573): undefined reference to `input_event' drivers/usb/usbdrv.o(.text+0x115ee): undefined reference to `input_event' drivers/usb/usbdrv.o(.text+0x11600): undefined reference to `input_event' drivers/usb/usbdrv.o(.text+0x11641): undefined reference to `input_event' drivers/usb/usbdrv.o(.text+0x11664): undefined reference to `input_event' drivers/usb/usbdrv.o(.text+0x11682): more undefined references to `input_event' follow drivers/usb/usbdrv.o: In function `hidinput_connect': drivers/usb/usbdrv.o(.text+0x118d4): undefined reference to `input_register_device' drivers/usb/usbdrv.o: In function `hidinput_disconnect': drivers/usb/usbdrv.o(.text+0x118f3): undefined reference to `input_unregister_device' CONFIG_X86=y CONFIG_UID16=y CONFIG_EXPERIMENTAL=y CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y CONFIG_MK6=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_X86_L1_CACHE_SHIFT=5 CONFIG_X86_ALIGNMENT_16=y CONFIG_X86_TSC=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_MCE=y CONFIG_X86_MSR=m CONFIG_X86_CPUID=m CONFIG_NOHIGHMEM=y CONFIG_NET=y CONFIG_PCI=y CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_ISA=y CONFIG_PCI_NAMES=y CONFIG_HOTPLUG=y CONFIG_SYSVIPC=y CONFIG_SYSCTL=y CONFIG_KCORE_ELF=y CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=m CONFIG_IKCONFIG=y CONFIG_PM=y CONFIG_APM=y CONFIG_APM_IGNORE_USER_SUSPEND=y CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y CONFIG_APM_DISPLAY_BLANK=y CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_PARPORT_PC_CML1=m CONFIG_PARPORT_PC_FIFO=y CONFIG_PARPORT_OTHER=y CONFIG_PARPORT_1284=y CONFIG_PNP=y CONFIG_ISAPNP=y CONFIG_PNPBIOS=y CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=m CONFIG_PACKET=m CONFIG_PACKET_MMAP=y CONFIG_NETLINK_DEV=y CONFIG_NETFILTER=y CONFIG_FILTER=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_FWMARK=y CONFIG_IP_ROUTE_NAT=y CONFIG_IP_ROUTE_MULTIPATH=y CONFIG_IP_ROUTE_TOS=y CONFIG_IP_ROUTE_VERBOSE=y CONFIG_NET_IPIP=m CONFIG_NET_IPGRE=m CONFIG_NET_IPGRE_BROADCAST=y CONFIG_IP_MROUTE=y CONFIG_IP_PIMSM_V1=y CONFIG_IP_PIMSM_V2=y CONFIG_SYN_COOKIES=y CONFIG_IP_NF_CONNTRACK=m CONFIG_IP_NF_FTP=m CONFIG_IP_NF_IRC=m CONFIG_IP_NF_QUEUE=m CONFIG_IP_NF_IPTABLES=m CONFIG_IP_NF_MATCH_LIMIT=m CONFIG_IP_NF_MATCH_MAC=m CONFIG_IP_NF_MATCH_PKTTYPE=m CONFIG_IP_NF_MATCH_MARK=m CONFIG_IP_NF_MATCH_MULTIPORT=m CONFIG_IP_NF_MATCH_TOS=m CONFIG_IP_NF_MATCH_ECN=m CONFIG_IP_NF_MATCH_DSCP=m CONFIG_IP_NF_MATCH_AH_ESP=m CONFIG_IP_NF_MATCH_LENGTH=m CONFIG_IP_NF_MATCH_TTL=m CONFIG_IP_NF_MATCH_TCPMSS=m CONFIG_IP_NF_MATCH_HELPER=m CONFIG_IP_NF_MATCH_STATE=m CONFIG_IP_NF_MATCH_CONNTRACK=m CONFIG_IP_NF_MATCH_UNCLEAN=m CONFIG_IP_NF_MATCH_OWNER=m CONFIG_IP_NF_FILTER=m CONFIG_IP_NF_TARGET_REJECT=m CONFIG_IP_NF_TARGET_MIRROR=m CONFIG_IP_NF_NAT=m CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_IP_NF_TARGET_REDIRECT=m CONFIG_IP_NF_NAT_LOCAL=y CONFIG_IP_NF_NAT_SNMP_BASIC=m CONFIG_IP_NF_NAT_IRC=m CONFIG_IP_NF_NAT_FTP=m CONFIG_IP_NF_MANGLE=m CONFIG_IP_NF_TARGET_TOS=m CONFIG_IP_NF_TARGET_ECN=m CONFIG_IP_NF_TARGET_DSCP=m CONFIG_IP_NF_TARGET_MARK=m CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_ULOG=m CONFIG_IP_NF_TARGET_TCPMSS=m CONFIG_IP_NF_ARPTABLES=m CONFIG_IP_NF_ARPFILTER=m CONFIG_IP_NF_COMPAT_IPCHAINS=m CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_COMPAT_IPFWADM=m CONFIG_IP_NF_NAT_NEEDED=y CONFIG_NET_SCHED=y CONFIG_NET_SCH_CBQ=m CONFIG_NET_SCH_HTB=m CONFIG_NET_SCH_CSZ=m CONFIG_NET_SCH_PRIO=m CONFIG_NET_SCH_RED=m CONFIG_NET_SCH_SFQ=m CONFIG_NET_SCH_TEQL=m CONFIG_NET_SCH_TBF=m CONFIG_NET_SCH_GRED=m CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_INGRESS=m CONFIG_NET_QOS=y CONFIG_NET_ESTIMATOR=y CONFIG_NET_CLS=y CONFIG_NET_CLS_TCINDEX=m CONFIG_NET_CLS_ROUTE4=m CONFIG_NET_CLS_ROUTE=y CONFIG_NET_CLS_FW=y CONFIG_NET_CLS_U32=m CONFIG_NET_CLS_RSVP=m CONFIG_NET_CLS_RSVP6=m CONFIG_NET_CLS_POLICE=y CONFIG_IDE=y CONFIG_HAZARD_READ=y CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDEDISK_MULTI_MODE=y CONFIG_IDEDISK_STROKE=y CONFIG_BLK_DEV_IDECD=y CONFIG_BLK_DEV_IDESCSI=y CONFIG_IDE_TASK_IOCTL=y CONFIG_IDE_TASKFILE_IO=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_GENERIC=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_IDEDMA_PCI_AUTO=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_IDEDMA_PCI_WIP=y CONFIG_IDEDMA_NEW_DRIVE_LISTINGS=y CONFIG_BLK_DEV_ADMA=y CONFIG_BLK_DEV_PIIX=y CONFIG_IDEDMA_AUTO=y CONFIG_BLK_DEV_IDE_MODES=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=m CONFIG_SD_EXTRA_DEVS=40 CONFIG_BLK_DEV_SR=m CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_SR_EXTRA_DEVS=2 CONFIG_CHR_DEV_SG=m CONFIG_SCSI_DEBUG_QUEUES=y CONFIG_SCSI_MULTI_LUN=y CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y CONFIG_SCSI_AIC7XXX=m CONFIG_AIC7XXX_CMDS_PER_DEVICE=253 CONFIG_AIC7XXX_RESET_DELAY_MS=15000 CONFIG_SCSI_SYM53C8XX_2=m CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0 CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=32 CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 CONFIG_SCSI_SYM53C8XX=m CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=16 CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32 CONFIG_SCSI_NCR53C8XX_SYNC=20 CONFIG_NETDEVICES=y CONFIG_TUN=m CONFIG_NET_ETHERNET=y CONFIG_NET_PCI=y CONFIG_TULIP=m CONFIG_TULIP_MWI=y CONFIG_TULIP_MMIO=y CONFIG_DE4X5=m CONFIG_8139TOO=m CONFIG_PLIP=m CONFIG_PPP=m CONFIG_PPP_MULTILINK=y CONFIG_PPP_FILTER=y CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m CONFIG_PPPOE=m CONFIG_SLIP=m CONFIG_SLIP_COMPRESSED=y CONFIG_SLIP_SMART=y CONFIG_SLIP_MODE_SLIP6=y CONFIG_INPUT=m CONFIG_INPUT_KEYBDEV=m CONFIG_INPUT_MOUSEDEV=m CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_EVDEV=m CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=m CONFIG_SERIAL_EXTENDED=y CONFIG_SERIAL_MANY_PORTS=y CONFIG_SERIAL_SHARE_IRQ=y CONFIG_SERIAL_DETECT_IRQ=y CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTY_COUNT=256 CONFIG_PRINTER=m CONFIG_MOUSE=y CONFIG_PSMOUSE=y CONFIG_NVRAM=m CONFIG_RTC=y CONFIG_VIDEO_DEV=m CONFIG_VIDEO_PROC_FS=y CONFIG_AUTOFS4_FS=m CONFIG_HFS_FS=m CONFIG_EXT3_FS=y CONFIG_JBD=y CONFIG_FAT_FS=y CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=y CONFIG_TMPFS=y CONFIG_RAMFS=y CONFIG_ISO9660_FS=y CONFIG_JOLIET=y CONFIG_ZISOFS=y CONFIG_MINIX_FS=m CONFIG_NTFS_FS=m CONFIG_PROC_FS=y CONFIG_DEVPTS_FS=y CONFIG_EXT2_FS=y CONFIG_UDF_FS=m CONFIG_NFS_FS=m CONFIG_NFS_V3=y CONFIG_NFSD=m CONFIG_NFSD_V3=y CONFIG_NFSD_TCP=y CONFIG_SUNRPC=m CONFIG_LOCKD=m CONFIG_LOCKD_V4=y CONFIG_SMB_FS=m CONFIG_SMB_NLS_DEFAULT=y CONFIG_SMB_NLS_REMOTE="iso8859-1" CONFIG_ZISOFS_FS=y CONFIG_PARTITION_ADVANCED=y CONFIG_OSF_PARTITION=y CONFIG_AMIGA_PARTITION=y CONFIG_ATARI_PARTITION=y CONFIG_MAC_PARTITION=y CONFIG_MSDOS_PARTITION=y CONFIG_BSD_DISKLABEL=y CONFIG_MINIX_SUBPARTITION=y CONFIG_SOLARIS_X86_PARTITION=y CONFIG_UNIXWARE_DISKLABEL=y CONFIG_LDM_PARTITION=y CONFIG_SGI_PARTITION=y CONFIG_ULTRIX_PARTITION=y CONFIG_SUN_PARTITION=y CONFIG_EFI_PARTITION=y CONFIG_SMB_NLS=y CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=m CONFIG_NLS_CODEPAGE_775=m CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_ISO8859_1=m CONFIG_NLS_ISO8859_4=m CONFIG_NLS_ISO8859_15=m CONFIG_VGA_CONSOLE=y CONFIG_VIDEO_SELECT=y CONFIG_FB=y CONFIG_DUMMY_CONSOLE=y CONFIG_FB_VESA=y CONFIG_VIDEO_SELECT=y CONFIG_FB_ATY=m CONFIG_FB_ATY_GX=y CONFIG_FB_ATY_CT=y CONFIG_FBCON_CFB8=y CONFIG_FBCON_CFB16=y CONFIG_FBCON_CFB24=y CONFIG_FBCON_CFB32=y CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y CONFIG_SOUND=m CONFIG_SOUND_OSS=m CONFIG_SOUND_TRACEINIT=y CONFIG_SOUND_DMAP=y CONFIG_SOUND_SB=m CONFIG_SOUND_YM3812=m CONFIG_USB=y CONFIG_USB_DEVICEFS=y CONFIG_USB_BANDWIDTH=y CONFIG_USB_UHCI_ALT=y CONFIG_USB_AUDIO=m CONFIG_USB_EMI26=m CONFIG_USB_STORAGE=m CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_FREECOM=y CONFIG_USB_STORAGE_ISD200=y CONFIG_USB_STORAGE_DPCM=y CONFIG_USB_STORAGE_HP8200e=y CONFIG_USB_STORAGE_SDDR09=y CONFIG_USB_STORAGE_SDDR55=y CONFIG_USB_STORAGE_JUMPSHOT=y CONFIG_USB_HID=y CONFIG_USB_HIDINPUT=y CONFIG_USB_HIDDEV=y CONFIG_USB_DC2XX=m CONFIG_USB_MDC800=m CONFIG_USB_SCANNER=m CONFIG_USB_MICROTEK=m CONFIG_USB_HPUSBSCSI=m CONFIG_USB_IBMCAM=m CONFIG_USB_OV511=m CONFIG_USB_PWC=m CONFIG_USB_SE401=m CONFIG_USB_STV680=m CONFIG_USB_VICAM=m CONFIG_USB_DSBR=m CONFIG_USB_DABUSB=m CONFIG_USB_PEGASUS=m CONFIG_USB_RTL8150=m CONFIG_USB_KAWETH=m CONFIG_USB_CATC=m CONFIG_USB_CDCETHER=m CONFIG_USB_USBNET=m CONFIG_DEBUG_KERNEL=y CONFIG_DEBUG_SLAB=y CONFIG_DEBUG_IOVIRT=y CONFIG_MAGIC_SYSRQ=y CONFIG_PANIC_MORSE=y CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=m --- Meelis Roos (mroos@linux.ee) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile error in pre7-ac2: usb & input 2002-09-19 13:04 compile error in pre7-ac2: usb & input Meelis Roos @ 2002-09-19 13:54 ` Vojtech Pavlik 2002-09-19 21:09 ` Brad Hards 0 siblings, 1 reply; 7+ messages in thread From: Vojtech Pavlik @ 2002-09-19 13:54 UTC (permalink / raw) To: Meelis Roos; +Cc: linux-kernel On Thu, Sep 19, 2002 at 04:04:08PM +0300, Meelis Roos wrote: > drivers/usb/usbdrv.o: In function `hidinput_hid_event': > drivers/usb/usbdrv.o(.text+0x11573): undefined reference to `input_event' > drivers/usb/usbdrv.o(.text+0x115ee): undefined reference to `input_event' > drivers/usb/usbdrv.o(.text+0x11600): undefined reference to `input_event' > drivers/usb/usbdrv.o(.text+0x11641): undefined reference to `input_event' > drivers/usb/usbdrv.o(.text+0x11664): undefined reference to `input_event' > drivers/usb/usbdrv.o(.text+0x11682): more undefined references to `input_event' follow > drivers/usb/usbdrv.o: In function `hidinput_connect': > drivers/usb/usbdrv.o(.text+0x118d4): undefined reference to `input_register_device' > drivers/usb/usbdrv.o: In function `hidinput_disconnect': > drivers/usb/usbdrv.o(.text+0x118f3): undefined reference to `input_unregister_device' Well, you enabled HID as built-in and Input as modular. HID needs Input. As to why it was possible to enable this combination, I'll take a look. -- Vojtech Pavlik SuSE Labs ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile error in pre7-ac2: usb & input 2002-09-19 13:54 ` Vojtech Pavlik @ 2002-09-19 21:09 ` Brad Hards 2002-09-20 7:09 ` Vojtech Pavlik 0 siblings, 1 reply; 7+ messages in thread From: Brad Hards @ 2002-09-19 21:09 UTC (permalink / raw) To: Vojtech Pavlik, Meelis Roos; +Cc: linux-kernel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 19 Sep 2002 23:54, Vojtech Pavlik wrote: > On Thu, Sep 19, 2002 at 04:04:08PM +0300, Meelis Roos wrote: > > drivers/usb/usbdrv.o: In function `hidinput_hid_event': > > drivers/usb/usbdrv.o(.text+0x11573): undefined reference to `input_event' > > drivers/usb/usbdrv.o(.text+0x115ee): undefined reference to `input_event' > > drivers/usb/usbdrv.o(.text+0x11600): undefined reference to `input_event' > > drivers/usb/usbdrv.o(.text+0x11641): undefined reference to `input_event' > > drivers/usb/usbdrv.o(.text+0x11664): undefined reference to `input_event' > > drivers/usb/usbdrv.o(.text+0x11682): more undefined references to > > `input_event' follow drivers/usb/usbdrv.o: In function > > `hidinput_connect': > > drivers/usb/usbdrv.o(.text+0x118d4): undefined reference to > > `input_register_device' drivers/usb/usbdrv.o: In function > > `hidinput_disconnect': > > drivers/usb/usbdrv.o(.text+0x118f3): undefined reference to > > `input_unregister_device' > > Well, you enabled HID as built-in and Input as modular. HID needs Input. Not quite. CONFIG_USB + CONFIG_USB_HIDDEV doesn't need input. Unfortunately CONFIG_USB_HIDINPUT does, and it is a dep_bool. The only clean way I can see is to build HID as three seperate modules - a core, the input interface, and the hiddev interface. Even that is pretty ugly. Brad - -- http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9ij0AW6pHgIdAuOMRAhrHAKCrAJBtMibDOX7nsvAcAArVA3ez6wCfddCe gh5T86EFQGs5BxasZ51VMIM= =4DeK -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile error in pre7-ac2: usb & input 2002-09-19 21:09 ` Brad Hards @ 2002-09-20 7:09 ` Vojtech Pavlik 2002-09-20 7:27 ` Brad Hards 0 siblings, 1 reply; 7+ messages in thread From: Vojtech Pavlik @ 2002-09-20 7:09 UTC (permalink / raw) To: Brad Hards; +Cc: Vojtech Pavlik, Meelis Roos, linux-kernel On Fri, Sep 20, 2002 at 07:09:20AM +1000, Brad Hards wrote: > On Thu, 19 Sep 2002 23:54, Vojtech Pavlik wrote: > > On Thu, Sep 19, 2002 at 04:04:08PM +0300, Meelis Roos wrote: > > > drivers/usb/usbdrv.o: In function `hidinput_hid_event': > > > drivers/usb/usbdrv.o(.text+0x11573): undefined reference to `input_event' > > > drivers/usb/usbdrv.o(.text+0x115ee): undefined reference to `input_event' > > > drivers/usb/usbdrv.o(.text+0x11600): undefined reference to `input_event' > > > drivers/usb/usbdrv.o(.text+0x11641): undefined reference to `input_event' > > > drivers/usb/usbdrv.o(.text+0x11664): undefined reference to `input_event' > > > drivers/usb/usbdrv.o(.text+0x11682): more undefined references to > > > `input_event' follow drivers/usb/usbdrv.o: In function > > > `hidinput_connect': > > > drivers/usb/usbdrv.o(.text+0x118d4): undefined reference to > > > `input_register_device' drivers/usb/usbdrv.o: In function > > > `hidinput_disconnect': > > > drivers/usb/usbdrv.o(.text+0x118f3): undefined reference to > > > `input_unregister_device' > > > > Well, you enabled HID as built-in and Input as modular. HID needs Input. > Not quite. CONFIG_USB + CONFIG_USB_HIDDEV doesn't need input. Unfortunately > CONFIG_USB_HIDINPUT does, and it is a dep_bool. > The only clean way I can see is to build HID as three seperate modules - a > core, the input interface, and the hiddev interface. Even that is pretty > ugly. More modules, oh no! -- Vojtech Pavlik SuSE Labs ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile error in pre7-ac2: usb & input 2002-09-20 7:09 ` Vojtech Pavlik @ 2002-09-20 7:27 ` Brad Hards 2002-09-20 7:44 ` Vojtech Pavlik 0 siblings, 1 reply; 7+ messages in thread From: Brad Hards @ 2002-09-20 7:27 UTC (permalink / raw) To: Vojtech Pavlik; +Cc: Meelis Roos, linux-kernel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 20 Sep 2002 17:09, Vojtech Pavlik wrote: > On Fri, Sep 20, 2002 at 07:09:20AM +1000, Brad Hards wrote: > > On Thu, 19 Sep 2002 23:54, Vojtech Pavlik wrote: > > > On Thu, Sep 19, 2002 at 04:04:08PM +0300, Meelis Roos wrote: > > > > drivers/usb/usbdrv.o: In function `hidinput_hid_event': > > > > drivers/usb/usbdrv.o(.text+0x11573): undefined reference to > > > > `input_event' drivers/usb/usbdrv.o(.text+0x115ee): undefined > > > > reference to `input_event' drivers/usb/usbdrv.o(.text+0x11600): > > > > undefined reference to `input_event' > > > > drivers/usb/usbdrv.o(.text+0x11641): undefined reference to > > > > `input_event' drivers/usb/usbdrv.o(.text+0x11664): undefined > > > > reference to `input_event' drivers/usb/usbdrv.o(.text+0x11682): more > > > > undefined references to `input_event' follow drivers/usb/usbdrv.o: In > > > > function > > > > `hidinput_connect': > > > > drivers/usb/usbdrv.o(.text+0x118d4): undefined reference to > > > > `input_register_device' drivers/usb/usbdrv.o: In function > > > > `hidinput_disconnect': > > > > drivers/usb/usbdrv.o(.text+0x118f3): undefined reference to > > > > `input_unregister_device' > > > > > > Well, you enabled HID as built-in and Input as modular. HID needs > > > Input. > > > > Not quite. CONFIG_USB + CONFIG_USB_HIDDEV doesn't need input. > > Unfortunately CONFIG_USB_HIDINPUT does, and it is a dep_bool. > > The only clean way I can see is to build HID as three seperate modules - > > a core, the input interface, and the hiddev interface. Even that is > > pretty ugly. > > More modules, oh no! Hmmm. You could always build part of the input layer into the kernel unconditionally (like the old keyboard handling code?). Not nice on some embedded applications, though you could probably build an "input.o" that is a bit smaller. Or a version of the "unconditional build" based on some setup determined after the config step. I'm still looking for a better idea - got any? Brad - -- http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9is3OW6pHgIdAuOMRAsoRAJ0Y4nY3/Tj/hAkkOvWnkiwFxCAPfgCfR12Z CuEpRtDLdkwiW+JK4YT3BIQ= =ZUvW -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile error in pre7-ac2: usb & input 2002-09-20 7:27 ` Brad Hards @ 2002-09-20 7:44 ` Vojtech Pavlik 2002-09-20 7:49 ` Brad Hards 0 siblings, 1 reply; 7+ messages in thread From: Vojtech Pavlik @ 2002-09-20 7:44 UTC (permalink / raw) To: Brad Hards; +Cc: Vojtech Pavlik, Meelis Roos, linux-kernel On Fri, Sep 20, 2002 at 05:27:10PM +1000, Brad Hards wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 20 Sep 2002 17:09, Vojtech Pavlik wrote: > > On Fri, Sep 20, 2002 at 07:09:20AM +1000, Brad Hards wrote: > > > On Thu, 19 Sep 2002 23:54, Vojtech Pavlik wrote: > > > > On Thu, Sep 19, 2002 at 04:04:08PM +0300, Meelis Roos wrote: > > > > > drivers/usb/usbdrv.o: In function `hidinput_hid_event': > > > > > drivers/usb/usbdrv.o(.text+0x11573): undefined reference to > > > > > `input_event' drivers/usb/usbdrv.o(.text+0x115ee): undefined > > > > > reference to `input_event' drivers/usb/usbdrv.o(.text+0x11600): > > > > > undefined reference to `input_event' > > > > > drivers/usb/usbdrv.o(.text+0x11641): undefined reference to > > > > > `input_event' drivers/usb/usbdrv.o(.text+0x11664): undefined > > > > > reference to `input_event' drivers/usb/usbdrv.o(.text+0x11682): more > > > > > undefined references to `input_event' follow drivers/usb/usbdrv.o: In > > > > > function > > > > > `hidinput_connect': > > > > > drivers/usb/usbdrv.o(.text+0x118d4): undefined reference to > > > > > `input_register_device' drivers/usb/usbdrv.o: In function > > > > > `hidinput_disconnect': > > > > > drivers/usb/usbdrv.o(.text+0x118f3): undefined reference to > > > > > `input_unregister_device' > > > > > > > > Well, you enabled HID as built-in and Input as modular. HID needs > > > > Input. > > > > > > Not quite. CONFIG_USB + CONFIG_USB_HIDDEV doesn't need input. > > > Unfortunately CONFIG_USB_HIDINPUT does, and it is a dep_bool. > > > The only clean way I can see is to build HID as three seperate modules - > > > a core, the input interface, and the hiddev interface. Even that is > > > pretty ugly. > > > > More modules, oh no! > Hmmm. You could always build part of the input layer into the kernel > unconditionally (like the old keyboard handling code?). Not nice on some > embedded applications, though you could probably build an "input.o" that is a > bit smaller. > Or a version of the "unconditional build" based on some setup determined after > the config step. > I'm still looking for a better idea - got any? As of current 2.5 input.o is always built in. (Since CONFIG_INPUT is defined to Y). -- Vojtech Pavlik SuSE Labs ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: compile error in pre7-ac2: usb & input 2002-09-20 7:44 ` Vojtech Pavlik @ 2002-09-20 7:49 ` Brad Hards 0 siblings, 0 replies; 7+ messages in thread From: Brad Hards @ 2002-09-20 7:49 UTC (permalink / raw) To: Vojtech Pavlik; +Cc: Meelis Roos, linux-kernel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 20 Sep 2002 17:44, Vojtech Pavlik wrote: > As of current 2.5 input.o is always built in. (Since CONFIG_INPUT is > defined to Y). I guess the embedded guys will just hack it back out, so that seems OK. Same for 2.4 though? Brad - -- http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9itMAW6pHgIdAuOMRAkrCAKDCdgKCC5z6Pt+U9saDDGrJNb3zQACeLyzR IMLoMaDIPp4ubfs3zCYVKsE= =HmHm -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-09-20 7:50 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-09-19 13:04 compile error in pre7-ac2: usb & input Meelis Roos 2002-09-19 13:54 ` Vojtech Pavlik 2002-09-19 21:09 ` Brad Hards 2002-09-20 7:09 ` Vojtech Pavlik 2002-09-20 7:27 ` Brad Hards 2002-09-20 7:44 ` Vojtech Pavlik 2002-09-20 7:49 ` Brad Hards
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®