ok .. all warnings against, I tried with a host_cf_gen and changed in
src/Makefile "./cf_gen ..." to "./host_cf_gen ..." ..
It seems to work .. seems ..
configure runs ok
...
l/liblru.a repl/libheap.a libBlocking.a libDiskDaemon.a libDiskThreads.a
-lpthread -lcrypt -lssl -lcrypto -lmiscutil -lm
../libltdl/.libs/libltdlc.a -ldl -Wl,-rpath
-Wl,/home/kromonos/buildroot/buildroot/output/staging/usr/i486-unknown-linux-uclibc/lib
-Wl,-rpath
-Wl,/home/kromonos/buildroot/buildroot/output/staging/usr/i486-unknown-linux-uclibc/lib
/home/kromonos/buildroot/buildroot/output/staging/usr/lib/libcrypto.so:
warning: gethostbyname is obsolescent, use getnameinfo() instead.
ip/.libs/libip.a(IpAddress.o): In function `IpAddress::SetLocalhost()':
/home/kromonos/buildroot/build/squid-3.1.7/build/src/ip/../../../src/ip/IpAddress.cc:258:
undefined reference to `in6addr_loopback'
collect2: ld returned 1 exit status
libtool: link: rm -f ".libs/squidS.o"
make[3]: *** [squid] Error 1
make[3]: Leaving directory
`/home/kromonos/buildroot/build/squid-3.1.7/build/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/kromonos/buildroot/build/squid-3.1.7/build/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/kromonos/buildroot/build/squid-3.1.7/build/src'
make: *** [all-recursive] Error 1
I've attached config.log
Am Sun, 29 Aug 2010 schrieb Henrik Nordström:
> sön 2010-08-29 klockan 15:17 +0200 skrev kromonos_at_user-helfen-usern.de:
> > A
> > No need to do, I think. It's like cross compiling python. maybe, it's
> > possible to first create cf_gen with host compiler and set a variable
> > for make command, which says, which cf_gen to use. So, host cf_gen could
> > be renamed to hostcf_gen.
> >
> > cf_gen='hostcf_gen' make
>
> Problem here is that cf_gen gets a lot of configure details compiled ín.
> The above only works if the configure arguments when you compile cf_gen
> is very close to what you use for building squid.
>
> But it's also pretty much what the cross compile setups I have seen for
> Squid is doing.
>
> Regards
> Henrik
>
-- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d- s-: a- C++++ UL+++ P L++++ E- W+++ N++ o++ K- w--- O- M- V- PS+++ PE- Y PGP++ t+++ 5+++ X+ R++ tv++ b- DI- D- G+++ e h-- r+++ y+++ ------END GEEK CODE BLOCK------
This archive was generated by hypermail 2.2.0 : Mon Sep 06 2010 - 12:00:04 MDT