discussion
[Top] [All Lists]

[Discussion] Stuck on web100srv.c

To: discussion@xxxxxxxxxx
Subject: [Discussion] Stuck on web100srv.c
From: "john Elliott" <johnelliott24@xxxxxxxxx>
Date: Wed, 21 May 2008 13:48:32 -0700
Hello Everyone,

Richard suggested that I make sure that pcap.h is in /usr/include.  It is there but make still dies.  Just for insurance I also tried coping all pcap*.h files into /usr/local/include/web100  .

HERE IS THE COMPLILER DIRECTIVE as seen in the I/O

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/web100  -I../I2util  '-DBASEDIR="/usr/local/ndt"'   -pedantic -Wall -O2 -DNDEBUG -DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -MT web100srv-web100srv.o -MD -MP -MF ".deps/web100srv-web100srv.Tpo" -c -o web100srv-web100srv.o `test -f 'web100srv.c' || echo './'`web100srv.c; \
    then mv -f ".deps/web100srv-web100srv.Tpo" ".deps/web100srv-web100srv.Po"; else rm -f ".deps/web100srv-web100srv.Tpo
"; exit 1; fi


HERE ARE THE ERRORS


web100srv.c:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
web100srv.c:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
web100srv.c: In function 'cleanup':
web100srv.c:302: warning: implicit declaration of function 'check_signal_flags'
make[2]: *** [web100srv-web100srv.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

HERE ARE THE LINES THAT GENERATE THE ERRORS in web100srv.c


pcap_t *pd;
pcap_dumper_t *pdump;


These lines look perfectly fine to me.  Googling them turns up other source that does the same thing.

Thanks for any help you can give,

John Elliott

_______________________________________________
Discussion mailing list
Discussion@xxxxxxxxxx
http://internal.web100.org/mailman/listinfo/discussion
<Prev in Thread] Current Thread [Next in Thread>
  • [Discussion] Stuck on web100srv.c, john Elliott <=