stec-inc / EnhanceIO

EnhanceIO Open Source for Linux
Other
420 stars 177 forks source link

Compiling built-in EnhanceIO with 3.8.3 kernel results in fail #27

Closed pfactum closed 6 years ago

pfactum commented 11 years ago

If I compile EnhanceIO on 3.8.3 kernel as built-in (not module), I get the following result:

drivers/built-in.o: In function `eio_exit':
eio_conf.c:(.text+0xe221f): undefined reference to `scsi_bus_type'
drivers/built-in.o: In function `eio_notify_ssd_rm':
eio_conf.c:(.text+0xe23ea): undefined reference to `scsi_is_sdev_device'
drivers/built-in.o: In function `eio_init':
eio_conf.c:(.init.text+0x966b): undefined reference to `scsi_bus_type'

Could that be fixed?

sanoj-stec commented 11 years ago

I am not facing this issue. Could you explain the steps you performed

pfactum commented 11 years ago

Steps? Emmm… I compile kernel using make -j4 :). I think you need my .config. It's here: https://gist.github.com/d38a8cf405f6f66ef83e

I guess that EnhanceIO must depend on something from SCSI but it doesn't. I think EnhanceIO must require SCSI to be builtin too when it's being built as builtin. In my config SCSI is compiled as module.