1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
OK, solved the problem, need to insert |
5 |
$ROOT/etc/portage/bashrc with following content: |
6 |
|
7 |
do_usr_include() { |
8 |
if ! hasq -I${ROOT}/usr/include ${CFLAGS}; then |
9 |
export CFLAGS="${CFLAGS} -I${ROOT}/usr/include" |
10 |
fi |
11 |
} |
12 |
|
13 |
do_lib() { |
14 |
if ! hasq -L${ROOT}/lib ${LDFLAGS}; then |
15 |
export LDFLAGS="${LDFLAGS} -L${ROOT}/lib" |
16 |
fi |
17 |
} |
18 |
|
19 |
do_usr_lib() { |
20 |
if ! hasq -L${ROOT}/usr/lib ${LDFLAGS}; then |
21 |
export LDFLAGS="${LDFLAGS} -L${ROOT}/usr/lib" |
22 |
fi |
23 |
} |
24 |
|
25 |
if [ "$PN" == "bash" ]; then |
26 |
# https://bugs.gentoo.org/show_bug.cgi?id=135242 |
27 |
export ac_cv_func_setvbuf_reversed="no" |
28 |
do_lib |
29 |
do_usr_include |
30 |
fi |
31 |
|
32 |
unset do_lib do_usr_lib do_usr_include |
33 |
|
34 |
|
35 |
But still encountering Problems with includes. When compiling openssl, |
36 |
it breaks at including c_zlib.o because missing zlib.h. |
37 |
|
38 |
It is in the new included Dir $ROOT/usr/include as zlib.h but still |
39 |
not found. |
40 |
This message is shown: |
41 |
powerpc-somewhat-linux-gnu-gcc -I.. -I../.. -I../../include -fPIC |
42 |
- -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT |
43 |
- -DDSO_DLFCN -DHAVE_DLFCN_H -DB_ENDIAN -DTERMIO -Wall -Os -mcpu=405 |
44 |
- -mtune=405 -fomit-frame-pointer -pipe -fno-strict-aliasing |
45 |
- -Wa,--noexecstack -c -o c_zlib.o c_zlib.c |
46 |
c_zlib.c:25:18: error: zlib.h: No such file or directory |
47 |
..... |
48 |
|
49 |
Any suggestions? |
50 |
|
51 |
For the time beeing I will try to find a solution... |
52 |
|
53 |
Best, |
54 |
themole |
55 |
-----BEGIN PGP SIGNATURE----- |
56 |
Version: GnuPG v1.4.5 (MingW32) |
57 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
58 |
|
59 |
iD8DBQFFF7hdLA0LfkMzpGMRAs/8AJ47Wf8gUZbL4kOayt7aZie0Py5wwACfSD4l |
60 |
G24xzgVFULiCFGXDpxit7CM= |
61 |
=zV4I |
62 |
-----END PGP SIGNATURE----- |
63 |
|
64 |
-- |
65 |
gentoo-embedded@g.o mailing list |