util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cross compiling util-linux
@ 2012-09-06 17:30 Christer Solskogen
  2012-09-16 20:44 ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Christer Solskogen @ 2012-09-06 17:30 UTC (permalink / raw)
  To: util-linux

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-16 20:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 17:30 cross compiling util-linux Christer Solskogen
2012-09-16 20:44 ` Mike Frysinger
2012-09-16 20:49   ` Christer Solskogen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).