I'm having this same issue on RHEL 4 server.  Were you able to find a
solution?

On Nov 4, 10:37 pm, dave <[email protected]> wrote:
> I've got a slightly retro production environment (debian etch) and
> have hit a compile error as follows:
>
> ~/kr-beanstalkd-ee15c12# make
> make  all-am
> make[1]: Entering directory `/root/kr-beanstalkd-ee15c12'
> gcc -DHAVE_CONFIG_H -I.     -g -O2  -Wall -Werror -I/usr/local/include
> -c -o binlog.o binlog.c
> cc1: warnings being treated as errors
> binlog.c: In function ‘binlog_open’:
> binlog.c:351: warning: implicit declaration of function
> ‘posix_fallocate’
> make[1]: *** [binlog.o] Error 1
> make[1]: Leaving directory `/root/kr-beanstalkd-ee15c12'
> make: *** [all] Error 2
>
> That saidposix_fallocateis clearly present in /usr/include/fcntl.h
> so I'm not sure why this is happening.
>
> I also note that if I try using a different include path (to where I
> know fcntl.h is located) I still get the same error:
>
> ~/kr-beanstalkd-ee15c12# gcc -DHAVE_CONFIG_H -I.  -g -O2  -Wall -
> Werror -I/usr/include -c -o binlog.o binlog.c
> cc1: warnings being treated as errors
> binlog.c: In function ‘binlog_open’:
> binlog.c:351: warning: implicit declaration of function
> ‘posix_fallocate’
>
> any ideas ?

--

You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=.


Reply via email to