www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject config/126: Doesn't compile clean on Dynix (though it does compile and run)
Date Mon, 27 Jan 1997 03:30:01 GMT

>Number:         126
>Category:       config
>Synopsis:       Doesn't compile clean on Dynix (though it does compile and run)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jan 26 19:30:01 1997
>Originator:     brian@organic.com
>Organization:
apache
>Release:        1.2b5
>Environment:
Dynix/PTX 4.0.1 - GCC 2.7.2
>Description:
Spurious warnings about missing the declarations for strcasecmp, strncasecmp,
gettimeofday, __filbuf, and gethostbyname.  Couldn't find declarations in 
any system header files, but it appears to not make a difference.  

  mod_info.c:161: warning: implicit declaration of function `strncasecmp'
  mod_info.c:206: warning: implicit declaration of function `strcasecmp'
  mod_usertrack.c:135: warning: implicit declaration of function `gettimeofday'
  mod_negotiation.c:560: warning: implicit declaration of function `__filbuf'
  util.c:1242: warning: implicit declaration of function `gethostname'

Also:

  proxy_ftp.c: In function `proxy_ftp_handler':
  proxy_ftp.c:448: warning: passing arg 4 of `setsockopt' discards `const' from
    pointer target type
  proxy_ftp.c:568: warning: passing arg 4 of `setsockopt' discards `const' from
    pointer target type
  proxy_ftp.c:653: warning: passing arg 4 of `setsockopt' discards `const' from
    pointer target type
  proxy_util.c: In function `proxy_host2addr':
  proxy_util.c:691: warning: passing arg 1 of `gethostbyname' discards `const'
    from pointer target type

Also get the following warnings:

  ld: warning: Reference to `inet_network` resolved by libinet.so, but
    libinet.so not explicitly named on command line.
  ld: warning: Reference to `gethostbyname` resolved by libinet.so, but
    libinet.so not explicitly named on command line.
  ld: warning: Reference to `inet_ntoa` resolved by libinet.so, but libinet.so
    not explicitly named on command line.
  ld: warning: Reference to `gethostname` resolved by libinet.so, but
    libinet.so not explicitly named on command line.
  ld: warning: Reference to `gethostbyaddr` resolved by libinet.so, but
    libinet.so not explicitly named on command line.
  ld: warning: Reference to `inet_addr` resolved by libinet.so, but libinet.so
    not explicitly named on command line.

Etc.

No big deal, it'd just be nice to get it to compile cleanly.
>How-To-Repeat:

>Fix:
Provide declarations in conf.h?  Right now GuessOS is calling Dynix "SVR4", not
Dynix in particular
>Audit-Trail:
>Unformatted:



Mime
View raw message