From: Christer Solskogen <christer.solskogen@gmail.com>
To: util-linux@vger.kernel.org
Subject: cross compiling util-linux
Date: Thu, 06 Sep 2012 19:30:36 +0200 [thread overview]
Message-ID: <k2amjt$fh0$1@ger.gmane.org> (raw)
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
next reply other threads:[~2012-09-06 17:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-06 17:30 Christer Solskogen [this message]
2012-09-16 20:44 ` cross compiling util-linux Mike Frysinger
2012-09-16 20:49 ` Christer Solskogen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='k2amjt$fh0$1@ger.gmane.org' \
--to=christer.solskogen@gmail.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.