Error-messages when compiling bind 9.3.2

Tom Schmitt TomSchmitt at gmx.de
Thu Jan 12 16:35:33 UTC 2006


Hi,

I'm not good in C-coding so I'm not sure if it matters, but when I'm
compiling BIND 9.3.2 on Solaris 10 with gcc 3.3.2, then I get (when I'm
running make) not only much warnings, but also some error-messages:

<SNIP>
gcc  -I/dns/src/bind-9.3.2 -I./include -I./../include
-I/dns/src/bind-9.3.2/lib/dns/include -I../../../lib/dns/include
-I/dns/src/bind-9.3.2/lib/isc/include -I../../../lib/isc
-I../../../lib/isc/include -I../../../lib/isc/unix/include
-I../../../lib/isc/pthreads/include  -D_REENTRANT  -D_XPG4_2
-D__EXTENSIONS__ -g -O2  -W -Wall -Wmissing-prototypes -Wcast-qual
-Wwrite-strings -Wformat  -c os.c
os.c: In function `ns_os_daemonize':
os.c:312: warning: implicit declaration of function `pipe'
os.c:317: warning: implicit declaration of function `fork'
os.c:329: warning: implicit declaration of function `close'
os.c:332: warning: implicit declaration of function `read'
os.c:334: warning: implicit declaration of function `_exit'
os.c:348: warning: implicit declaration of function `setsid'
os.c:364: error: `STDIN_FILENO' undeclared (first use in this function)
os.c:364: error: (Each undeclared identifier is reported only once
os.c:364: error: for each function it appears in.)
os.c:366: warning: implicit declaration of function `dup2'
os.c:368: error: `STDOUT_FILENO' undeclared (first use in this function)
os.c:372: error: `STDERR_FILENO' undeclared (first use in this function)
os.c: In function `ns_os_started':
os.c:387: warning: implicit declaration of function `write'
os.c: In function `ns_os_closedevnull':
os.c:400: error: `STDIN_FILENO' undeclared (first use in this function)
os.c:401: error: `STDOUT_FILENO' undeclared (first use in this function)
os.c:402: error: `STDERR_FILENO' undeclared (first use in this function)
</SNIP>

Should I worry about these Error-messages or are these just for
beautification of the code?

Tom.

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl



More information about the bind-users mailing list