You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Chuck Murcko <ch...@telebase.com> on 1996/06/13 09:57:51 UTC
Solaris 2.4 warnings/error
Solaris 2.4, gcc 2.6.3, cc 4.0.2
gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 util.c
util.c: In function `get_local_host':
util.c:1090: warning: implicit declaration of function `gethostname'
gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_auth.c
mod_auth.c: In function `authenticate_basic_user':
mod_auth.c:180: warning: implicit declaration of function `crypt'
gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_auth_dbm.c
mod_auth_dbm.c: In function `dbm_authenticate_basic_user':
mod_auth_dbm.c:170: warning: implicit declaration of function `crypt'
gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_cookies.c
mod_cookies.c: In function `make_cookie':
mod_cookies.c:133: warning: implicit declaration of function `gettimeofday'
gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_proxy.c
mod_proxy.c: In function `cache_check':
mod_proxy.c:1663: warning: empty body in an else-statement
gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_auth_db.c
mod_auth_db.c:83: db.h: No such file or directory
gmake: *** [mod_auth_db.o] Error 1
Well, no db support, I guess.
/opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 http_main.c
"http_main.c", line 1565: warning: Function has no return statement : main
/opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 util.c
"util.c", line 1090: warning: implicitly declaring function to return int: gethostname()
/opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_auth.c
"mod_auth.c", line 180: warning: implicitly declaring function to return int: crypt()
/opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_auth_dbm.c
"mod_auth_dbm.c", line 170: warning: implicitly declaring function to return int: crypt()
/opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_cookies.c
"mod_cookies.c", line 133: warning: implicitly declaring function to return int: gettimeofday()
/opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_proxy.c
"mod_proxy.c", line 756: warning: semantics of "<" change in ANSI C; use explicit cast
"mod_proxy.c", line 1649: warning: semantics of "<" change in ANSI C; use explicit cast
"mod_proxy.c", line 2658: warning: statement not reached
/opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_auth_db.c
"mod_auth_db.c", line 83: cannot find include file: <db.h>
...
"mod_auth_db.c", line 130: cannot recover from previous errors
cc: acomp failed for mod_auth_db.c
chuck
Chuck Murcko N2K Inc. Wayne PA chuck@telebase.com
And now, on a lighter note:
Rule of Creative Research:
> (1) Never draw what you can copy.
> (2) Never copy what you can trace.
> (3) Never trace what you can cut out and paste down.
>
> --DAA13796.834652378/spudboy.telebase.com--
>
>
chuck
Chuck Murcko N2K Inc. Wayne PA chuck@telebase.com
And now, on a lighter note:
I think that I shall never see
A billboard lovely as a tree.
Perhaps, unless the billboards fall
I'll never see a tree at all.
-- Ogden Nash
Re: Solaris 2.4 warnings/error
Posted by Brian Behlendorf <br...@organic.com>.
Eeek. Time to create a lot of prototypes?
Brian
On Thu, 13 Jun 1996, Chuck Murcko wrote:
> Solaris 2.4, gcc 2.6.3, cc 4.0.2
>
> gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 util.c
> util.c: In function `get_local_host':
> util.c:1090: warning: implicit declaration of function `gethostname'
>
> gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_auth.c
> mod_auth.c: In function `authenticate_basic_user':
> mod_auth.c:180: warning: implicit declaration of function `crypt'
>
> gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_auth_dbm.c
> mod_auth_dbm.c: In function `dbm_authenticate_basic_user':
> mod_auth_dbm.c:170: warning: implicit declaration of function `crypt'
>
> gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_cookies.c
> mod_cookies.c: In function `make_cookie':
> mod_cookies.c:133: warning: implicit declaration of function `gettimeofday'
>
> gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_proxy.c
> mod_proxy.c: In function `cache_check':
> mod_proxy.c:1663: warning: empty body in an else-statement
>
> gcc -c -O2 -DSTATUS -Wall -DSOLARIS2 mod_auth_db.c
> mod_auth_db.c:83: db.h: No such file or directory
> gmake: *** [mod_auth_db.o] Error 1
>
> Well, no db support, I guess.
>
> /opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 http_main.c
> "http_main.c", line 1565: warning: Function has no return statement : main
>
> /opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 util.c
> "util.c", line 1090: warning: implicitly declaring function to return int: gethostname()
>
> /opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_auth.c
> "mod_auth.c", line 180: warning: implicitly declaring function to return int: crypt()
>
> /opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_auth_dbm.c
> "mod_auth_dbm.c", line 170: warning: implicitly declaring function to return int: crypt()
>
> /opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_cookies.c
> "mod_cookies.c", line 133: warning: implicitly declaring function to return int: gettimeofday()
>
> /opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_proxy.c
> "mod_proxy.c", line 756: warning: semantics of "<" change in ANSI C; use explicit cast
> "mod_proxy.c", line 1649: warning: semantics of "<" change in ANSI C; use explicit cast
> "mod_proxy.c", line 2658: warning: statement not reached
>
> /opt/SUNWspro/bin/cc -c -O -DSTATUS -v -DSOLARIS2 mod_auth_db.c
> "mod_auth_db.c", line 83: cannot find include file: <db.h>
> ...
> "mod_auth_db.c", line 130: cannot recover from previous errors
> cc: acomp failed for mod_auth_db.c
>
> chuck
> Chuck Murcko N2K Inc. Wayne PA chuck@telebase.com
> And now, on a lighter note:
> Rule of Creative Research:
> > (1) Never draw what you can copy.
> > (2) Never copy what you can trace.
> > (3) Never trace what you can cut out and paste down.
> >
> > --DAA13796.834652378/spudboy.telebase.com--
> >
> >
>
> chuck
> Chuck Murcko N2K Inc. Wayne PA chuck@telebase.com
> And now, on a lighter note:
> I think that I shall never see
> A billboard lovely as a tree.
> Perhaps, unless the billboards fall
> I'll never see a tree at all.
> -- Ogden Nash
>
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com www.apache.org hyperreal.com http://www.organic.com/JOBS