Dear GNU:

Here's the basic info:

        host: sparc-sun-solaris2.7
        gcc version: 2.95.2
        make version: 3.79

I configured gtk+-1.2.7 as follows:

        CC="gcc" CFLAGS="-Wall -O2" LDFLAGS="-s" ./configure --disable-nls
--disable-debug

then did a make with no arguments.  When it gets to the gtk directory,
make 3.79 complains with:

        ...

        make[2]: Leaving directory
`/development/fons/src/redhat/BUILD/gtk+-1.2.7/gdk'
        Making all in gtk
        make[2]: Entering directory
`/development/fons/src/redhat/BUILD/gtk+-1.2.7/gtk'
        Makefile:472: *** Insufficient number of arguments (0) to function
`strip'.  Stop.
        make[2]: Leaving directory
`/development/fons/src/redhat/BUILD/gtk+-1.2.7/gtk'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory
`/development/fons/src/redhat/BUILD/gtk+-1.2.7'
        make: *** [all-recursive-am] Error 2

So I took a look at the offending part of the Makefile:

        ...

        STRIP_BEGIN = $(strip
        STRIP_END = )

        ...

        INCLUDES = $(strip     
-DG_LOG_DOMAIN=\"Gtk\"                                 
-DGTK_DISABLE_COMPAT_H           
-DGTK_EXE_PREFIX=\"$(exec_prefix)\"       
-DGTK_DATA_PREFIX=\"$(prefix)\"                        
-DGTK_SYSCONFDIR=\"$(sysconfdir)\"                     
-DGTK_LOCALEDIR=\"$(gtklocaledir)\"                    
-I$(top_srcdir)                                       -DG_DISABLE_ASSERT
-DG_DISABLE_CHECKS
-DGTK_NO_CHECK_CASTS                                       
-DUSE_XIM                             
-I/development/fons/lib/glib/include -I/development/fons/include
-D_REENTRANT      
-I/usr/openwin/include                                   )

        ...

(The INCLUDES macro is really one long line.)

Then, I try make-3.78.1 and it works just fine.  That gives me serious
reason to believe there's a bug there somewhere.

Regards,
Eric.

Reply via email to