[elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.

Laurent MONIN zas at norz.org
Mon Nov 27 03:03:27 PST 2006


Phillip Pi wrote:
> Hello,
>
> It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X 
> 10.2.8:
>
> ...
> [MAKE all]   src/network
> [MAKE all]   src/network/ssl
>       [CC]   src/network/ssl/socket.o
>       [CC]   src/network/ssl/ssl.o
>       [LD]   src/network/ssl/lib.o
>       [CC]   src/network/connection.o
>       [CC]   src/network/dns.o
>       [CC]   src/network/progress.o
>       [CC]   src/network/socket.o
> socket.c: In function `get_pasv_socket':
> socket.c:282: error: `socklen_t' undeclared (first use in this function)
> socket.c:282: error: (Each undeclared identifier is reported only once
> socket.c:282: error: for each function it appears in.)
> socket.c:282: error: parse error before "len"
> socket.c:300: error: `len' undeclared (first use in this function)
> socket.c: In function `connected':
> socket.c:456: error: `socklen_t' undeclared (first use in this function)
> socket.c:456: error: parse error before "len"
> socket.c:461: error: `len' undeclared (first use in this function)
> make[2]: *** [socket.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> The whole compilation log can be found here: http://pastebin.ca/259301 
> ...
>
> Thank you in advance. :)
>   
A potential explanation can be seen there:

http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html

Which version of MacOSx are you using ?

--

Zas




More information about the elinks-users mailing list