At 14:44 Uhr +0200 20.10.1996, Lars Marowsky-Bree wrote:
>System:
>
>Linux 2.0.23 / libc 5.3.12 / gcc 2.7.2 / squid 1.1.beta8
>
>Problem:
>
>gcc -o squid -g acl.o async_io.o background.o cache_cf.o client_db.o
>errorpage.o client_side.o comm.o debug.o disk.o dns.o fdstat.o filemap.o
>ftp.o fqdncache.o gopher.o hash.o http.o icmp.o icp.o ident.o ipcache.o
>main.o mime.o neighbors.o net_db.o objcache.o proto.o redirect.o
>send-announce.o ssl.o stack.o stat.o stmem.o store.o store_clean.o
>storetoString.o tools.o ttl.o url.o wais.o -L../lib -lregex -lmiscutil -lbsd
>gopher.o: In function gopherToHTML':
>/usr/src/squid-1.1.beta1/src/gopher.c:459: undefined reference to xmemcpy'
>/usr/src/squid-1.1.beta1/src/gopher.c:486: undefined reference to xmemcpy'
>stmem.o: In function memCopy':
>stmem.o(.text+0xd0): undefined reference to xmemcpy'
>stmem.o(.text+0xf5): undefined reference to xmemcpy'
>stmem.o(.text+0x116): undefined reference to xmemcpy'
>stmem.o(.text+0x8ab): more undefined references to xmemcpy' follow
>make[1]: *** [squid] Error 1
Hmm,
I have the same setup and no problems compiling, despite the two usual warnings
gcc -g -O -Wall -I../include -I./../include -c getfullhostname.c -o
getfullhos
tname.o
getfullhostname.c: In function `getfullhostname':
getfullhostname.c:160: warning: return discards `const' from pointer target
type
gcc -g -O -Wall -I. -I../include -I./../include
-DCACHEMGR_HOSTNAME="getfullhost
name()" -DCACHE_HTTP_PORT=8080 -DCACHE_ICP_PORT=8082 -c fqdncache.c
-o fq
dncache.o
fqdncache.c: In function `fqdncache_add':
fqdncache.c:395: warning: passing arg 1 of `xstrdup' discards `const' from
point
er target type
and a new one for beta8:
gcc -g -O -Wall -I. -I../include -I./../include
-DCACHEMGR_HOSTNAME="getfullhost
name()" -DCACHE_HTTP_PORT=8080 -DCACHE_ICP_PORT=8082 -c icp.c -o icp.o
icp.c: In function `icpHandleUdp':
icp.c:1417: warning: passing arg 5 of `recvfrom' from incompatible pointer type
Are you sure you have done the usual steps after patching up the version?
rm config.cache
./configure
make all
make install
Bye,
Franz Sirl
-- -------------------------------------------------------------------------- phone ++49 8104 8943-0 mail Lauterbach Datentechnik GmbH fax ++49 8104 8943-49 c/o Franz Sirl email franz.sirl@lauterbach.com Fichtenstr. 27 web http://www.lauterbach.com D-85649 Hofolding ftp://ftp.lauterbach.com Germany --------------------------------------------------------------------------Received on Sun Oct 20 1996 - 10:44:37 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:18 MST