cross compiling util-linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I'm having a bit trouble cross compiling util-linux. Due to where is thinks it finds libpam.la. For all I know that might be a problem that Linux-PAM has, but if anyone could point me in the right direction I would be very happy :-)

[solskogen@cheer util-linux.x86_64-centix-linux-gnu]$ make
make  all-recursive
make[1]: Entering directory `/storage/home/solskogen/obj/_build/util-linux.x86_64-centix-linux-gnu'
Making all in po
make[2]: Entering directory `/storage/home/solskogen/obj/_build/util-linux.x86_64-centix-linux-gnu/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/storage/home/solskogen/obj/_build/util-linux.x86_64-centix-linux-gnu/po' make[2]: Entering directory `/storage/home/solskogen/obj/_build/util-linux.x86_64-centix-linux-gnu'
  CCLD   libblkid.la
copying selected object files to avoid basename conflicts...
  CCLD   libmount.la
  CCLD   login
libtool: link: cannot find the library `/lib64/libpam.la' or unhandled argument `/lib64/libpam.la'
make[2]: *** [login] Error 1
make[2]: Leaving directory `/storage/home/solskogen/obj/_build/util-linux.x86_64-centix-linux-gnu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/storage/home/solskogen/obj/_build/util-linux.x86_64-centix-linux-gnu'
make: *** [all] Error 2

configure was run like this: -prefix=/usr --build=x86_64-unknown-linux-gnu --host=x86_64-centix-linux-gnu --with-sysroot=/home/solskogen/obj/root.x86_64-centix-linux-gnu

I have succesfully compiled the linux kernel, binutils, gcc, glibc etc. with the cross compiler so I'm pretty sure that nothing is wrong with my toolchain.


--
chs

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux