Hi,
we get some Errors by compiling Ver 1.2.0
I hope you can help us to solve the problem. Thank you.
/home/sp22/squid $ uname -a
SunOS XXX 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-Enterprise-10000
/home/sp22/squid $ cc -V
cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
/home/sp22/squid/squidGuard-1.2.0 $ ./configure
--prefix=/opt/squidguard-1.2.0 -with-db=/opt/db-2.7.7/BerkeleyDB
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... ./install-sh -c
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... lex
checking for yywrap in -lfl... no
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for lynx... false
checking for perl... /opt/bin/perl
checking for db_version in -ldb... yes
checking for ANSI C header files... yes
checking for db.h... yes
checking for regex.h... yes
checking for unistd.h... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... (cached) yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for regcomp... yes
checking for regerror... yes
checking for regexec... yes
checking for strdup... yes
checking for strerror... yes
checking for vsprintf... yes
checking for sigaction... yes
checking for signal... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/sg.h
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating test/test1.conf
config.status: creating test/test2.conf
config.status: creating samples/Makefile
config.status: creating samples/sample.conf
config.status: creating samples/squidGuard.cgi
config.status: creating samples/squidGuard-simple.cgi
config.status: creating contrib/Makefile
config.status: creating contrib/squidGuardRobot/squidGuardRobot
config.status: creating contrib/sgclean/sgclean
config.status: creating contrib/hostbyname/hostbyname
config.status: creating src/config.h
srv912 /home/sp22/squid/squidGuard-1.2.0 $ make
making all in squidGuard-1.2.0
making all in src
cc -I.. -I. -I. -I/opt/db-2.7.7/BerkeleyDB/include -DHAVE_CONFIG_H -Xa
-I/opt/db-2.7.7/BerkeleyDB/include -c main.c
"main.c", line 235: warning: statement not reached
cc -I.. -I. -I. -I/opt/db-2.7.7/BerkeleyDB/include -DHAVE_CONFIG_H -Xa
-I/opt/db-2.7.7/BerkeleyDB/include -c sgLog.c
cc -I.. -I. -I. -I/opt/db-2.7.7/BerkeleyDB/include -DHAVE_CONFIG_H -Xa
-I/opt/db-2.7.7/BerkeleyDB/include -c sgDb.c
"sgDb.c", line 63: warning: assignment type mismatch:
pointer to function(pointer to const struct __db_dbt {pointer to void
data, unsigned int size, unsigned int ulen, unsigned int dlen, unsigned int
doff, unsigned int flags}, pointer to const struct __db_dbt {pointer to
void data, unsigned int size, unsigned int ulen, unsigned int dlen,
unsigned int doff, unsigned int flags}) returning int "=" pointer to
function(pointer to struct __db_dbt {pointer to void data, unsigned int
size, unsigned int ulen, unsigned int dlen, unsigned int doff, unsigned int
flags}, pointer to struct __db_dbt {pointer to void data, unsigned int
size, unsigned int ulen, unsigned int dlen, unsigned int doff, unsigned int
flags}) returning int
cc -I.. -I. -I. -I/opt/db-2.7.7/BerkeleyDB/include -DHAVE_CONFIG_H -Xa
-I/opt/db-2.7.7/BerkeleyDB/include -c sgDiv.c
"sgDiv.c", line 189: syntax error before or at: /
"sgDiv.c", line 535: cannot recover from previous errors
cc: acomp failed for sgDiv.c
*** Error code 2
make: Fatal error: Command failed for target `sgDiv.o'
Current working directory /home/sp22/squid/squidGuard-1.2.0/src
*** Error code 1
make: Fatal error: Command failed for target `all'
srv912 /home/sp22/squid/squidGuard-1.2.0 $ make
making all in squidGuard-1.2.0
making all in src
cc -I.. -I. -I. -I/opt/db-2.7.7/BerkeleyDB/include -DHAVE_CONFIG_H -Xa
-I/opt/db-2.7.7/BerkeleyDB/include -c sgDiv.c
yacc -d sg.y || (cp y.tab.c.bison y.tab.c && cp y.tab.h.bison y.tab.h)
cc -I.. -I. -I. -I/opt/db-2.7.7/BerkeleyDB/include -DHAVE_CONFIG_H -Xa
-I/opt/db-2.7.7/BerkeleyDB/include -c y.tab.c
"sg.y", line 602: parameter not in identifier list: file
"sg.y", line 606: warning: Prototype mismatch in arg 1 for function
sgSourceUserQuota:
function : old style declaration int
prototype: pointer to char
"sg.y", line 612: warning: improper pointer/integer combination: arg #1
"sg.y", line 748: cannot recover from previous errors
cc: acomp failed for y.tab.c
*** Error code 2
make: Fatal error: Command failed for target `y.tab.o'
Current working directory /home/sp22/squid/squidGuard-1.2.0/src
*** Error code 1
make: Fatal error: Command failed for target `all'
/home/sp22/squid/squidGuard-1.2.0 $
script done on Thu Jan 31 13:20:58 2002
Mit freundlichen Grüßen
Gerd Bentel
Sparkassen Informatik GmbH & Co. KG
Standort Fellbach
6325 E-Services FE/KA
Wilhelm-Pfitzer-Str. 1
70736 Fellbach
Telefon: (0711) 5722-2142
Telefax: (0711) 5722-1630
Mailadr.: [EMAIL PROTECTED]