You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by theo van dinter <fe...@kluge.net> on 1999/08/20 03:54:15 UTC

general/4881: Warnings generated during compile.

>Number:         4881
>Category:       general
>Synopsis:       Warnings generated during compile.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Aug 19 20:10:01 PDT 1999
>Last-Modified:
>Originator:     felicity@kluge.net
>Organization:
apache
>Release:        1.3.9
>Environment:
Linux eclectic.kluge.net 2.2.10-ac8 #3 Sun Jul 4 17:50:24 EDT 1999 i586 unknown
>Description:
gcc -c  -I../os/unix -I../include   -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib
/expat-lite `../apaci` ap_snprintf.c
In file included from /usr/include/bits/socket.h:252,
                 from /usr/include/sys/socket.h:34,
                 from ../include/ap_config.h:1045,
                 from ../include/httpd.h:71,
                 from ap_snprintf.c:61:
/usr/include/asm/socket.h:45: warning: `SOCK_STREAM' redefined
/usr/include/bits/socket.h:41: warning: this is the location of the previous def
inition
/usr/include/asm/socket.h:46: warning: `SOCK_DGRAM' redefined
/usr/include/bits/socket.h:44: warning: this is the location of the previous def
inition
/usr/include/asm/socket.h:47: warning: `SOCK_RAW' redefined
/usr/include/bits/socket.h:46: warning: this is the location of the previous def
inition
/usr/include/asm/socket.h:48: warning: `SOCK_RDM' redefined
/usr/include/bits/socket.h:48: warning: this is the location of the previous def
inition
/usr/include/asm/socket.h:49: warning: `SOCK_SEQPACKET' redefined
/usr/include/bits/socket.h:51: warning: this is the location of the previous def
inition
/usr/include/asm/socket.h:50: warning: `SOCK_PACKET' redefined
/usr/include/bits/socket.h:55: warning: this is the location of the previous def
inition
make[3]: *** [ap_snprintf.o] Interrupt
make[2]: *** [subdirs] Interrupt
make[1]: *** [build-std] Interrupt
make: *** [build] Interrupt


# rpm -q egcs
egcs-1.1.2-12
# rpm -q glibc-devel
glibc-devel-2.1.1-6


Apache compiles and seems to run fine.  There are just a lot of warnings generated.
>How-To-Repeat:
Try to compile apache 1.3.9 on redhat 6.0 install w/ updated kernel.
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]