Hello everybody,
First of all I would like to thanks "Henrik
Nordstrom", i did manage to create a Makefile, and to
start a cross-compilation.
Now the not that nice stuff. I'm still having issues
compiling squid 2.6.13 for ARM. It seems that the
makefile tries to run cf_gen, but the cf_gen just
compiled is not for being run from a i386, just for
ARM. It also seems it is just used to create the
squid.conf file - please correct me if I'm wrong -.
Thanks a lot.
Pietro Menna
The log:
root@cinbi-box:/tcc/target-omap/squid-2.6.STABLE13#
make
Making all in lib
make[1]: Entering directory
`/tcc/target-omap/squid-2.6.STABLE13/lib'
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT Array.o
-MD -MP -MF ".deps/Array.Tpo" -c -o Array.o Array.c; \
then mv -f ".deps/Array.Tpo" ".deps/Array.Po";
else rm -f ".deps/Array.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT base64.o
-MD -MP -MF ".deps/base64.Tpo" -c -o base64.o
base64.c; \
then mv -f ".deps/base64.Tpo"
".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit
1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
getfullhostname.o -MD -MP -MF
".deps/getfullhostname.Tpo" -c -o getfullhostname.o
getfullhostname.c; \
then mv -f ".deps/getfullhostname.Tpo"
".deps/getfullhostname.Po"; else rm -f
".deps/getfullhostname.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT hash.o
-MD -MP -MF ".deps/hash.Tpo" -c -o hash.o hash.c; \
then mv -f ".deps/hash.Tpo" ".deps/hash.Po";
else rm -f ".deps/hash.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT heap.o
-MD -MP -MF ".deps/heap.Tpo" -c -o heap.o heap.c; \
then mv -f ".deps/heap.Tpo" ".deps/heap.Po";
else rm -f ".deps/heap.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
html_quote.o -MD -MP -MF ".deps/html_quote.Tpo" -c -o
html_quote.o html_quote.c; \
then mv -f ".deps/html_quote.Tpo"
".deps/html_quote.Po"; else rm -f
".deps/html_quote.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
iso3307.o -MD -MP -MF ".deps/iso3307.Tpo" -c -o
iso3307.o iso3307.c; \
then mv -f ".deps/iso3307.Tpo"
".deps/iso3307.Po"; else rm -f ".deps/iso3307.Tpo";
exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT md5.o
-MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.c; \
then mv -f ".deps/md5.Tpo" ".deps/md5.Po";
else rm -f ".deps/md5.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT radix.o
-MD -MP -MF ".deps/radix.Tpo" -c -o radix.o radix.c; \
then mv -f ".deps/radix.Tpo" ".deps/radix.Po";
else rm -f ".deps/radix.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
rfc1035.o -MD -MP -MF ".deps/rfc1035.Tpo" -c -o
rfc1035.o rfc1035.c; \
then mv -f ".deps/rfc1035.Tpo"
".deps/rfc1035.Po"; else rm -f ".deps/rfc1035.Tpo";
exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
rfc1123.o -MD -MP -MF ".deps/rfc1123.Tpo" -c -o
rfc1123.o rfc1123.c; \
then mv -f ".deps/rfc1123.Tpo"
".deps/rfc1123.Po"; else rm -f ".deps/rfc1123.Tpo";
exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
rfc1738.o -MD -MP -MF ".deps/rfc1738.Tpo" -c -o
rfc1738.o rfc1738.c; \
then mv -f ".deps/rfc1738.Tpo"
".deps/rfc1738.Po"; else rm -f ".deps/rfc1738.Tpo";
exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
rfc2617.o -MD -MP -MF ".deps/rfc2617.Tpo" -c -o
rfc2617.o rfc2617.c; \
then mv -f ".deps/rfc2617.Tpo"
".deps/rfc2617.Po"; else rm -f ".deps/rfc2617.Tpo";
exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
safe_inet_addr.o -MD -MP -MF
".deps/safe_inet_addr.Tpo" -c -o safe_inet_addr.o
safe_inet_addr.c; \
then mv -f ".deps/safe_inet_addr.Tpo"
".deps/safe_inet_addr.Po"; else rm -f
".deps/safe_inet_addr.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT splay.o
-MD -MP -MF ".deps/splay.Tpo" -c -o splay.o splay.c; \
then mv -f ".deps/splay.Tpo" ".deps/splay.Po";
else rm -f ".deps/splay.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT Stack.o
-MD -MP -MF ".deps/Stack.Tpo" -c -o Stack.o Stack.c; \
then mv -f ".deps/Stack.Tpo" ".deps/Stack.Po";
else rm -f ".deps/Stack.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
stub_memaccount.o -MD -MP -MF
".deps/stub_memaccount.Tpo" -c -o stub_memaccount.o
stub_memaccount.c; \
then mv -f ".deps/stub_memaccount.Tpo"
".deps/stub_memaccount.Po"; else rm -f
".deps/stub_memaccount.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT util.o
-MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po";
else rm -f ".deps/util.Tpo"; exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
uudecode.o -MD -MP -MF ".deps/uudecode.Tpo" -c -o
uudecode.o uudecode.c; \
then mv -f ".deps/uudecode.Tpo"
".deps/uudecode.Po"; else rm -f ".deps/uudecode.Tpo";
exit 1; fi
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
inet_ntoa.o -MD -MP -MF ".deps/inet_ntoa.Tpo" -c -o
inet_ntoa.o inet_ntoa.c; \
then mv -f ".deps/inet_ntoa.Tpo"
".deps/inet_ntoa.Po"; else rm -f
".deps/inet_ntoa.Tpo"; exit 1; fi
rm -f libmiscutil.a
/usr/bin/ar cru libmiscutil.a Array.o base64.o
getfullhostname.o hash.o heap.o html_quote.o iso3307.o
md5.o radix.o rfc1035.o rfc1123.o rfc1738.o rfc2617.o
safe_inet_addr.o splay.o Stack.o stub_memaccount.o
util.o uudecode.o inet_ntoa.o
arm-linux-ranlib libmiscutil.a
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../include -Wall -g -O2 -MT
ntlmauth.o -MD -MP -MF ".deps/ntlmauth.Tpo" -c -o
ntlmauth.o ntlmauth.c; \
then mv -f ".deps/ntlmauth.Tpo"
".deps/ntlmauth.Po"; else rm -f ".deps/ntlmauth.Tpo";
exit 1; fi
rm -f libntlmauth.a
/usr/bin/ar cru libntlmauth.a ntlmauth.o inet_ntoa.o
arm-linux-ranlib libntlmauth.a
make[1]: Leaving directory
`/tcc/target-omap/squid-2.6.STABLE13/lib'
Making all in scripts
make[1]: Entering directory
`/tcc/target-omap/squid-2.6.STABLE13/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/tcc/target-omap/squid-2.6.STABLE13/scripts'
Making all in src
make[1]: Entering directory
`/tcc/target-omap/squid-2.6.STABLE13/src'
arm-linux-gcc -Wall -g -O2 -g -o cf_gen cf_gen.o
debug.o globals.o -L../lib -lmiscutil -lm -lbsd -lnsl
./cf_gen cf.data
./cf_gen: ./cf_gen: cannot execute binary file
make[1]: *** [cf_parser.h] Error 126
make[1]: Leaving directory
`/tcc/target-omap/squid-2.6.STABLE13/src'
make: *** [all-recursive] Error 1
root@cinbi-box:/tcc/target-omap/squid-2.6.STABLE13#
Received on Mon Jun 11 2007 - 22:25:48 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT