[htdig] Compiling htdig on Solaris 2.6

Mark Solomon (msolomon@seva.net)
Wed, 3 Mar 1999 00:29:37 -0500 (EST)

I've been trying to compile htdig on a SPARC running solaris 2.6 and the
gcc packages from vnet.net, as well as the egcs compiler (1.1) and get the
same results:

make[1]: Entering directory `/export/home/sevanet/msolomon/src/htdig-3.2.0-dev-022899/htlib'
gcc -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../rx/rx -I../include -g -O2 timegm.c
mktime.c: In function `__mktime_internal':
In file included from timegm.c:33:
mktime.c:278: `__mon_yday' undeclared (first use in this function)
mktime.c:278: (Each undeclared identifier is reported only once
mktime.c:278: for each function it appears in.)
timegm.c: In function `Httimegm':
timegm.c:44: `__gmtime_r' undeclared (first use in this function)
make[1]: *** [timegm.o] Error 1
make[1]: Leaving directory `/export/home/sevanet/msolomon/src/htdig-3.2.0-dev-022899/htlib'
make: *** [all] Error 1
msolomon@fido:~/src/htdig-3.2.0-dev-022899$gcc -v
Reading specs from /opt/GCC281/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
gcc version 2.8.1

Any ideas?
By the way, it compiled without a hitch on an ultraSPARC-140 running
ultra-linux. Too bad I cant use linux on this computer as well. :)

- Mark Solomon - Dep Dir of Information Technology
  1 University Place, Newport News, VA 23606
  Office 757-594-7092 FAX 757-594-7833
  http://www.seva.net/ - http://www.seva.net/~msolomon/

To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.

This archive was generated by hypermail 2.0b3 on Thu Mar 04 1999 - 09:09:18 PST