Hello I am trying to cross compile systemd for arm, but I got stuck on 'mount' cross depencency.
I managed to cross compile libmount from util-linux but can not figure out where to put it or how to specify where should meson look for it.
There is a 'mount-path' option, but even when providing it it still says:
Meson encountered an error in file meson.build, line 797, column 0:
Cross dependency 'mount' not found
My cross compile file looks like this:
[binaries]
c = '/usr/bin/arm-linux-gnueabi-gcc'
cpp = '/usr/bin/arm-linux-gnueabi-g++'
ar = '/usr/arm-linux-gnueabi/bin/ar'
strip = '/usr/arm-linux-gnueabi/bin/strip'
pkgconfig = '/usr/bin/arm-linux-gnueabi-pkg-config'
[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'cortex-m4'
endian = 'little'
[build_machine]
system = 'linux'
cpu_family = 'x86_64'
cpu = 'i686'
endian = 'little'
Btw if you know about another way to get systemd on arm without this ridiculous(IMHO) setup it would be nice.
Thank you.
apt-get install libmount-dev
worked for in ubuntu11.10