Skip to contentSkip to conversation

3.6-rc1: apple-gmux don't link, that mess the wole compilation because no vmlinuz produced

DISCUSSION werner 2 participants 2 messages Aug 3, 2012

lore
Share & tools
lore

werner

author
#0 lore raw

CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function `gmux_probe':
apple-gmux.c:(.devinit.text+0x6daa8): undefined reference to apple_bl_unregister' drivers/built-in.o: In function gmux_remove':
apple-gmux.c:(.devexit.text+0x8f80): undefined reference to `apple_bl_register'
make: [vmlinux] Error 1 (ignored)

  CC      arch/x86/boot/a20.o
  AS      arch/x86/boot/bioscall.o
  CC      arch/x86/boot/cmdline.o
  AS      arch/x86/boot/copy.o
  HOSTCC  arch/x86/boot/mkcpustr
  CPUSTR  arch/x86/boot/cpustr.h
  CC      arch/x86/boot/cpu.o
  CC      arch/x86/boot/cpucheck.o
  CC      arch/x86/boot/early_serial_console.o
  CC      arch/x86/boot/edd.o

make[1]: *** No rule to make target vmlinux', needed by arch/x86/boot/voffset.h'.
---
Professional hosting for everyone - http://www.host.ru

#1 lore raw
Quoted 19 lines · werner

CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function `gmux_probe':
apple-gmux.c:(.devinit.text+0x6daa8): undefined reference to `apple_bl_unregister'
drivers/built-in.o: In function `gmux_remove':
apple-gmux.c:(.devexit.text+0x8f80): undefined reference to `apple_bl_register'
make: [vmlinux] Error 1 (ignored)

  CC      arch/x86/boot/a20.o
  AS      arch/x86/boot/bioscall.o
  CC      arch/x86/boot/cmdline.o
  AS      arch/x86/boot/copy.o
  HOSTCC  arch/x86/boot/mkcpustr
  CPUSTR  arch/x86/boot/cpustr.h
  CC      arch/x86/boot/cpu.o
  CC      arch/x86/boot/cpucheck.o
  CC      arch/x86/boot/early_serial_console.o
  CC      arch/x86/boot/edd.o
Quoted 2 lines

make[1]: *** No rule to make target vmlinux', needed by arch/x86/boot/voffset.h'.

This is probably fixed by https://lkml.org/lkml/2012/8/2/286, but if you'll send the config your using when you get this error I'll double check.

Seth