make fails on winxp w/ djgpp

Mike Stevenson Michael.Stevenson at
Mon Mar 20 15:41:40 PST 2006

Hi, I'm trying to build version .20 of pkg-config, and have had some
irrecoverable errors when running make.  The config script produced a
few warnings, but no errors (I can provide these if necessary).  when i
ran make, it ran happily for a bit, then produced this (I've included
the command preceding the error):

 gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2
-Wall -MT gerror.lo -MD -MP -MF .deps/gerror.Tpo -c gerror.c -o gerror.o
gerror.c: In function 'stack_trace':
gerror.c:207: error: 'SIGCHLD' undeclared (first use in this function)
gerror.c:207: error: (Each undeclared identifier is reported only once
gerror.c:207: error: for each function it appears in.)
make.exe[4]: *** [gerror.lo] Error 1
make.exe[4]: Leaving directory `c:/pkg-config-0.20/glib-1.2.8'
make.exe[3]: *** [all-recursive] Error 1
make.exe[3]: Leaving directory `c:/pkg-config-0.20/glib-1.2.8'
make.exe[2]: *** [all] Error 2
make.exe[2]: Leaving directory `c:/pkg-config-0.20/glib-1.2.8'
make.exe[1]: *** [all-recursive] Error 1
make.exe[1]: Leaving directory `c:/pkg-config-0.20'
make.exe: *** [all] Error 2

I looked through the source, and SIGCHLD is getting passed as an
argument to the function signal.  I can't find a function prototype for
it though, so I can't even create a dummy variable to make the compiler
happy (although i suspect that would create more problems later on).
What can I do to resolve this?  Thanks in advance.


More information about the pkg-config mailing list