Re: [Exim] compiling with Mac OS X, error

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dan Egli
Datum:  
To: Louie Miranda
CC: exim-users
Betreff: Re: [Exim] compiling with Mac OS X, error
Louie Miranda wrote:

> Hi, i followed this document:
> http://www.afp548.com/Articles/Jaguar/exim410.html
> But i still have some errors compiling, any leads?
>
> ##
> cc -c -O -no-cpp-precomp -DBIND_8_COMPAT -I.    acl.c
> cc -c -O -no-cpp-precomp -DBIND_8_COMPAT -I.    child.c
> cc -c -O -no-cpp-precomp -DBIND_8_COMPAT -I.    crypt16.c
> cc -c -O -no-cpp-precomp -DBIND_8_COMPAT -I.    daemon.c
> daemon.c: In function `handle_smtp_call':
> daemon.c:144: `socklen_t' undeclared (first use in this function)
> daemon.c:144: (Each undeclared identifier is reported only once
> daemon.c:144: for each function it appears in.)
> daemon.c:144: parse error before `ifsize'
> daemon.c:320: `ifsize' undeclared (first use in this function)
> daemon.c: In function `daemon_go':
> daemon.c:1392: `socklen_t' undeclared (first use in this function)
> daemon.c:1392: parse error before `len'
> daemon.c:1529: `len' undeclared (first use in this function)
> make[1]: *** [daemon.o] Error 1
> make: *** [go] Error 2
> ##

>
> thanks
> -- -
> Louie Miranda
> http://www.axishift.com
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>


no complaints about missing files? Usually that means a file didn't get
#include'd properly.

Hmmm... socklen_t is defined on my linux system in the system include
files. maybe you should grep your include dirs for socklen_t and if you
find a type def for it, make sure your exim.h file #include's that file.

Not having any experience with MacOS X or it's decendants I don't know
beyond that.



--
-- Dan