After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 102816 - Make issues
Make issues
Status: RESOLVED DUPLICATE of bug 81057
Product: pkg-config
Classification: Deprecated
Component: general
unspecified
Other Mac OS
: Normal major
: ---
Assigned To: Havoc Pennington
Luis Villa
Depends on:
Blocks:
 
 
Reported: 2003-01-08 08:21 UTC by Bucho Sanchez
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bucho Sanchez 2003-01-08 08:21:17 UTC
When trying to run make on version 0.14.0, I get the following error when it gets to giounix.c:

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c giounix.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giounix.c -o giounix.o
giounix.c:233: only 1 arg to macro 'g_warning' (2 expected)
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[4]: *** [giounix.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive-am] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

This program terminates here, and dumps me back to the command line.  I checked the source, and it is indeed missing a second parameter, though I don't know what to put in its place.

Here is the entire configure output:

loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Win32... no
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) cc -E -traditional-cpp
checking host system type... powerpc-apple-darwin6.3
checking build system type... powerpc-apple-darwin6.3
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) file_magic Mach-O dynamically linked shared library
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -p output... (cached) ok
checking for dlfcn.h... (cached) no
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)  -fno-common
checking if gcc PIC flag  -fno-common works... (cached) yes
checking if gcc static flag  works... (cached) no
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin6.3 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for setresuid... (cached) no
checking for setreuid... (cached) yes
checking for dirent.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/wait.h... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
configuring in glib-1.2.8
running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... powerpc-apple-darwin6.3
checking build system type... powerpc-apple-darwin6.3
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking whether ln -s works... (cached) yes
loading cache .././config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... no
checking command to parse /usr/bin/nm -p output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache .././config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... powerpc-apple-darwin6.3
checking whether to enable memory checking... no
checking whether to enable memory profiling... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD compatible install... /usr/bin/install -c
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... 
configure: warning: Could not determine POSIX flag. (-posix didn't work.)
checking how to run the C preprocessor... (cached) cc -E -traditional-cpp
checking for ANSI C header files... (cached) yes
checking for vprintf... (cached) yes
checking for atexit... (cached) yes
checking for on_exit... (cached) no
checking size of char... (cached) 1
checking size of short... (cached) 2
checking size of long... (cached) 4
checking size of int... (cached) 4
checking size of void *... (cached) 4
checking size of long long... (cached) 8
checking for working const... (cached) yes
checking for __inline... (cached) yes
checking for __inline__... (cached) yes
checking for inline... (cached) yes
checking whether byte ordering is bigendian... (cached) yes
checking for float.h... (cached) yes
checking for limits.h... (cached) yes
checking for pwd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) no
checking for lstat... (cached) yes
checking for strerror... (cached) yes
checking for strsignal... (cached) no
checking for memmove... (cached) yes
checking for vsnprintf... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for poll... (cached) no
checking for sys_errlist... yes
checking for sys_siglist... yes
checking for sys_siglist declaration... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... no
checking for wctype.h... no
checking for iswalnum... (cached) no
checking for iswalnum in -lw... (cached) no
checking if iswalnum() and friends are properly defined... yes
checking whether realloc (NULL,) will work... (cached) yes
checking for an implementation of va_copy()... (cached) yes
checking for an implementation of __va_copy()... (cached) yes
checking whether va_lists can be copied by value... (cached) yes
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for dlsym in -ldl... (cached) yes
checking for preceeding underscore in symbols... (cached) no
checking for dlerror... (cached) yes
checking for pthread.h... (cached) yes
checking for thread implementation... posix
checking for pthread_attr_init in -lpthread... (cached) yes
checking necessary linker options... -lpthread
checking necessary compiler options...  -D_REENTRANT
checking for localtime_r... (cached) yes
checking for rand_r... (cached) yes
checking for getpwuid_r... (cached) yes
checking whether getpwuid_r is posix like... yes
checking whether pthread_getspecific is posix like... yes
checking whether pthread_mutex_trylock is posix like... yes
checking whether pthread_cond_timedwait is posix like... yes
checking size of pthread_mutex_t... (cached) 44
checking byte contents of pthread_mutex_t... (cached) 50,-86,-85,-89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
checking system definitions for POLLIN POLLOUT POLLPRI POLLERR POLLHUP POLLNVAL... done
creating ./config.status
creating glib.spec
creating Makefile
creating glib-config
creating gmodule/gmoduleconf.h
creating gmodule/Makefile
creating gthread/Makefile
creating docs/Makefile
creating docs/glib-config.1
creating tests/Makefile
creating config.h
creating glibconfig.h
Comment 1 James Henstridge 2003-02-22 03:31:38 UTC
Looks like the same issue as in bug 81057 (cpp precompiled headers on
OSX).  Marking as duplicate.

*** This bug has been marked as a duplicate of 81057 ***