Right, and I was trying to ask how to fix this. I just didn't ask explicitly/enough. I'll try just adding $CONFIG_SCSI to the end of the CONFIG_USB_STORAGE line in a little while. I think that's all it needs--I'll see. ~Randy > -----Original Message----- > From: Matthew Dharm [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 19, 2000 3:38 PM > To: Dunlap, Randy > Cc: 'Miles Lane'; USB for Linux > Subject: Re: [linux-usb] 2.3.99-pre9-2 -- Compile error (undefined > referen ces in usbdrv.o) > > > Ah... I see what happened. CONFIG_USB_STORAGE must depend on > CONFIG_SCSI. > That is, if CONFIG_SCSI=m, then CONFIG_USB_STORAGE must be > either n or m. > If CONFIG_SCSI is y, then CONFIG_USB_STORAGE may be either y, > n, or m. If > CONFIG_SCSI is n, then CONFIG_USB_STORAGE must be n. > > Basically, the restrictions in Config.in were relaxed too much. > > Matt Dharm > > On Fri, May 19, 2000 at 07:35:32AM -0700, Dunlap, Randy wrote: > > Yep, I broke it. This didn't even cross my mind. > > > > Matthew D., can you tell me/us what CONFIG_USB_STORAGE > > needs to be dependent upon when building in-kernel? > > > > Is it $CONFIG_BLK_DEV_IDESCSI or $CONFIG_BLK_DEV_SD > > or $CONFIG_SCSI or $CONFIG_CHR_DEV_SG (generic) or > > <some of these OR-ed together>? > > > > Thanks, > > Randy > > > > > > > drivers/usb/usbdrv.o: In function `us_detect': > > > drivers/usb/usbdrv.o(.text+0xdb43): undefined reference to > > > `scsi_register' > > > drivers/usb/usbdrv.o: In function `storage_probe': > > > drivers/usb/usbdrv.o(.text+0xf5cb): undefined reference to > > > `scsi_register_module' > > > > > > CONFIG_BLK_DEV_IDESCSI=m > > > CONFIG_SCSI=m > > > CONFIG_BLK_DEV_SD=m > > > CONFIG_SD_EXTRA_DEVS=40 > > > CONFIG_USB=y > > > CONFIG_USB_DEBUG=y > > > CONFIG_USB_DEVICEFS=y > > > CONFIG_USB_UHCI=m > > > CONFIG_USB_UHCI_ALT=m > > > CONFIG_USB_OHCI=y > > > CONFIG_USB_SCANNER=y > > > CONFIG_USB_STORAGE=y > > > CONFIG_USB_STORAGE_DEBUG=y > > > CONFIG_USB_HID=m > > > CONFIG_INPUT_KEYBDEV=y > > > CONFIG_INPUT_MOUSEDEV=y > > > CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 > > > CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 > > > CONFIG_INPUT_EVDEV=y > > -- > Matthew Dharm Home: > [EMAIL PROTECTED] > Senior Engineer, QCP Inc. Work: > [EMAIL PROTECTED] > > C: Like the Furby? > DP: He gives me the creeps. Think the SPCA will take him? > -- Cobb and Dust Puppy > User Friendly, 1/2/1999 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
