bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] flock is not available on solaris 10 (at least sparc)


From: Kiyoshi KANAZAWA
Subject: Re: [Bug-wget] flock is not available on solaris 10 (at least sparc)
Date: Tue, 15 Dec 2015 21:55:53 +0900 (JST)

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 <address@hidden>



reply via email to

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