AnsweredAssumed Answered

undefined reference to `swiotlb_setup_bus_notifier'

Question asked by antóniosilva on Jan 4, 2016
Latest reply on Jan 4, 2016 by antóniosilva

Hi,

 

I got this error, when compiling Linux kernel 3.9.2 using gcc4.9.2 / ppce500V2 toolchain for p1010.

 

 

Log error:

 

...

...

  CC      lib/is_single_threaded.o - due to: include/config/spe.h

  CC      lib/klist.o - due to: include/config/spe.h

  CC      lib/kobject.o - due to: include/config/spe.h

  CC      lib/kobject_uevent.o - due to: include/config/spe.h

  CC      lib/percpu-refcount.o - due to: include/config/spe.h

  CC      lib/plist.o - due to: include/config/spe.h

  CC      lib/prio_heap.o - due to: include/config/spe.h

  CC      lib/proportions.o - due to: include/config/spe.h

  CC      lib/radix-tree.o - due to: include/config/spe.h

  CC      lib/ratelimit.o - due to: include/config/spe.h

  CC      lib/rwsem.o - due to: include/config/spe.h

  CC      lib/show_mem.o - due to: include/config/spe.h

  CC      lib/timerqueue.o - due to: include/config/spe.h

  CC      lib/vsprintf.o - due to: include/config/spe.h

  AR      lib/lib.a - due to: lib/argv_split.o lib/bug.o lib/dec_and_lock.o lib/decompress_inflate.o lib/dump_stack.o lib/extable.o lib/flex_proportions.o lib/idr.o lib/ioremap.o lib/irq_regs.o lib/is_single_threaded.o lib/klist.o lib/kobject.o lib/kobject_uevent.o lib/percpu-refcount.o lib/plist.o lib/prio_heap.o lib/proportions.o lib/radix-tree.o lib/ratelimit.o lib/rwsem.o lib/show_mem.o lib/timerqueue.o lib/vsprintf.o

  LINK    vmlinux - due to target missing

  LD      vmlinux.o

  MODPOST vmlinux.o - due to vmlinux.o not in $(targets)

  GEN     .version

  CHK     include/generated/compile.h

  UPD     include/generated/compile.h

  CC      init/version.o - due to: include/generated/compile.h

  LD      init/built-in.o - due to: init/version.o

arch/powerpc/platforms/built-in.o: In function `__machine_initcall_p1010_rdb_swiotlb_setup_bus_notifier':

/home/amacedo/zebic/lib/linux/arch/powerpc/platforms/85xx/p1010rdb.c:58: undefined reference to `swiotlb_setup_bus_notifier'

make: *** [vmlinux] Error 1

 

What can be the root cause?

 

thx

Outcomes