# 00:22:41 |
HanSooloo |
quits : Quit: HanSooloo |
# 00:29:30 |
alan_o |
quits : Ping timeout: 264 seconds |
# 00:41:05 |
alan_o |
joins #crosstool-ng |
# 00:42:38 |
cody1 |
quits : Ping timeout: 245 seconds |
# 00:57:19 |
HanSooloo |
joins #crosstool-ng |
# 01:00:06 |
alan_o |
quits : Ping timeout: 264 seconds |
# 01:05:48 |
HanSooloo_ |
joins #crosstool-ng |
# 01:05:48 |
HanSooloo |
quits : Read error: Connection reset by peer |
# 01:05:48 |
HanSooloo_ |
is now known as: HanSooloo |
# 01:15:46 |
alan_o |
joins #crosstool-ng |
# 01:22:45 |
bhundven |
is now known as: bhundven|0xf00d |
# 02:00:45 |
bhundven|0xf00d |
is now known as: bhundven |
# 04:16:58 |
alan_o |
quits : Remote host closed the connection |
# 07:39:25 |
smartin |
joins #crosstool-ng |
# 09:33:18 |
sh4rm4 |
quits : Ping timeout: 276 seconds |
# 09:34:43 |
sh4rm4 |
joins #crosstool-ng |
# 13:46:16 |
alan_o |
joins #crosstool-ng |
# 15:30:03 |
cody |
joins #crosstool-ng |
# 16:09:47 |
cody |
quits : Quit: Leaving. |
# 16:10:20 |
codyps |
joins #crosstool-ng |
# 16:22:38 |
pnoffke |
If I call the cross-compiler with -Iinclude, will the compiler know to change that to the top-level install dir of the toolchain? |
# 16:26:46 |
linuxjacques |
I would say "no" |
# 16:27:50 |
imMute |
pnoffke: no, it will not |
# 16:32:47 |
pnoffke |
Hmm, I'm trying to build busybox, and I'm getting an error that it can't find rpc/rpc.h. Lots of files compile fine up to this one (networking/inetd.c), with the same include paths. |
# 16:33:40 |
imMute |
pnoffke: are you using glibc 2.14 or later? |
# 16:34:29 |
pnoffke |
I used eglibc 2.15 for the toolchain. Then I compiled eglibc 2.16 with the cross-compiler and the --enable-obsolete-rpc configure option. |
# 16:35:04 |
pnoffke |
I have rpc/rpc.h in the include directory at the toolchain install location. |
# 16:36:02 |
imMute |
then my guess is either the includes are wrong or you're inadvertently using the wrong compiler |
# 16:36:23 |
pnoffke |
Here is the compile command and the error that I'm getting. |
# 16:36:23 |
pnoffke |
x86_64-unknown-linux-gnu-gcc -Wp,-MD,networking/.inetd.o.d -std=gnu99 -Iinclude -Ilibbb -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BB_VER=KBUILD_STR(1.20.2)" -DBB_BT=AUTOCONF_TIMESTAMP -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-decla |
# 16:36:31 |
pnoffke |
networking/inetd.c:176:22: fatal error: rpc/rpc.h: No such file or directory |
# 16:37:09 |
imMute |
use x86_64-unknown-linux-gnu-gcc -print-search-dirs to see where it's looking for include files, and then make sure rpc/rpc.h is there |
# 16:37:39 |
pnoffke |
Thanks, I'll do that. |
# 16:48:35 |
pnoffke |
-print-search-dirs doesn't list any include directories. From the man page, I don't think it's supposed to. It only lists programs and libraries. |
# 17:06:31 |
pnoffke |
imMute: I'm guessing it's using the eglibc 2.15 include directories that were built as part of crosstool. |
# 17:08:17 |
pnoffke |
I built 2.16 for my target, and installed it to the rootfs (/usr), but then moved /usr/include/* on the rootfs to toolchain-install-dir/include/. I'm not sure this is the right thing to do. |
# 17:09:35 |
pnoffke |
Is it possible to build crosstool with eglibc 2.16 (with --enable-obsolete-rpc)? |
# 17:17:22 |
bhundven |
just fyi, (e)glibc-2.16 has broken quite a bit of things for me. not for the faint of heart ;) |
# 17:18:20 |
bhundven |
I'd stick with 2.15 for now |
# 17:18:38 |
bhundven |
or prior |
# 17:23:04 |
pnoffke |
Okay. I'm going to see if I can just disable inetd in busybox. |
# 21:00:22 |
HanSooloo |
quits : Quit: HanSooloo |
# 21:01:10 |
HanSooloo |
joins #crosstool-ng |
# 21:02:36 |
HanSooloo |
quits : Client Quit |
# 21:05:16 |
pnoffke |
quits : Quit: leaving |
# 21:16:18 |
pnoffke |
joins #crosstool-ng |
# 21:44:36 |
smartin |
quits : Quit: leaving |
# 23:55:42 |
codyps |
quits : Ping timeout: 252 seconds |