bug-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gv] Build issue for gv 3.6.7 under Mac OS X


From: Markus Steinborn
Subject: Re: [bug-gv] Build issue for gv 3.6.7 under Mac OS X
Date: Wed, 01 Apr 2009 07:55:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14

Marius Schamschula wrote:
Are we missing a header file?

Hi Marius,

thank you for reporting this bug. The following forwarded mail will explain you how to solve this bug.

Greetings from Germany

Markus Steinborn



Ryan Schmidt wrote:
I'm the maintainer of gv in MacPorts. Apologies for not testing 3.6.6.90 or 3.6.6.91, but while updating the gv port to 3.6.7 (on Mac OS X 10.4.11 with Xcode 2.5) I got this error:


/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -DNON_BLOCKING_IO -DGV_CODE -DGV_LIBDIR=\"/mp/share/gv\" -I../lib -I../lib -g -DUSE_SETENV_CODE -I/mp/include -I/mp/include -O2 -MT confirm.o -MD -MP -MF .deps/confirm.Tpo -c -o confirm.o confirm.c
callbacks.c: In function 'cb_presentation':
callbacks.c:960: error: 'SIGCLD' undeclared (first use in this function)
callbacks.c:960: error: (Each undeclared identifier is reported only once
callbacks.c:960: error: for each function it appears in.)
make[2]: *** [callbacks.o] Error 1


Googling for this error, I see other projects have run into it:


http://markmail.org/message/xpfwof4bu44moxbo#query:SIGCLD%20mac+page:1+mid:w5vb76meovpbe2ys+state:results


The above suggests that for Mac OS X and FreeBSD this should be added:


#ifndef SIGCLD
#   define SIGCLD SIGCHLD
#endif


Adding that near the top of src/callbacks.c did allow it to compile. So I just wanted to let you know.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]