[systemd-devel] Undefined reference efi_loader_get_boot_usec

Allmeroth, Robert robert.allmeroth at harman.com
Tue Feb 11 04:12:52 PST 2014


Hi,

While crosscompiling to an embedded system I got the following error:
systemd-208/.libs/libudev.so: undefined reference to `efi_loader_get_boot_usec'

I helped myself to #ifdef the body of boot_timestamps() in shared/boot_timestamp.c

Best regards
  Robert

Configure:
        systemd 208

        libcryptsetup:           no
        tcpwrap:                 no
        PAM:                     no
        AUDIT:                   no
        IMA:                     no
        SELinux:                 no
        SMACK:                   no
        XZ:                      no
        ACL:                     no
        XATTR:                   no
        GCRYPT:                  no
        QRENCODE:                no
        MICROHTTPD:              no
        CHKCONFIG:               no
        binfmt:                  no
        vconsole:                no
        readahead:               yes
        bootchart:               yes
        quotacheck:              no
        tmpfiles:                yes
        randomseed:              no
        backlight:               no
        logind:                  no
        machined:                yes
        hostnamed:               no
        timedated:               no
        localed:                 no
        coredump:                no
        polkit:                  no
        efi:                     no
        kmod:                    no
        blkid:                   no
        nss-myhostname:          no
        gudev:                   no
        gintrospection:          no
        Python:                  no
        Python Headers:          no
        man pages:               no
        gtk-doc:                 no
        test coverage:           no
        Split /usr:              yes
        SysV compatibility:      no

Full command line:
arm-linux-gnueabi-libtool: link: arm-linux-gnueabihf-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 
--sysroot=/data/work/rallmeroth/ossdk/poky/build/tmp/sysroots/omap5 -std=gnu99 -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections -fstack-protector --param=ssp-buffer-size=4 
-I/data/work/rallmeroth/ossdk/poky/build/tmp/sysroots/omap5/usr/include/dbus-1.0 
-I/data/work/rallmeroth/ossdk/poky/build/tmp/sysroots/omap5/usr/lib/dbus-1.0/include 
-isystem/data/work/rallmeroth/ossdk/poky/../toolchain//arm-linux-gnueabihf/include 
-O2 -pipe -g -feliminate-unused-debug-types 
-Wl,--as-needed 
-Wl,--no-undefined 
-Wl,--gc-sections 
-Wl,-z 
-Wl,relro 
-Wl,-z 
-Wl,now 
-Wl,-rpath-link 
-Wl,/data/work/rallmeroth/ossdk/poky/../toolchain//arm-linux-gnueabihf/lib 
-Wl,-O1 
-Wl,--hash-style=gnu 
-o .libs/systemd src/core/systemd-main.o  
-L/data/work/rallmeroth/ossdk/poky/../toolchain//arm-linux-gnueabihf/lib ./.libs/libsystemd-core.a /data/work/rallmeroth/ossdk/poky/build/tmp/work/armv7ahf-vfp-neon-linux-gnueabi/systemd-208-r0/systemd-208/.libs/libsystemd-daemon.so /data/work/rallmeroth/ossdk/poky/build/tmp/work/armv7ahf-vfp-neon-linux-gnueabi/systemd-208-r0/systemd-208/.libs/libudev.so 
-lcap ./.libs/libsystemd-daemon.so ./.libs/libsystemd-id128-internal.a ./.libs/libsystemd-dbus.a /data/work/rallmeroth/ossdk/poky/build/tmp/sysroots/omap5/usr/lib/libdbus-1.so -lpthread -lrt -ldl -pthread


ROBERT ALLMEROTH
Harman Automotive Division

Becker-Göring-Straße 16
76307 Karlsbad
Phone: +49 (0) 7248-71-1156
Fax: +49 (0) 7248-71-2156
Email: Robert.Allmeroth at harman.com
Web: www.harman.com






More information about the systemd-devel mailing list