According to Rich Thomas:
> Trying to compile htdig-3.2.0b4-20020303 on Solaris 8.
> 
> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> Built for sparc-sun-solaris2.6
> 
> Reading specs from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
> gcc version 2.95.3 20010315 (release)
> 
> Error on make:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -D_REENTRANT -I/usr/include -g 
> -O2 -Wall -Wp,-MD,.deps/db_err.pp -c db_err.c -o db_err.o
> db_err.c: In function `CDB___db_err':
> db_err.c:278: `__builtin_va_alist' undeclared (first use in this function)
> db_err.c:278: (Each undeclared identifier is reported only once
> db_err.c:278: for each function it appears in.)
> db_err.c:275: warning: `ap' might be used uninitialized in this function
> db_err.c: In function `CDB___db_logmsg':
> db_err.c:408: `__builtin_va_alist' undeclared (first use in this function)
> db_err.c:395: warning: `ap' might be used uninitialized in this function
> make[1]: *** [db_err.lo] Error 1
> make[1]: Leaving directory `/export/home/thomasr/htdig-3.2.0b4-20020303/db'
> make: *** [all-recursive] Error 1
> 
> I've looked through the archives but haven't found a definitive answer.  Has
> anyone else found the fix?  It configures ok.....

If I recall correctly, the standard fix for this right now is to remove the
-I/usr/include compiler option in your Makefile.  The problem is caused
by gcc grabbing the wrong header file for the definition of va_alist.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to