Re: Building 4.1.0 rc1 on Solaris 8 and 9 with gcc 3.3.2

Tim Buck <[email protected]> Thu, 18 Nov 2004 13:24:34 -0500
Newsgroups gmane.comp.bug-tracking.gnats.bugs
Message-ID <[email protected]>
On Nov 18, 2004, at 1:04 PM, Chad Walstrom wrote:

> Nowhere in the config.in is HAVE_DECL_GETOPT defined, nor is configure
> testing for it at all.  It appears that getopt and basename both 
> require
> manual definitions of HAVE_DECL_*=1 to skip the function declaration or
> 0 to use it.  Try throwing these defines in your CFLAGS and see what
> happens.
>

I tried adding both "-DHAVE_DECL_GETOPT=1 -DHAVE_DECL_BASENAME=1"
and "=0" (in separate attempts) to CFLAGS. With either option,
my compile now fails with

Creating gnats-databases...
make: don't know how to make gnats-pwconv.o. Stop
*** Error code 2

Tim Buck * Information Technology Manager * Recognition Research, Inc.
PHONE +1 540 961-6500 * FAX +1 540 961-3568 * EMAIL [email protected]
The only thing to do with good advice is to pass it on. -- Oscar Wilde