activate Logging SPL log.c:48: undefined reference to `uclass_get_name'

Arendt, Steffen s.arendt at sensopart.de
Wed Jan 13 11:20:49 CET 2021


By activating Logging of SPL (uboot 20.04) I got the error:

aarch64-poky-linux-ld.bfd: common/built-in.o: in function `log_get_cat_name':
/home/user/y/src/uboot/uboot-imx/common/log.c:48: undefined reference to `uclass_get_name'

I found something about DM in mailing list, but DM is activated while building this.

How to solve/workaround that?
uclass.h , where uclass_get_name() is defined seems to be include in log.c. und uclass.o is compiled.

_____________________________________________________________________________

SensoPart Industriesensorik GmbH
Am Wiedenbach 1
79695 Wieden
Deutschland

Telefon: +49 7673 821 0

Amtsgericht Freiburg HRB 660163
USt-IdNr.: DE 811614252

Gesch?ftsf?hrer: Dr. Theodor Wanner, Thorsten Wanner

Informationen gem. Art. 13 DSGVO f?r unsere Kunden, Partner, Lieferanten finden Sie in unserer Erkl?rung zum Datenschutz unter https://www.sensopart.com/de/datenschutz




More information about the U-Boot mailing list