I'm building trunk with 2.6.38 enabled, but ocf is failing to build:

...
 CC [M]  crypto/ocf/crypto.o
crypto/ocf/crypto.c:67:26: fatal error: linux/config.h: No such file or 
directory compilation terminated.
make[6]: *** [crypto/ocf/crypto.o] Error 1
make[5]: *** [crypto/ocf] Error 2
make[4]: *** [crypto] Error 2
make[4]: Leaving directory 
`/home/philipp/openwrt2/build_dir/linux-x86_geos/linux-2.6.38'
make[3]: *** 
[/home/philipp/openwrt2/build_dir/linux-x86_geos/linux-2.6.38/.modules] Error 2
make[3]: Leaving directory `/home/philipp/openwrt2/target/linux/x86'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/home/philipp/openwrt2/target/linux'
make[1]: *** [target/linux/compile] Error 2
make[1]: Leaving directory `/home/philipp/openwrt2'
make: *** [target/linux/compile] Error 2
[philipp@builder ~/openwrt2]$ svn info
Path: .
URL: svn://svn.openwrt.org/openwrt/trunk
Repository Root: svn://svn.openwrt.org/openwrt
Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revision: 26236
Node Kind: directory
Schedule: normal
Last Changed Author: cshore
Last Changed Rev: 26232
Last Changed Date: 2011-03-18 17:34:40 -0600 (Fri, 18 Mar 2011)

[philipp@builder ~/openwrt2]$


Also, looking at the arrangement of the files... they aren't done as standard 
patches, but just normal files copied into the kernel source tree...

That's a little unusual, isn't it?

Anyway, what's the workaround for building OCF on 2.6.38?

Thanks,

-Philip


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to