1 |
On Sun, Feb 3, 2013 at 7:28 AM, Dustin C. Hatch <admiralnemo@×××××.com> wrote: |
2 |
> On 2/2/2013 19:43, Nilesh Govindrajan wrote: |
3 |
>> |
4 |
>> On Sat, Feb 2, 2013 at 11:07 PM, Dustin C. Hatch <admiralnemo@×××××.com> |
5 |
>> wrote: |
6 |
>>> |
7 |
>>> I encountered these types of errors when building as well. It is because |
8 |
>>> the |
9 |
>>> "embedded" profile, which is the profile crossdev selects by default, is |
10 |
>>> missing a huge amount of information. I tried defining it all in |
11 |
>>> ${PORTAGE_CONFIG_ROOT}/profile but it got to be a chore. I ended up |
12 |
>>> switching to the default Linux profile for ARM, which worked much better. |
13 |
>>> |
14 |
>>> -- |
15 |
>>> ♫Dustin |
16 |
>>> |
17 |
>> |
18 |
>> Which means /usr/armv6j-hardfloat-linux-gnueabi/etc/portage/make.profile? |
19 |
>> |
20 |
>> -- |
21 |
>> Nilesh Govindrajan |
22 |
>> http://nileshgr.com |
23 |
>> |
24 |
> Yeah, change that to point to /usr/portage/profiles/default/linux/arm/10.0 |
25 |
> |
26 |
> -- |
27 |
> ♫Dustin |
28 |
> |
29 |
|
30 |
Okay that solved the ebuild problem, but I'm stuck with another problem now -_- |
31 |
|
32 |
make[3]: Entering directory |
33 |
`/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6/modules/pam_userdb' |
34 |
/bin/sh ../../libtool --tag=CC --mode=compile |
35 |
armv6j-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../.. |
36 |
-I../../libpam/include -I../../libpamc/include -O2 -pipe |
37 |
-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -W -Wall |
38 |
-Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations |
39 |
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes |
40 |
-Wwrite-strings -Winline -Wshadow -c -o pam_userdb.lo pam_userdb.c |
41 |
libtool: compile: armv6j-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H |
42 |
-I. -I../.. -I../../libpam/include -I../../libpamc/include -O2 -pipe |
43 |
-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -W -Wall |
44 |
-Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations |
45 |
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes |
46 |
-Wwrite-strings -Winline -Wshadow -c pam_userdb.c -fPIC -DPIC -o |
47 |
.libs/pam_userdb.o |
48 |
/bin/sh ../../libtool --tag=CC --mode=link |
49 |
armv6j-hardfloat-linux-gnueabi-gcc -I../../libpam/include |
50 |
-I../../libpamc/include -O2 -pipe -march=armv6zk -mtune=arm1176jzf-s |
51 |
-mfpu=vfp -mfloat-abi=hard -W -Wall -Wbad-function-cast -Wcast-align |
52 |
-Wcast-qual -Wmissing-declarations -Wmissing-prototypes |
53 |
-Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings |
54 |
-Winline -Wshadow -no-undefined -avoid-version -module -ldb-4.8 |
55 |
-lcrypt -Wl,--version-script=./../modules.map -Wl,-O1 -Wl,--as-needed |
56 |
-Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -o pam_userdb.la -rpath |
57 |
/lib/security pam_userdb.lo ../../libpam/libpam.la |
58 |
libtool: link: armv6j-hardfloat-linux-gnueabi-gcc -shared -fPIC -DPIC |
59 |
.libs/pam_userdb.o -Wl,-rpath |
60 |
-Wl,/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6/libpam/.libs |
61 |
/usr/lib/libdb-4.8.so -lpthread -lcrypt -Wl,--as-needed |
62 |
../../libpam/.libs/libpam.so -ldl -O2 -march=armv6zk |
63 |
-mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard |
64 |
-Wl,--version-script=./../modules.map -Wl,-O1 -Wl,--no-undefined |
65 |
-Wl,-O1 -Wl,-soname -Wl,pam_userdb.so -o .libs/pam_userdb.so |
66 |
/usr/lib/libdb-4.8.so: file not recognized: File format not recognized |
67 |
collect2: error: ld returned 1 exit status |
68 |
make[3]: *** [pam_userdb.la] Error 1 |
69 |
make[3]: Leaving directory |
70 |
`/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6/modules/pam_userdb' |
71 |
make[2]: *** [all-recursive] Error 1 |
72 |
make[2]: Leaving directory |
73 |
`/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6/modules' |
74 |
make[1]: *** [all-recursive] Error 1 |
75 |
make[1]: Leaving directory |
76 |
`/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6' |
77 |
make: *** [all] Error 2 |
78 |
* ERROR: sys-libs/pam-1.1.6-r2 failed (compile phase): |
79 |
* emake failed |
80 |
* |
81 |
* If you need support, post the output of `emerge --info |
82 |
'=sys-libs/pam-1.1.6-r2'`, |
83 |
* the complete build log and the output of `emerge -pqv |
84 |
'=sys-libs/pam-1.1.6-r2'`. |
85 |
* The complete build log is located at |
86 |
'/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/temp/build.log'. |
87 |
* The ebuild environment file is located at |
88 |
'/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/temp/environment'. |
89 |
* Working directory: |
90 |
'/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6' |
91 |
* S: '/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/work/Linux-PAM-1.1.6' |
92 |
|
93 |
[PS: It's a symlink in /usr, so you see /home in the output] |
94 |
|
95 |
-- |
96 |
Nilesh Govindrajan |
97 |
http://nileshgr.com |