Latest trunk's patched kernel fails to build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've just tried to build a kernel with 3450 rev trunk patch applied, but it failed at final kernel image linking stage (see output below).

The thing is that in kernel Makefile for 2.6.38 new scst_tg.o was forgotten. Patch is below.

---------------------------------------------------------------------
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `scst_remove':
scst_main.c:(.text+0x10d6a0): undefined reference to `scst_dg_dev_remove_by_dev'
drivers/built-in.o: In function `scst_unregister_virtual_device':
(.text+0x10d9a0): undefined reference to `scst_dg_dev_remove_by_dev'
drivers/built-in.o: In function `scst_unregister_target':
(.text+0x10e5df): undefined reference to `scst_tg_tgt_remove_by_tgt'
drivers/built-in.o: In function `scst_device_groups_mgmt_store':
scst_sysfs.c:(.text+0x120f78): undefined reference to `scst_dg_add'
scst_sysfs.c:(.text+0x120fae): undefined reference to `scst_dg_remove'
drivers/built-in.o: In function `scst_dg_devs_mgmt_store_work_fn':
scst_sysfs.c:(.text+0x1223e4): undefined reference to `scst_lookup_dg_by_kobj'
scst_sysfs.c:(.text+0x122484): undefined reference to `scst_dg_dev_add'
scst_sysfs.c:(.text+0x1224a4): undefined reference to `scst_dg_dev_remove_by_name'
drivers/built-in.o: In function `scst_dg_tgs_mgmt_store_work_fn':
scst_sysfs.c:(.text+0x1224f4): undefined reference to `scst_lookup_dg_by_kobj'
scst_sysfs.c:(.text+0x122594): undefined reference to `scst_tg_add'
scst_sysfs.c:(.text+0x1225b4): undefined reference to `scst_tg_remove_by_name'
drivers/built-in.o: In function `scst_tg_state_store_work_fn':
scst_sysfs.c:(.text+0x1227c2): undefined reference to `scst_tg_set_state'
drivers/built-in.o: In function `scst_tg_mgmt_store_work_fn':
scst_sysfs.c:(.text+0x122a34): undefined reference to `scst_tg_tgt_add'
scst_sysfs.c:(.text+0x122a54): undefined reference to `scst_tg_tgt_remove_by_name'
drivers/built-in.o: In function `vdisk_exec_inquiry':
scst_vdisk.c:(.text+0x12dfca): undefined reference to `scst_impl_alua_configured'
scst_vdisk.c:(.text+0x12e411): undefined reference to `scst_lookup_tg_id'
drivers/built-in.o: In function `vdisk_do_job':
scst_vdisk.c:(.text+0x12ef54): undefined reference to `scst_tg_get_group_info'
drivers/built-in.o: In function `init_scst':
scst_main.c:(.init.text+0x844f): undefined reference to `scst_tg_init'
scst_main.c:(.init.text+0x86ed): undefined reference to `scst_tg_cleanup'
drivers/built-in.o: In function `exit_scst':
scst_main.c:(.exit.text+0x98f): undefined reference to `scst_tg_cleanup'
make: *** [.tmp_vmlinux1] Error 1

---------------------------------------------------------------------

---------------------------------------------------------------------
 # diff -c Makefile.scst-2.6.38.orig Makefile.scst-2.6.38
*** Makefile.scst-2.6.38.orig   Thu May 12 17:08:05 2011
--- Makefile.scst-2.6.38        Thu May 12 17:08:11 2011
***************
*** 6,11 ****
--- 6,12 ----
  scst-y        += scst_lib.o
  scst-y        += scst_sysfs.o
  scst-y        += scst_mem.o
+ scst-y        += scst_tg.o
  scst-y        += scst_debug.o

obj-$(CONFIG_SCST) += scst.o dev_handlers/ fcst/ iscsi-scst/ qla2xxx-target/ \
---------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux