Re: Compiling Kannel 1.4.0 on a MAC G5 OSX 10.4.6

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
Ashraf Tawakkol wrote:

> 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"

which version of Kannel? 1.4.0 or CVS HEAD?

> I have also attached the Config File.

not attached.

> Any idea what are we doinfg wrong and if there are any detailed instruction
> on how to complie the GW to run under Mac OSX?? I was not able to find any
> on any o the forums I know of and looked as well over the net but with no
> success although I can see from the different posts that some are running it
> under OS X.
> 
> You help is most needed and appreciated.

now, I can't find a 'wait' symbol at that local of the code; at least not in CVS.

There seems to be only a symbol called 'wait_seconds' that is used for the 
offset delaying, but no function call to wait().

So, you didn't change anything in the code?

MacOS X is supported out-of-the-box, so something is suspicious here on your box 
or gateway source.

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.