91Change
asked on
/usr/include/linux folder missing
I am using fedora core 8 ( 2.6.26.8-57.fc8)
I have installed kernel-dev package using yum .(kernel-devel-2.6.26.8-57 .fc8 ).
I cannot find folder /usr/include/linux .So i cannot compile so many c file which include headers using <linux/err.h>
i searched web and i added include path as /usr/src/kernels/2.6.26.8- 57.fc8-i68 6/include/ . But compilation is not sucssess ful .
All subdirectorioes under /usr/src/redhat/ are empty .
I have installed kernel-dev package using yum .(kernel-devel-2.6.26.8-57
I cannot find folder /usr/include/linux .So i cannot compile so many c file which include headers using <linux/err.h>
i searched web and i added include path as /usr/src/kernels/2.6.26.8-
All subdirectorioes under /usr/src/redhat/ are empty .
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hello
Make a folder /include inside /usr
Put the source files/folders inside /usr/include
Begin the make command inside /usr/include
Great is our GOD.
:)
rionroc
Make a folder /include inside /usr
Put the source files/folders inside /usr/include
Begin the make command inside /usr/include
Great is our GOD.
:)
rionroc
ASKER
woolmilkporc ,
Done . Thanks a ton .
Done . Thanks a ton .
Welcome!
Have fun and success!
Cheers,
wmp
Have fun and success!
Cheers,
wmp
ASKER
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -c -o mksquashfs.o mksquashfs.c
In file included from /usr/include/errno.h:36,
from mksquashfs.c:36:
/usr/include/bits/errno.h:
In file included from /usr/include/bits/posix1_l
from /usr/include/dirent.h:232,
from mksquashfs.c:37:
/usr/include/bits/local_li
In file included from mksquashfs.c:58:
/usr/include/sys/sysinfo.h
mksquashfs.c: In function old_add_exclude:
mksquashfs.c:3128: error: ENOENT undeclared (first use in this function)
mksquashfs.c:3128: error: (Each undeclared identifier is reported only once
mksquashfs.c:3128: error: for each function it appears in.)
mksquashfs.c:3128: error: ENOTDIR undeclared (first use in this function)
mksquashfs.c: In function main:
mksquashfs.c:3858: error: ENOENT undeclared (first use in this function)
make: *** [mksquashfs.o] Error 1
[mbtc37@magma-ostg squashfs-tools]$