On Sun, Feb 3, 2013 at 7:28 AM, Dustin C. Hatch <admiraln...@gmail.com> wrote:
> On 2/2/2013 19:43, Nilesh Govindrajan wrote:
>>
>> On Sat, Feb 2, 2013 at 11:07 PM, Dustin C. Hatch <admiraln...@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

Reply via email to