Can't compile Squid-1.2.beta20 on RedHat 5, with snmp support

From: Walter Klomp <walter@dont-contact.us>
Date: Fri, 8 May 1998 13:23:29 +0800

Hi,

I want to compile Squid-1.2.beta20 on my Redhat5 Linux box, without snmp
support, everything works fine, and it runs as such. Now I want to monitor
the status and the performance with mrtg, but unfortunately it doesn't want
to compile after I do a ./configure --enable-snmp. The following errors
occur

gcc -g -O2 -Wall -I. -I../include -I../include -c snmp_core.c -o
snmp_core.o
gcc -g -O2 -Wall -I. -I../include -I../include -c snmp_oidlist.c -o
snmp_oidl
ist.o
gcc -g -O2 -Wall -I. -I../include -I../include -c snmp_agent.c -o
snmp_agent.
o
gcc -g -O2 -Wall -I. -I../include -I../include -c snmp_config.c -o
snmp_confi
g.o
gcc -g -O2 -Wall -I. -I../include -I../include -c snmp_auth.c -o
snmp_auth.o
gcc -o squid -g access_log.o acl.o asn.o cache_cf.o CacheDigest.o cbdata.o
clien
t_db.o client_side.o comm.o debug.o disk.o dns.o errorpage.o event.o fd.o
filema
p.o fqdncache.o ftp.o globals.o gopher.o hash.o http.o http-anon.o
HttpStatusLin
e.o HttpHdrCc.o HttpHdrRange.o HttpHdrContRange.o HttpHeader.o
HttpHeaderTools.o
 HttpBody.o HttpReply.o icmp.o icp_v2.o icp_v3.o ident.o ipc.o ipcache.o
main.o
mem.o MemPool.o MemBuf.o mime.o multicast.o neighbors.o net_db.o
cache_manager.o
 Packer.o pass.o pconn.o peer_digest.o peer_select.o proto.o pump.o
redirect.o r
efresh.o send-announce.o snmp_core.o snmp_oidlist.o snmp_agent.o
snmp_config.o s
nmp_auth.o ssl.o stat.o StatHist.o String.o stmem.o store.o store_clean.o
store_
client.o store_digest.o store_dir.o store_key_md5.o store_log.o
store_rebuild.o
store_swapin.o store_swapmeta.o store_swapout.o string_arrays.o tools.o
unlinkd.
o url.o urn.o useragent.o
wais.o -L../lib -lcrypt -lregex -L../snmplib -lsnmp
-lmiscutil -lm -lresolv -lbsd -lnsl
snmp_oidlist.o: In function `meshGetFn':
/squid-1.2.beta20/src/snmp_oidlist.c:269: undefined reference to
`snmp_meshCtblF
n'
snmp_oidlist.o: In function `meshCtblGetNextFn':
/squid-1.2.beta20/src/snmp_oidlist.c:425: undefined reference to
`snmp_meshCtblF
n'
/squid-1.2.beta20/src/snmp_oidlist.c:425: undefined reference to
`meshCtblGetRow
Fn'
snmp_oidlist.o: In function `netdbGetFn':
/squid-1.2.beta20/src/snmp_oidlist.c:512: undefined reference to
`snmp_netdbFn'
snmp_oidlist.o: In function `netdbGetNextFn':
/squid-1.2.beta20/src/snmp_oidlist.c:528: undefined reference to
`snmp_netdbFn'
/squid-1.2.beta20/src/snmp_oidlist.c:528: undefined reference to
`netdbGetRowFn'
snmp_oidlist.o: In function `dnsGetNextFn':
/squid-1.2.beta20/src/snmp_oidlist.c:558: undefined reference to
`ipcache_getMax
'
/squid-1.2.beta20/src/snmp_oidlist.c:569: undefined reference to
`fqdn_getMax'
/squid-1.2.beta20/src/snmp_oidlist.c:579: undefined reference to
`fqdn_getMax'
snmp_agent.o: In function `snmp_dnsFn':
/squid-1.2.beta20/src/snmp_agent.c:674: undefined reference to
`snmp_ipcacheFn'
/squid-1.2.beta20/src/snmp_agent.c:676: undefined reference to
`snmp_fqdncacheFn
'
make[1]: *** [squid] Error 1
make[1]: Leaving directory `/squid-1.2.beta20/src'
make: *** [all] Error 1

Is there anybody out there who had the same problem, or can point me where
to look for this problem ?

Thanks in advance,

Walter Klomp,
Systems Manager / Administrator (Internet)
Swiftech Automation Pte. Ltd.
25 Kallang Avenue #05-04, Kallang Basin Ind. Est.
Singapore 339416
Tel. 274 4722 ext. 163 - Fax. 274 4966
e-mail: walter@swiftech.net.sg

http://www.swiftech.net.sg
===========================================================
Swiftech Internet, the Value Added Service Provider with a personal touch.
===========================================================
Received on Thu May 07 1998 - 22:28:44 MDT

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