Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After upgrading to Saucy, Clang now gives me the error message:

clang -Wall -Werror -std=c99 -ggdb -O0 5.1.c -o 5.1
In file included from 5.1.c:1:
/usr/include/stdio.h:33:11: fatal error: 'stddef.h' file not found
# include <stddef.h>
          ^
1 error generated.
make: *** [5.1] Error 1

BTW the header I included was stdio.h not stddef.h but I am assuming that stdio.h references or #includes stddef.h

share|improve this question

1 Answer 1

You are missing header files. Their are 2 notable links related to this: launchpad notice and debian bug. You can fix this by removing clang and install the 3.3 version with

sudo apt-get remove clang
sudo apt-get install clang-3.3
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.