Hello,

I built wget-1.17.1 on solaris 10 x86/x64,
with compiler solarisstudio12.4 & gcc-4.8.5.


1. "'LOCK_EX' undeclared" is not detected in tar ball 
ftp://ftp.gnu.org/gnu/wget/wget-1.17.1.tar.xz

This problem seems to be the same as mentioned for wget-1.17 last month in 
subject
"Wget 1.17 doesn't compile on Windows (hsts.c)".


2. about #error "Compiler or options invalid for pre-UNIX 03 X/Open 
applications"
This error may depends on compilers.
Both of  "solarisstudio12.4"  &  "gcc-4.8.5" can build wget-1.17.1 without 
errors.

But I once experienced the similar problem when trying to compile 
"sam2p-0.49.2".
At that time, gcc-4.4.7 passed, but gcc-4.8.* stopped with this error and
I had to set "-D_XPG6" as optional cc flags.

./configure of wget checks compiler to accept ISO C89, such as
"checking for gcc -O3 option to accept ISO C89... none needed".
If "-std=c89" is required for some versions of gcc, shouldn't it set in 
configure ?


Regards,

--- Kiyoshi <[email protected]>

Reply via email to