On Sat, Apr 30, 2011 at 12:18 AM, Roman Chertov <[email protected]>wrote:
> On 04/29/2011 09:07 PM, Outback Dingo wrote: > > On Fri, Apr 29, 2011 at 4:39 PM, Joonwoo Park<[email protected]> > wrote: > > > >> You need this patchset to build on 2.6.38 > >> https://github.com/kohler/click/pull/12 > > > > > > > > I pulled your tree on a 2.6.38 ubuntu and got this > > I think on Joonwoo's tree --enable-fixincludes is not enabled by > default, so configure is looking for patched linux headers, which you > obviously don't have. You need to run configure with the > --enable-fixincludes option. > > Roman Yeah nope tried that also with the fix-includes flag which resulted in checking for Linux 2.6 compilation flags... -I/usr/src/linux-headers-2.6.38-8-generic/arch/x86/include -I/lib/modules/2.6.38-8-generic/build/include -include /lib/modules/2.6.38-8-generic/build/include/generated/autoconf.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO configure: creating C++-safe versions of Linux include files (may take a while) dport (2) at ./linuxmodule/fixincludes.pl line 69. configure: error: ============================================== fixincludes.pl execution failed. ============================================== Hence the inquiry > > > > configure: WARNING: > > ========================================= > > > > Your Linux kernel header files cause errors when included by a C++ > program, > > so I won't try to compile the linuxmodule driver. > > > > There are two common reasons for this error: > > 1. You have not applied the Linux kernel patch that comes with this > > distribution. Apply the right patch and try again. See the INSTALL > > file for more information. > > 2. Your Linux configuration enables some functionality that is not yet > > covered by our patches. Turn off this functionality and try again, > > or fix the error and tell us how you did it. See the config.log file > > for more detailed information on the error. > > > > is your patchset also not included in your branch? > > _______________________________________________ > > click mailing list > > [email protected] > > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > > > > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
