fatal error: sys/cdefs.h: No such file or directory|
It has been weeks that i am trying to use Code::Blocks IDE to program Atmega16, however, i am hindered by the following error while compiling/building the program in C::B
/usr/include/features.h|374|fatal error: sys/cdefs.h: No such file or directory|
i have read following thread.
From the thread above i have tried to purge libc6-dev and ran into trouble by removing the dependencies. From previous experience i knew that there is a huge probability to get into broken pipe error. i tackled it by installing the lost dependencies.
now still i have the same error.
Experts, please guide me.
what should i do? I use Ubuntu 14.04 LTS
Re: fatal error: sys/cdefs.h: No such file or directory|
sudo apt-get purge libc6-dev
sudo apt-get install libc6-dev
In case of -m32:
sudo apt-get install libc6-dev-i386
Last edited by kadir6; June 19th, 2014 at 09:31 AM.
Tags for this Thread