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

Re: Missing headers when compiling for 32 bits on amd64 wheezy.



On 10/10/2011 05:50 PM, Ben Hutchings wrote:
On Mon, Oct 10, 2011 at 05:43:48PM +0200, Didier Trosset wrote:
Bonjour Ben

Thanks for your answer, but I already have libc6-dev-i386 and
gcc-multilib installed.

The problem is in this file

     $ more /usr/include/linux/errno.h
     #ifndef _LINUX_ERRNO_H
     #define _LINUX_ERRNO_H

     #include<asm/errno.h>


     #endif


Where the referred asm/errno.h does not exist.

Sounds like<http://bugs.debian.org/638418>.

Yes. It this one, but the other way round. I'm on x86_64 and want to compile to i386 with -m32.

I'll create the /usr/include/asm symlink to /usr/include/x86_64-linux-gnu/asm as a workaround.

Thanks again for your help
Best regards
Didier


Ben.


--
Didier Trosset-Moreau
SW Design Engineer
Modular Product Operations - Geneva

Agilent Technologies, Inc.
12, chemin des Aulx
CH-1228 Plan-Les-Ouates

+41 22 884 32 89 Tel


Reply to: