[squid-users] Error in Squid installation

From: jack <sa_jill@dont-contact.us>
Date: Wed, 25 Apr 2001 10:46:28 +0100

Hello All,

I am new to SunOS. I tried to install squid in Sun System.
But i got error. I mention the manchine type and error
in the following lines.

i am using SunOS ksunws 5.6 Generic_105181-03 sun4u sparc SUNW-ultra5.10

Solaris 2.6
gcc-2.95.3-sol26-sparc-local.gz

I installed gcc sucessfully and i tested sample program using gcc.

This the error i got when i install squid
It show utill.o(see red line) is wrong machine type.

Please provide me the solution.

 s%@DEFAULT_DNSSERVER@%/usr/local/squid/bin/dnsserver%g;\
 s%@DEFAULT_UNLINKD@%/usr/local/squid/bin/unlinkd%g;\
s%@DEFAULT_PINGER@%/usr/local/squid/bin/pinger%g;\
s%@DEFAULT_CACHE_LOG@%/usr/local/squid/logs/cache.log%g;\
s%@DEFAULT_ACCESS_LOG@%/usr/local/squid/logs/access.log%g;\
s%@DEFAULT_STORE_LOG@%/usr/local/squid/logs/store.log%g;\
s%@DEFAULT_PID_FILE@%/usr/local/squid/logs/squid.pid%g;\
s%@DEFAULT_SWAP_DIR@%/usr/local/squid/cache%g;\
s%@DEFAULT_ICON_DIR@%/usr/local/squid/etc/icons%g;\
s%@DEFAULT_MIB_PATH@%/usr/local/squid/etc/mib.txt%g;\
s%@DEFAULT_ERROR_DIR@%/usr/local/squid/etc/errors%g;\
s%@DEFAULT_PREFIX@%/usr/local/squid%g;"\
< ./cf.data.pre >cf.data
gcc -g -O2 -Wall -I. -I../include -I../include -c cf_gen.c -o cf_gen.o
gcc -o cf_gen -g cf_gen.o -L../lib -lmiscutil -lm -lresolv -lsocket -lnsl
ld: elf error: file ../lib/libmiscutil.a(util.o): wrong machine type
ld: fatal: File processing errors. No output written to cf_gen
collect2: ld returned 1 exit status
make[1]: *** [cf_gen] Error 1
make[1]: Leaving directory `/usr/local/squid-2.3.STABLE4/src'
make: *** [all] Error 1
#

Jack.
Received on Wed Apr 25 2001 - 03:03:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:35 MST