Skip to content

dmsetup.c:(.text+0x294e): undefined reference to `dm_filemapd_mode_from_string' #1900

@saper

Description

@saper

Context of the Build

1. What board are you trying to build?

2. What repository:branch are you using to build from?

  • Heads:Master 6b73d6d
  • Other (please specify)

3. What version of coreboot are you trying to build

I think coreboot-24.02.01 will be pulled in

4. In building the rom where did you get the blobs?

  • No blobs required
  • Provided by the company that installed Heads on the device
  • Extracted from a backup rom taken from this device
  • Extracted from another backup rom taken from another device (please identify the board model)
  • Extracted from the online bios using the automated tools provided in Heads
  • I don't know

5. If using the automated tools to get the blobs did you run the relevant scripts in the blobs directory

  • Yes
  • No

6. What operating system are you using

Fedora 33

Please describe the problem

make[3]: Entering directory '/home/saper/space/heads/build/x86/lvm2.2.03.23/libdm/dm-tools'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/saper/space/heads/build/x86/lvm2.2.03.23/conf'
make -C include
make[2]: Entering directory '/home/saper/space/heads/build/x86/lvm2.2.03.23/include'
    [CC] dmsetup
/home/saper/space/heads/crossgcc/x86/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/saper/space/heads=heads -gno-record-gcc-switches -D__MUSL__ --sysroot  /home/saper/space/heads/install/x86 -isystem /home/saper/space/heads/install/x86/include -L/home/saper/space/heads/install/x86/lib  -Os  -fPIC   -Wl,--export-dynamic \
      -o dmsetup dmsetup.o -L../../libdm/ioctl -ldevmapper -lpthread    -lm
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/saper/space/heads/build/x86/lvm2.2.03.23/include'
make -C libdaemon
make[2]: Entering directory '/home/saper/space/heads/build/x86/lvm2.2.03.23/libdaemon'
/home/saper/space/heads/crossgcc/x86/bin/../lib/gcc/x86_64-linux-musl/9.4.0/../../../../x86_64-linux-musl/bin/ld: dmsetup.o: in function `_stats_update_file':
dmsetup.c:(.text+0x2b10): undefined reference to `dm_stats_bind_from_fd'
/home/saper/space/heads/crossgcc/x86/bin/../lib/gcc/x86_64-linux-musl/9.4.0/../../../../x86_64-linux-musl/bin/ld: dmsetup.c:(.text+0x2b7a): undefined reference to `dm_stats_start_filemapd'
/home/saper/space/heads/crossgcc/x86/bin/../lib/gcc/x86_64-linux-musl/9.4.0/../../../../x86_64-linux-musl/bin/ld: dmsetup.c:(.text+0x2bb3): undefined reference to `dm_stats_update_regions_from_fd'
/home/saper/space/heads/crossgcc/x86/bin/../lib/gcc/x86_64-linux-musl/9.4.0/../../../../x86_64-linux-musl/bin/ld: dmsetup.o: in function `_status':
dmsetup.c:(.text+0x8200): undefined reference to `dm_task_ima_measurement'
/home/saper/space/heads/crossgcc/x86/bin/../lib/gcc/x86_64-linux-musl/9.4.0/../../../../x86_64-linux-musl/bin/ld: dmsetup.o: in function `_stats_create':
dmsetup.c:(.text+0x97e7): undefined reference to `dm_stats_bind_from_fd'
/home/saper/space/heads/crossgcc/x86/bin/../lib/gcc/x86_64-linux-musl/9.4.0/../../../../x86_64-linux-musl/bin/ld: dmsetup.c:(.text+0x98f1): undefined reference to `dm_stats_start_filemapd'
/home/saper/space/heads/crossgcc/x86/bin/../lib/gcc/x86_64-linux-musl/9.4.0/../../../../x86_64-linux-musl/bin/ld: dmsetup.o: in function `_stats_get_filemapd_mode':
dmsetup.c:(.text+0x294e): undefined reference to `dm_filemapd_mode_from_string'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:66: dmsetup] Error 1
make[3]: Leaving directory '/home/saper/space/heads/build/x86/lvm2.2.03.23/libdm/dm-tools'
make[2]: *** [../libdm/make.tmpl:337: dm-tools.device-mapper] Error 2
make[2]: Leaving directory '/home/saper/space/heads/build/x86/lvm2.2.03.23/libdm'
make[1]: *** [make.tmpl:398: libdm] Error 2

To Reproduce
Steps to reproduce the behavior:

make BOARD=x230-maximized

Additional context

Are we using host installation by chance and not the built code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions