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

2015-12-12 Thread Christian Jullien
ug-wget@gnu.org Cc: Christian Jullien; 'Darshit Shah' Subject: Re: [Bug-wget] flock is not available on solaris 10 (at least sparc) Am Samstag, 12. Dezember 2015, 20:23:17 schrieb Christian Jullien: > => Ok, _XPG6 is now required, 3rd attempt $ CFLAGS="-D_XPG6" > PKG

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

2015-12-12 Thread Christian Jullien
Hi, trying to compile wget-1.17 and now wget-1.17.1 on solaris 10 sparc using gcc 5.2.0 , I get: hsts.c:505:11: warning: implicit declaration of function 'flock' [-Wimplicit-function-declaration] flock (fd, LOCK_EX); ^ hsts.c:505:22: error: 'LOCK_EX' undeclared (first

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

2015-12-12 Thread Christian Jullien
<tim.rueh...@gmx.de> wrote: > Hi Christian, > > did you ./bootstrap, ./configure, make clean, make after updating ? > > Especially without ./bootstrap flock might not be taken from gnulib > (which call lockf if flock is not available). > > Regards, Tim > > Am Sam

[Bug-wget] wget 1.13: FIONBIO does not exist on solaris

2011-09-03 Thread Christian Jullien
When compiling gnutls.c on solaris 10 sparc with gcc 4.6.1 I get an error on: ret = ioctl (fd, FIONBIO, one); because FIONBIO is undefined. Adding: #include sys/fcntl.h Let: #ifdef F_GETFL ret = fcntl (fd, F_SETFL, flags | O_NONBLOCK); to be used instead. It then