Results 1 to 2 of 2

Thread: fatal error: sys/cdefs.h: No such file or directory|

  1. #1
    Join Date
    Apr 2014
    Beans
    18
    Distro
    Ubuntu 14.04 Trusty Tahr

    Exclamation fatal error: sys/cdefs.h: No such file or directory|

    Hi all,


    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.


    http://stackoverflow.com/questions/9...gram-in-ubuntu

    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

  2. #2
    Join Date
    Jun 2014
    Beans
    1

    Re: fatal error: sys/cdefs.h: No such file or directory|

    Try these:
    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •