Your message dated Tue, 22 Nov 2016 17:30:50 +0100
with message-id <203b1777-f572-db60-d492-cf636e6f2...@debian.org>
and subject line Re: Bug#845340: errno.h cannot be #included
has caused the Debian Bug report #845340,
regarding errno.h cannot be #included
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
845340: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845340
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-arm-linux-gnueabihf
Version: 4:6.1.1-1

Try this:

   #include <errno.h>
   #include <stdio.h>

   int
   main()
   {
       printf("%d\n", errno);
       return 0;
   }

$ arm-linux-gnueabihf-gcc test.c
In file included from /usr/arm-linux-gnueabihf/include/bits/errno.h:24:0,
                 from /usr/arm-linux-gnueabihf/include/errno.h:35,
                 from test.c:1:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or 
directory
 #include <asm/errno.h>
                       ^
compilation terminated.

--- End Message ---
--- Begin Message ---
On 22.11.2016 17:15, Juliusz Chroboczek wrote:
> Package: gcc-arm-linux-gnueabihf
> Version: 4:6.1.1-1
> 
> Try this:
> 
>    #include <errno.h>
>    #include <stdio.h>
> 
>    int
>    main()
>    {
>        printf("%d\n", errno);
>        return 0;
>    }
> 
> $ arm-linux-gnueabihf-gcc test.c
> In file included from /usr/arm-linux-gnueabihf/include/bits/errno.h:24:0,
>                  from /usr/arm-linux-gnueabihf/include/errno.h:35,
>                  from test.c:1:
> /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or 
> directory
>  #include <asm/errno.h>
>                        ^
> compilation terminated.

Fixed in unstable, or install linux-libc-dev-arm-linux-gnueabihf explicitly.

--- End Message ---

Reply via email to