Hi people,
I have been trying to compile squid-2.2.STABLE4 with snmp support with
little success. The OS is FreeBSD-3.1. I run configure with the
--enable-snmp switch then make all. the make runs through and fails at
this point:
Making all in src...
gcc -o squid -L/usr/local/lib
access_log.o acl.o asn.o authenticate.o cache_cf.o CacheDigest.o
cache_manager.o carp.o cbdata.o client_db.o client_side.o comm.o
comm_select.o debug.o disk.o dns.o errorpage.o ETag.o event.o fd.o
filemap.o forward.o fqdncache.o ftp.o globals.o gopher.o helper.o
http.o HttpStatusLine.o HttpHdrCc.o HttpHdrRange.o HttpHdrContRange.o
HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o HttpReply.o
HttpRequest.o icmp.o icp_v2.o icp_v3.o ident.o internal.o ipc.o
ipcache.o main.o mem.o MemPool.o MemBuf.o mime.o multicast.o
neighbors.o net_db.o Packer.o pconn.o peer_digest.o peer_select.o
pump.o redirect.o refresh.o send-announce.o snmp_core.o snmp_agent.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
whois.o -L../lib -lcrypt -L../snmplib -lsnmp -lmiscutil -lm
client_db.o: In function `snmp_meshCtblFn':
client_db.o(.text+0x764): undefined reference to `snmp_var_new'
client_db.o(.text+0x86b): undefined reference to `snmp_var_free'
client_db.o(.text+0xb32): undefined reference to `snmp_var_free'
dns.o: In function `snmp_netDnsFn':
dns.o(.text+0x240): undefined reference to `snmp_var_new'
dns.o(.text+0x2ea): undefined reference to `snmp_var_free'
fqdncache.o: In function `snmp_netFqdnFn':
fqdncache.o(.text+0x172c): undefined reference to `snmp_var_new'
fqdncache.o(.text+0x183a): undefined reference to `snmp_var_free'
ipcache.o: In function `snmp_netIpFn':
ipcache.o(.text+0x1e68): undefined reference to `snmp_var_new'
ipcache.o(.text+0x1f8e): undefined reference to `snmp_var_free'
snmp_core.o: In function `snmpInit':
snmp_core.o(.text+0x4b): undefined reference to `snmplib_debug_hook'
snmp_core.o: In function `snmpDecodePacket':
snmp_core.o(.text+0x20a2): undefined reference to `snmp_parse'
snmp_core.o(.text+0x20e8): undefined reference to `snmp_coexist_V2toV1'
snmp_core.o: In function `snmpConstructReponse':
snmp_core.o(.text+0x222f): undefined reference to `snmp_build'
snmp_agent.o: In function `snmp_sysFn':
snmp_agent.o(.text+0x5c): undefined reference to `snmp_var_new'
snmp_agent.o(.text+0x196): undefined reference to `snmp_var_free'
snmp_agent.o: In function `snmp_confFn':
snmp_agent.o(.text+0x204): undefined reference to `snmp_var_new'
snmp_agent.o(.text+0x42e): undefined reference to `snmp_var_free'
snmp_agent.o(.text+0x492): undefined reference to `snmp_var_free'
snmp_agent.o: In function `snmp_meshPtblFn':
snmp_agent.o(.text+0x50c): undefined reference to `snmp_var_new'
snmp_agent.o(.text+0x580): undefined reference to `snmp_var_free'
snmp_agent.o(.text+0x906): undefined reference to `snmp_var_free'
snmp_agent.o: In function `snmp_prfSysFn':
snmp_agent.o(.text+0x968): undefined reference to `snmp_var_new'
snmp_agent.o(.text+0xbda): undefined reference to `snmp_var_free'
snmp_agent.o: In function `snmp_prfProtoFn':
snmp_agent.o(.text+0xc3c): undefined reference to `snmp_var_new'
snmp_agent.o(.text+0xe26): undefined reference to `snmp_var_free'
snmp_agent.o(.text+0x10c6): undefined reference to `snmp_var_free'
snmp_agent.o(.text+0x1106): undefined reference to `snmp_var_free'
*** Error code 1
Stop.
*** Error code 1
Stop.
Is there something else I need to compile snmp in squid? I have been
running squid on a number of machines without problems, but this is the
first time I have tried to compile the snmp code.
please reply directly to me as I am not subscribed to the list.
cheers,
Carey Nairn
___________________________________________________________
Carey Nairn Mailto:C.Nairn@dpac.tas.gov.au
Network and Systems Administrator
Information Systems Branch Phone: (03) 6233 3077
Dept of Premier & Cabinet Fax: (03) 6224 3174
GPO Box 123b Hobart, Tasmania 7001
AUSTRALIA
___________________________________________________________
Received on Mon Jul 26 1999 - 22:31:30 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:34 MST