[squid-users] help

From: <zhangtenyu@dont-contact.us>
Date: Sun, 13 Jan 2002 14:16:51 +0800 (CST)

hello,
  I use gcc 2.95.2, AIX 4.3.3
here the error message when I compile squid-2.4.STABLE2

Making all in fs...
        gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../src/ -c store_dir_ufs.c
In file included from ../../../src/squid.h:186,
                 from store_dir_ufs.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../src/ -c store_io_ufs.c
In file included from ../../../src/squid.h:186,
                 from store_io_ufs.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        /usr/bin/ar r ../ufs.a store_dir_ufs.o store_io_ufs.o
ar: Creating an archive file ../ufs.a.
        ranlib ../ufs.a
Target "all" is up to date.
Making all in repl...
        gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../src/ -c store_repl_lru.c
In file included from ../../../src/squid.h:186,
                 from store_repl_lru.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        /usr/bin/ar r ../lru.a store_repl_lru.o
ar: Creating an archive file ../lru.a.
        ranlib ../lru.a
Target "all" is up to date.
        gcc -g -O2 -Wall -I. -I../include -I../include -c access_log.c
In file included from squid.h:186,
                 from access_log.c:37:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c acl.c
In file included from squid.h:186,
                 from acl.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c asn.c
In file included from squid.h:186,
                 from asn.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c authenticate.c
In file included from squid.h:186,
                 from authenticate.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c cache_cf.c
In file included from squid.h:186,
                 from cache_cf.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c CacheDigest.c
In file included from squid.h:186,
                 from CacheDigest.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c cache_manager.c
In file included from squid.h:186,
                 from cache_manager.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c carp.c
In file included from squid.h:186,
                 from carp.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c cbdata.c
In file included from squid.h:186,
                 from cbdata.c:67:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c client_db.c
In file included from squid.h:186,
                 from client_db.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c client_side.c
In file included from squid.h:186,
                 from client_side.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c comm.c
In file included from squid.h:186,
                 from comm.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c comm_select.c
In file included from squid.h:186,
                 from comm_select.c:35:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c debug.c
In file included from squid.h:186,
                 from debug.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c disk.c
In file included from squid.h:186,
                 from disk.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c dns_internal.c
In file included from squid.h:186,
                 from dns_internal.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c errorpage.c
In file included from squid.h:186,
                 from errorpage.c:43:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c ETag.c
In file included from squid.h:186,
                 from ETag.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c event.c
In file included from squid.h:186,
                 from event.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c fd.c
In file included from squid.h:186,
                 from fd.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c filemap.c
In file included from squid.h:186,
                 from filemap.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c forward.c
In file included from squid.h:186,
                 from forward.c:37:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c fqdncache.c
In file included from squid.h:186,
                 from fqdncache.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c ftp.c
In file included from squid.h:186,
                 from ftp.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        /usr/bin/perl ./mk-globals-c.pl globals.c
        gcc -c globals.c -g -O2 -Wall -I. -I../include -I../include -I. -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\"
In file included from squid.h:186,
                 from globals.c:1:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c gopher.c
In file included from squid.h:186,
                 from gopher.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c helper.c
In file included from squid.h:186,
                 from helper.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c http.c
In file included from squid.h:186,
                 from http.c:41:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpStatusLine.c
In file included from squid.h:186,
                 from HttpStatusLine.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpHdrCc.c
In file included from squid.h:186,
                 from HttpHdrCc.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpHdrRange.c
In file included from squid.h:186,
                 from HttpHdrRange.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpHdrContRange.c
In file included from squid.h:186,
                 from HttpHdrContRange.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpHeader.c
In file included from squid.h:186,
                 from HttpHeader.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpHeaderTools.c
In file included from squid.h:186,
                 from HttpHeaderTools.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpBody.c
In file included from squid.h:186,
                 from HttpBody.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpMsg.c
In file included from squid.h:186,
                 from HttpMsg.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpReply.c
In file included from squid.h:186,
                 from HttpReply.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c HttpRequest.c
In file included from squid.h:186,
                 from HttpRequest.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c icmp.c
In file included from squid.h:186,
                 from icmp.c:37:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c icp_v2.c
In file included from squid.h:186,
                 from icp_v2.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c icp_v3.c
In file included from squid.h:186,
                 from icp_v3.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c ident.c
In file included from squid.h:186,
                 from ident.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c internal.c
In file included from squid.h:186,
                 from internal.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c ipc.c
In file included from squid.h:186,
                 from ipc.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c ipcache.c
In file included from squid.h:186,
                 from ipcache.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c logfile.c
In file included from squid.h:186,
                 from logfile.c:35:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c main.c
In file included from squid.h:186,
                 from main.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c mem.c
In file included from squid.h:186,
                 from mem.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c MemPool.c
In file included from squid.h:186,
                 from MemPool.c:37:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c MemBuf.c
In file included from squid.h:186,
                 from MemBuf.c:102:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c mime.c
In file included from squid.h:186,
                 from mime.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c multicast.c
In file included from squid.h:186,
                 from multicast.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c neighbors.c
In file included from squid.h:186,
                 from neighbors.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c net_db.c
In file included from squid.h:186,
                 from net_db.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c Packer.c
In file included from squid.h:186,
                 from Packer.c:74:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c pconn.c
In file included from squid.h:186,
                 from pconn.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c peer_digest.c
In file included from squid.h:186,
                 from peer_digest.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c peer_select.c
In file included from squid.h:186,
                 from peer_select.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c pump.c
In file included from squid.h:186,
                 from pump.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c redirect.c
In file included from squid.h:186,
                 from redirect.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c referer.c
In file included from squid.h:186,
                 from referer.c:37:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c refresh.c
In file included from squid.h:186,
                 from refresh.c:40:
/usr/include/sys/select.h:47: warning: empty declaration
        sh ./repl_modules.sh lru >repl_modules.c
        gcc -c repl_modules.c -g -O2 -Wall -I. -I../include -I../include -I.
In file included from squid.h:186,
                 from repl_modules.c:4:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c send-announce.c
In file included from squid.h:186,
                 from send-announce.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c ssl.c
In file included from squid.h:186,
                 from ssl.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c stat.c
In file included from squid.h:186,
                 from stat.c:37:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c StatHist.c
In file included from squid.h:186,
                 from StatHist.c:48:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c String.c
In file included from squid.h:186,
                 from String.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c stmem.c
In file included from squid.h:186,
                 from stmem.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store.c
In file included from squid.h:186,
                 from store.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_io.c
In file included from squid.h:186,
                 from store_io.c:1:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_client.c
In file included from squid.h:186,
                 from store_client.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_digest.c
In file included from squid.h:186,
                 from store_digest.c:43:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_dir.c
In file included from squid.h:186,
                 from store_dir.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_key_md5.c
In file included from squid.h:186,
                 from store_key_md5.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_log.c
In file included from squid.h:186,
                 from store_log.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        sh ./store_modules.sh ufs >store_modules.c
        gcc -c store_modules.c -g -O2 -Wall -I. -I../include -I../include -I.
In file included from squid.h:186,
                 from store_modules.c:4:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_rebuild.c
In file included from squid.h:186,
                 from store_rebuild.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_swapin.c
In file included from squid.h:186,
                 from store_swapin.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_swapmeta.c
In file included from squid.h:186,
                 from store_swapmeta.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
store_swapmeta.c: In function `storeSwapMetaUnpack':
store_swapmeta.c:133: warning: comparison is always false due to limited range of data type
        gcc -g -O2 -Wall -I. -I../include -I../include -c store_swapout.c
In file included from squid.h:186,
                 from store_swapout.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        /usr/bin/perl ./mk-string-arrays.pl string_arrays.c
        gcc -g -O2 -Wall -I. -I../include -I../include -c string_arrays.c
        gcc -g -O2 -Wall -I. -I../include -I../include -c tools.c
In file included from squid.h:186,
                 from tools.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
tools.c: In function `leave_suid':
tools.c:528: warning: implicit declaration of function `seteuid'
        gcc -g -O2 -Wall -I. -I../include -I../include -c unlinkd.c
In file included from squid.h:186,
                 from unlinkd.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c url.c
In file included from squid.h:186,
                 from url.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c urn.c
In file included from squid.h:186,
                 from urn.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c useragent.c
In file included from squid.h:186,
                 from useragent.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c wais.c
In file included from squid.h:186,
                 from wais.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g -O2 -Wall -I. -I../include -I../include -c wccp.c
In file included from squid.h:186,
                 from wccp.c:35:
/usr/include/sys/select.h:47: warning: empty declaration
wccp.c: In function `wccpConnectionOpen':
wccp.c:171: warning: passing arg 3 of `ngetsockname' from incompatible pointer type
        gcc -g -O2 -Wall -I. -I../include -I../include -c whois.c
In file included from squid.h:186,
                 from whois.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -o squid -g 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_internal.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 logfile.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 referer.o refresh.o repl_modules.o send-announce.o ssl.o stat.o StatHist.o String.o stmem.o store.o store_io.o store_client.o store_digest.o store_dir.o store_key_md5.o store_log.o store_modules.o store_rebuild.o store_swapin.o store_swapmeta.o store_swapout.o string_arrays.o tools.o un
linkd.o url.o urn.o useragent.o wais.o wccp.o whois.o fs/ufs.a repl/lru.a -L../lib -lcrypt -lmiscutil -lm -lbind -lnsl
        gcc -g -O2 -Wall -I. -I../include -I../include -c client.c
In file included from squid.h:186,
                 from client.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -o client -g client.o -L../lib -lmiscutil -lm -lbind -lnsl
        gcc -c -g -O2 -Wall -I. -I../include -I../include -DUNLINK_DAEMON ./unlinkd.c -o unlinkd-daemon.o
In file included from squid.h:186,
                 from ./unlinkd.c:36:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -g unlinkd-daemon.o -o unlinkd
        gcc -g -O2 -Wall -I. -I../include -I../include -c cachemgr.c
In file included from cachemgr.c:126:
/usr/include/sys/select.h:47: warning: empty declaration
        gcc -o cachemgr.cgi -g cachemgr.o -L../lib -lmiscutil -lm -lbind -lnsl
Making all in icons...
Target "all" is up to date.
Making all in errors...
Target "all" is up to date.
Making all in auth_modules...

help me!
thank you!
        zhangtenyu@263.net

__________________________________________
全场特价:数码相机、掌上电脑、MP3 http://shopping.263.net/category21.htm
天赢炒股,天生我赢! http://stock19.263.net/download/borntowin.htm
Received on Sat Jan 12 2002 - 23:20:53 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:50 MST