<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Meddelande</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=034282514-30052005><FONT face=Arial size=2>Have anyone compiled
NSD 2.3.0 under Solaris 10? I have some trouble compiling it under solaris
10..</FONT></SPAN></DIV>
<DIV><SPAN class=034282514-30052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=034282514-30052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=034282514-30052005><FONT face=Arial size=2>when i compile
tsig.c i get the following error..</FONT></SPAN></DIV><PRE><SPAN class=034282514-30052005>gcc -I/usr/local/ssl/include -DHAVE_CONFIG_H -I. -DDBFILE=\"/etc/nsd/nsd.db\" -DPIDFILE=\"/var/run/nsd.pid\" -DUSER=\"nsd\" -g -O2 -c tsig.c<BR>tsig.c: In function `tsig_from_query':<BR>tsig.c:252: error: too few arguments to function `ctime_r'<BR>tsig.c:256: error: too few arguments to function `ctime_r'<BR>*** Error code 1<BR>make: Fatal error: Command failed for target `tsig.o'</SPAN></PRE>
<DIV><SPAN class=034282514-30052005><FONT face=Arial size=2>Any help would be
greatly appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=034282514-30052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=034282514-30052005><FONT face=Arial
size=2>//Joel</FONT></SPAN></DIV><PRE><SPAN class=034282514-30052005></SPAN> </PRE><PRE><SPAN class=034282514-30052005></SPAN> </PRE><PRE><SPAN class=034282514-30052005>output from configure script</SPAN></PRE><PRE><SPAN class=034282514-30052005><SPAN class=034282514-30052005>bash-3.00# ./configure<BR>checking for gawk... no<BR>checking for mawk... no<BR>checking for nawk... nawk<BR>checking for gcc... gcc<BR>checking for C compiler default output... a.out<BR>checking whether the C compiler works... yes<BR>checking whether we are cross compiling... no<BR>checking for suffix of executables... <BR>checking for suffix of object files... o<BR>checking whether we are using the GNU C compiler... yes<BR>checking whether gcc accepts -g... yes<BR>checking for gcc option to accept ANSI C... none needed<BR>checking whether ln -s works... yes<BR>checking for a BSD-compatible install... ./install-sh -c<BR>checking for flex... no<BR>checking for lex... lex<BR>checking for yywrap in -lfl... no<BR>checking for yywrap in -ll... yes<BR>checking lex output file root... lex.yy<BR>checking whether yytext is a pointer... no<BR>checking for bison... no<BR>checking for byacc... no<BR>checking for an ANSI C-conforming const... yes<BR>checking for inline... inline<BR>checking how to run the C preprocessor... gcc -E<BR>checking for egrep... egrep<BR>checking for uid_t in sys/types.h... yes<BR>checking for ANSI C header files... yes<BR>checking for sys/types.h... yes<BR>checking for sys/stat.h... yes<BR>checking for stdlib.h... yes<BR>checking for string.h... yes<BR>checking for memory.h... yes<BR>checking for strings.h... yes<BR>checking for inttypes.h... yes<BR>checking for stdint.h... yes<BR>checking for unistd.h... yes<BR>checking for pid_t... yes<BR>checking for size_t... yes<BR>checking whether the C compiler (gcc) accepts the "format" attribute... yes<BR>checking whether the C compiler (gcc) accepts the "unused" attribute... yes<BR>checking for ANSI C header files... (cached) yes<BR>checking for sys/wait.h that is POSIX.1 compatible... yes<BR>checking arpa/inet.h usability... yes<BR>checking arpa/inet.h presence... yes<BR>checking for arpa/inet.h... yes<BR>checking signal.h usability... yes<BR>checking signal.h presence... yes<BR>checking for signal.h... yes<BR>checking for strings.h... (cached) yes<BR>checking fcntl.h usability... yes<BR>checking fcntl.h presence... yes<BR>checking for fcntl.h... yes<BR>checking limits.h usability... yes<BR>checking limits.h presence... yes<BR>checking for limits.h... yes<BR>checking netinet/in.h usability... yes<BR>checking netinet/in.h presence... yes<BR>checking for netinet/in.h... yes<BR>checking stddef.h usability... yes<BR>checking stddef.h presence... yes<BR>checking for stddef.h... yes<BR>checking sys/param.h usability... yes<BR>checking sys/param.h presence... yes<BR>checking for sys/param.h... yes<BR>checking sys/socket.h usability... yes<BR>checking sys/socket.h presence... yes<BR>checking for sys/socket.h... yes<BR>checking syslog.h usability... yes<BR>checking syslog.h presence... yes<BR>checking for syslog.h... yes<BR>checking for unistd.h... (cached) yes<BR>checking sys/select.h usability... yes<BR>checking sys/select.h presence... yes<BR>checking for sys/select.h... yes<BR>checking stdarg.h usability... yes<BR>checking stdarg.h presence... yes<BR>checking for stdarg.h... yes<BR>checking for stdint.h... (cached) yes<BR>checking netdb.h usability... yes<BR>checking netdb.h presence... yes<BR>checking for netdb.h... yes<BR>checking sys/bitypes.h usability... no<BR>checking sys/bitypes.h presence... no<BR>checking for sys/bitypes.h... no<BR>checking dlfcn.h usability... yes<BR>checking dlfcn.h presence... yes<BR>checking for dlfcn.h... yes<BR>checking tcpd.h usability... no<BR>checking tcpd.h presence... no<BR>checking for tcpd.h... no<BR>checking for library containing inet_pton... -lnsl<BR>checking for library containing socket... -lsocket<BR>checking for library containing dlopen... none required<BR>checking for int8_t... yes<BR>checking for int16_t... yes<BR>checking for int32_t... yes<BR>checking for int64_t... yes<BR>checking for uint8_t... yes<BR>checking for uint16_t... yes<BR>checking for uint32_t... yes<BR>checking for uint64_t... yes<BR>checking for socklen_t... yes<BR>checking for sig_atomic_t... yes<BR>checking for in_addr_t... yes<BR>checking for unistd.h... (cached) yes<BR>checking for working chown... yes<BR>checking for unistd.h... (cached) yes<BR>checking vfork.h usability... no<BR>checking vfork.h presence... no<BR>checking for vfork.h... no<BR>checking for fork... yes<BR>checking for vfork... yes<BR>checking for working fork... yes<BR>checking for working vfork... (cached) yes<BR>checking for stdlib.h... (cached) yes<BR>checking for GNU libc compatible malloc... yes<BR>checking return type of signal handlers... void<BR>checking for alarm... yes<BR>checking for chroot... yes<BR>checking for dup2... yes<BR>checking for endpwent... yes<BR>checking for gethostname... yes<BR>checking for memset... yes<BR>checking for memcpy... yes<BR>checking for mmap... yes<BR>checking for socket... yes<BR>checking for strcasecmp... yes<BR>checking for strchr... yes<BR>checking for strdup... yes<BR>checking for strerror... yes<BR>checking for strncasecmp... yes<BR>checking for strtol... yes<BR>checking for getaddrinfo... yes<BR>checking for getnameinfo... yes<BR>checking for freeaddrinfo... yes<BR>checking for gai_strerror... yes<BR>checking for sigaction... yes<BR>checking for sigprocmask... yes<BR>checking for dlopen... yes<BR>checking for dlerror... yes<BR>checking for dlsym... yes<BR>checking for dlclose... yes<BR>checking for basename... yes<BR>checking for inet_pton... yes<BR>checking for snprintf... yes<BR>checking for b64_pton... no<BR>checking for b64_ntop... no<BR>checking for timegm... no<BR>checking for pselect... yes<BR>checking for request_init in -lwrap... no<BR>checking for SSL... found in /usr/local/ssl<BR>checking for HMAC_CTX_init in -lcrypto... yes<BR>configure: creating ./config.status<BR>config.status: creating Makefile<BR>config.status: creating config.h<BR>config.status: config.h is unchanged</SPAN></SPAN></PRE><PRE><SPAN class=034282514-30052005><SPAN class=034282514-30052005><FONT face=Arial size=2></FONT></SPAN></SPAN> </PRE>
<DIV><SPAN class=034282514-30052005><SPAN class=034282514-30052005><FONT
face=Arial size=2>gcc version</FONT></SPAN></SPAN></DIV><PRE><SPAN class=034282514-30052005><SPAN class=034282514-30052005>bash-3.00# gcc -v<BR>Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs<BR>Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls<BR>Thread model: posix<BR>gcc version 3.3.2</SPAN></SPAN></PRE><PRE><SPAN class=034282514-30052005><SPAN class=034282514-30052005></SPAN></SPAN> </PRE><PRE><SPAN class=034282514-30052005><SPAN class=034282514-30052005></SPAN></SPAN> </PRE><PRE><SPAN class=034282514-30052005><SPAN class=034282514-30052005></SPAN> </PRE></SPAN></BODY></HTML>