lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Lynx (2.8.6rel4) compile probs on MacOS


From: Thomas Dickey
Subject: Re: [Lynx-dev] Lynx (2.8.6rel4) compile probs on MacOS
Date: Mon, 19 Feb 2007 19:32:29 -0500 (EST)

On Mon, 19 Feb 2007, Gregory Sudderth wrote:


Hiya...I've tried to compile 2.8.5 and 2.8.6.rel4 on macOS (Tiger current patches and XCode) and it goes kaput in the build:

That was a known issue in 2.8.5 which is supposed to have been
fixed in 2.8.6:

2005-10-17 (2.8.6dev.14)
* use h_addr_list[0] rather than h_addr in HTTCP.c for POSIX compatibility
  (Emanuele Giaquinta)


gcc -DHAVE_CONFIG_H -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE -I../../.. -I../../../src -I../../.. -I../../../src -I../../../WWW/Library/Implementation -O2 -I../../../WWW/Library/Implementation/ -DACCESS_AUTH -c .../../../WWW/Library/Implementation/HTTCP.c
.../../../WWW/Library/Implementation/HTTCP.c: In function 'HTParseInet':
.../../../WWW/Library/Implementation/HTTCP.c:1329: error: 'struct hostent' has no member named 'h_addr'
make[1]: *** [HTTCP.o

This is a listing for 2.8.5, which has
            memcpy((void *)&soc_in->sin_addr, phost->h_addr, phost->h_length);
at line 1329.

What is the problem you are having with 2.8.6?


....I can't take the time now to contribute and am not that hip to MacOS as a C developer (yet) but I'd be glad to be a test monkey. Please feel free to contact me re: MacOS testing.

Thanks!

G.


_______________________________________________
Lynx-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lynx-dev


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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