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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Steffen Arendt
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