You are not logged in.

#1 2013-06-14 18:39:07

jameh0
Member
Registered: 2013-04-06
Posts: 40

[Solved] Missing Kernel header? 3.9.5.1-ARCH

Every time I try to compile something from AUR, I get an error of this form:

make -C pommed OFLIB=
make[1]: Entering directory `/home/jamie/pommed-1.39/pommed'
gcc -g -O2 -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/alsa    -DNO_SYS_INOTIFY_H -DNO_SYS_TIMERFD_H    -c -o evloop.o evloop.c
In file included from /usr/include/stdio.h:27:0,
                 from evloop.c:20:
/usr/include/features.h:375:25: fatal error: sys/cdefs.h: No such file or directory
 #  include <sys/cdefs.h>
                         ^
compilation terminated.
make[1]: *** [evloop.o] Error 1
make[1]: Leaving directory `/home/jamie/pommed-1.39/pommed'
make: *** [pommed] Error 2

inside /usr/include/sys I only have:

/usr/include/sys:
acl.h

Should cdefs.h be there? I tried reinstalling linux-headers, with the same result.

Last edited by jameh0 (2013-06-14 23:28:56)


Life is very short, and there's no time for fussing and fighting, my friends.

Offline

#2 2013-06-14 18:42:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved] Missing Kernel header? 3.9.5.1-ARCH

% pkgfile /usr/include/sys/cdefs.h
core/glibc

Try reinstalling it.

Online

#3 2013-06-14 23:28:27

jameh0
Member
Registered: 2013-04-06
Posts: 40

Re: [Solved] Missing Kernel header? 3.9.5.1-ARCH

That is a really nifty tool, thanks!


Life is very short, and there's no time for fussing and fighting, my friends.

Offline

Board footer

Powered by FluxBB