On Mon, 17 Feb 2003, Andrew A. Raines wrote:
>Andreas Aardal Hanssen <[EMAIL PROTECTED]> writes:
>> Hi, Andrew. Thanks for the report.
>No problem.  Can't wait to get Binc tested on my system.
>> Here's a patch that will solve your problem for now:
>[...]
>No good.  Did you forget an include?

Yes - #include <errno.h>. If that doesn't work, remove the whole switch
and just return 111 if getcwd fails - it's only there because I was
working on it. :-)

Andy

>   g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/local/include  -g -O2 -c -o 
>bincimap-uidpwd.o `test -f 'bincimap-uidpwd.cc' || echo './'`bincimap-uidpwd.cc
>   bincimap-uidpwd.cc: In function `int main()':
>   bincimap-uidpwd.cc:49: `errno' undeclared (first use this function)
>   bincimap-uidpwd.cc:49: (Each undeclared identifier is reported only once
>   bincimap-uidpwd.cc:49: for each function it appears in.)
>   bincimap-uidpwd.cc:50: `EACCES' undeclared (first use this function)
>   bincimap-uidpwd.cc:51: `EFAULT' undeclared (first use this function)
>   bincimap-uidpwd.cc:52: `EINVAL' undeclared (first use this function)
>   bincimap-uidpwd.cc:53: `ENOENT' undeclared (first use this function)
>   bincimap-uidpwd.cc:54: `ERANGE' undeclared (first use this function)
>   gmake[3]: *** [bincimap-uidpwd.o] Error 1
>
>

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | Nil desperandum

Reply via email to