Eric Lucas on 27 Aug 2013 08:33:52 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Compiler can't find linux/sys.h


I'm trying to compile opendx 4.4.4 on CentOS 6.

I run ./configure, then make (like always!)

Eventually it fails with this message:

memory.c:69:23: error: linux/sys.h: No such file or directory

Looking through the config.log file I see that it couldn't find that file either but did not complain or croak:

configure:29353: checking for linux/sys.h
configure:29368: gcc -E   conftest.c
conftest.c:182:38: error: linux/sys.h: No such file or directory

It correctly identifies the kernel version and the header files ARE installed:

/usr/src/kernels/2.6.32-358.14.1.el6.x86_64/include/linux/sys.h

So, how do I fix this??

TIA
Eric
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug