Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 742989

Summary: app-laptop/pommed-1.39-r1 - ld: pmac/kbd_backlight.o: in function `kbd_get_lmuaddr': kbd_backlight.c:(.text+0xb3c): undefined reference to `of_init'
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Naohiro Aota <naota>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2020-09-16 16:19:34 UTC
Created attachment 660642 [details]
build.log

[...]
powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -pipe -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE      -Ipmac   -c -o pmac/ofapi/of_standard.o pmac/ofapi/of_standard.c
ar cru pmac/ofapi/oflib.a pmac/ofapi/of_externals.o pmac/ofapi/of_internals.o pmac/ofapi/of_standard.o
powerpc-unknown-linux-gnu-gcc -o pommed pommed.o cd_eject.o evdev.o conffile.o audio.o evloop.o dbus.o power.o beep.o video.o sysfs_backlight.o pmac/pmu.o pmac/kbd_backlight.o pmac/ambient.o -pthread -lrt -ldbus-1 -lasound -laudiofile -lconfuse -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: pmac/kbd_backlight.o: in function `kbd_get_lmuaddr':
kbd_backlight.c:(.text+0xb3c): undefined reference to `of_init'
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: kbd_backlight.c:(.text+0xb4c): undefined reference to `of_find_node_by_type'
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: kbd_backlight.c:(.text+0xb60): undefined reference to `of_find_node_by_name'
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: kbd_backlight.c:(.text+0xba4): undefined reference to `of_find_property'
/usr/lib/gcc/powerpc-unknown-linux-gnu/9.3.0/../../../../powerpc-unknown-linux-gnu/bin/ld: kbd_backlight.c:(.text+0xbc0): undefined reference to `of_free_node'
collect2: error: ld returned 1 exit status
make: *** [Makefile:75: pommed] Error 1
 * ERROR: app-laptop/pommed-1.39-r1::gentoo failed (compile phase):
Comment 1 ernsteiswuerfel archtester 2020-09-16 16:20:04 UTC
Created attachment 660645 [details]
emerge --info