>Number: 786 >Category: config >Synopsis: Warings during compile (`TCP_NODELAY' redefined & `TCP_MAXSEG' >redefined) >Confidential: no >Severity: serious >Priority: medium >Responsible: apache (Apache HTTP Project) >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Jun 25 14:40:01 1997 >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.2.0 >Environment: Red Hat Linux release 4.1 (Vanderbilt) Kernel 2.0.30 on an alpha gcc version 2.7.2.1
The output from uname -a is: Linux fortress.story-house.com 2.0.30 #3 Tue Jun 10 20:55:46 EDT 1997 alpha >Description: gcc -c -Iregex -O2 -DLINUX=2 -DSTATUS http_main.c In file included from http_main.c:99: /usr/include/netinet/tcp.h:97: warning: `TCP_NODELAY' redefined /usr/include/linux/socket.h:128: warning: this is the location of the previous definition /usr/include/netinet/tcp.h:98: warning: `TCP_MAXSEG' redefined /usr/include/linux/socket.h:129: warning: this is the location of the previous definition http_main.c: In function `child_main': http_main.c:1779: warning: passing arg 3 of `accept' from incompatible pointer type http_main.c:1824: warning: passing arg 3 of `getsockname' from incompatible pointer type http_main.c: In function `main': http_main.c:2428: warning: passing arg 3 of `getpeername' from incompatible pointer type http_main.c:2436: warning: passing arg 3 of `getsockname' from incompatible pointer type gcc -c -Iregex -O2 -DLINUX=2 -DSTATUS http_core.c >How-To-Repeat: Don't know for sure? I just compiled Apache_1.2.0 on and ALPHA running redhat to get it. It seems that when stopping httpd, the damon and/or system isn't closing the sockets. >Fix: Not at pressent, but if I figure it out I will let you know >Audit-Trail: >Unformatted:
