From: Nilesh Govindrajan <me@nileshgr.com>
To: Gentoo User Mailing List <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Compiling Gentoo for Raspberry Pi (Was: List of base system packages)
Date: Sun, 3 Feb 2013 15:40:03 +0530 [thread overview]
Message-ID: <CAHgBc-vvB7MkHYMUFa7-8q-VuK_vSHcq5xJsCDFsb7xB0sgzLw@mail.gmail.com> (raw)
On Sun, Feb 3, 2013 at 7:28 AM, Dustin C. Hatch <admiralnemo@gmail.com> wrote:
> On 2/2/2013 19:43, Nilesh Govindrajan wrote:
>>
>> On Sat, Feb 2, 2013 at 11:07 PM, Dustin C. Hatch <admiralnemo@gmail.com>
>> wrote:
>>>
>>> I encountered these types of errors when building as well. It is because
>>> the
>>> "embedded" profile, which is the profile crossdev selects by default, is
>>> missing a huge amount of information. I tried defining it all in
>>> ${PORTAGE_CONFIG_ROOT}/profile but it got to be a chore. I ended up
>>> switching to the default Linux profile for ARM, which worked much better.
>>>
>>> --
>>> ♫Dustin
>>>
>>
>> Which means /usr/armv6j-hardfloat-linux-gnueabi/etc/portage/make.profile?
>>
>> --
>> Nilesh Govindrajan
>> http://nileshgr.com
>>
> Yeah, change that to point to /usr/portage/profiles/default/linux/arm/10.0
>
> --
> ♫Dustin
>
Okay that solved the ebuild problem, but I'm stuck with another problem now -_-
make[3]: Entering directory
`/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6/modules/pam_userdb'
/bin/sh ../../libtool --tag=CC --mode=compile
armv6j-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../..
-I../../libpam/include -I../../libpamc/include -O2 -pipe
-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -W -Wall
-Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes
-Wwrite-strings -Winline -Wshadow -c -o pam_userdb.lo pam_userdb.c
libtool: compile: armv6j-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H
-I. -I../.. -I../../libpam/include -I../../libpamc/include -O2 -pipe
-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -W -Wall
-Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes
-Wwrite-strings -Winline -Wshadow -c pam_userdb.c -fPIC -DPIC -o
.libs/pam_userdb.o
/bin/sh ../../libtool --tag=CC --mode=link
armv6j-hardfloat-linux-gnueabi-gcc -I../../libpam/include
-I../../libpamc/include -O2 -pipe -march=armv6zk -mtune=arm1176jzf-s
-mfpu=vfp -mfloat-abi=hard -W -Wall -Wbad-function-cast -Wcast-align
-Wcast-qual -Wmissing-declarations -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings
-Winline -Wshadow -no-undefined -avoid-version -module -ldb-4.8
-lcrypt -Wl,--version-script=./../modules.map -Wl,-O1 -Wl,--as-needed
-Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -o pam_userdb.la -rpath
/lib/security pam_userdb.lo ../../libpam/libpam.la
libtool: link: armv6j-hardfloat-linux-gnueabi-gcc -shared -fPIC -DPIC
.libs/pam_userdb.o -Wl,-rpath
-Wl,/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6/libpam/.libs
/usr/lib/libdb-4.8.so -lpthread -lcrypt -Wl,--as-needed
../../libpam/.libs/libpam.so -ldl -O2 -march=armv6zk
-mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard
-Wl,--version-script=./../modules.map -Wl,-O1 -Wl,--no-undefined
-Wl,-O1 -Wl,-soname -Wl,pam_userdb.so -o .libs/pam_userdb.so
/usr/lib/libdb-4.8.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make[3]: *** [pam_userdb.la] Error 1
make[3]: Leaving directory
`/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6/modules/pam_userdb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6'
make: *** [all] Error 2
* ERROR: sys-libs/pam-1.1.6-r2 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info
'=sys-libs/pam-1.1.6-r2'`,
* the complete build log and the output of `emerge -pqv
'=sys-libs/pam-1.1.6-r2'`.
* The complete build log is located at
'/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/temp/build.log'.
* The ebuild environment file is located at
'/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/temp/environment'.
* Working directory:
'/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6'
* S: '/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6'
[PS: It's a symlink in /usr, so you see /home in the output]
--
Nilesh Govindrajan
http://nileshgr.com
next reply other threads:[~2013-02-03 10:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-03 10:10 Nilesh Govindrajan [this message]
2013-02-03 15:49 ` [gentoo-user] Compiling Gentoo for Raspberry Pi (Was: List of base system packages) Dustin C. Hatch
2013-02-03 18:24 ` Nilesh Govindrajan
2013-02-03 21:44 ` Dustin C. Hatch
2013-02-04 5:43 ` Nilesh Govindrajan
2013-02-04 6:32 ` Yohan Pereira
2013-02-04 6:44 ` Nilesh Govindrajan
2013-02-04 7:05 ` Yohan Pereira
2013-02-04 13:23 ` Nilesh Govindrajan
2013-02-04 19:23 ` Dustin C. Hatch
2013-02-05 4:41 ` Nilesh Govindrajan
2013-02-05 5:09 ` Dustin C. Hatch
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=CAHgBc-vvB7MkHYMUFa7-8q-VuK_vSHcq5xJsCDFsb7xB0sgzLw@mail.gmail.com \
--to=me@nileshgr.com \
--cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox