This is probably a gcc 4.X issue. If you have a previous gcc version forgive this message. If not, the most probably is that because of an error in the configure script a 'wait' symbol is being defined in config.h (gw-config.h). If that is the case just delete or comment that line.
On Friday 22 September 2006 23:48, Adam Block wrote: > Hi all. Back in June a message was posted to the 'devel' list with the > > following problem: > > Dear all, We are trying to compile the Gateway for trial and > > development purposes on a Mac OSX (tiger) 10.4.6 system. Hardware used > > is an iMac G5. First we downloaded and installed the Libxml2 version > > 2.6.26 and things seemed to go on smooth and fine. Then we went on > > installing the GW itself, the ./configure went on (as far as we > > understand OK - no errors) but when executing the make, it ended like > > this: > > > > " iMac-G5-EDITING1:~/kannel/gateway-1.4.0 atawakkol$ make > > gcc -D_REENTRANT=1 -I. -Igw -DDARWIN=1 -I/usr/include/libxml2 -o > > test/test_ppg.o -c test/test_ppg.c > > test/test_ppg.c:84: error: 'wait' redeclared as different kind of symbol > > /usr/include/sys/wait.h:241: error: previous declaration of 'wait' was > > here make: *** [test/test_ppg.o] Error 1" > > No apparent solution was posted. > > Though I am on an Intel Mac, using OS X 10.4.7, and have the libxml2 > distro that comes with the OS, I'm having the exact same problem. > > I'm not sure whether posting the Makefile will help in diagnosis, so I > will hold off until requested. > > Thanks for any and all assistance! > > /afb
