Hi, A change in linux 3.4 introduced __kernel_long_t and __kernel_ulong_t [1] and further changes used them in header files exported for userspace apps [2]. This causes various userpsace apps to fail to build when using uclibc and linux 3.4 with the error
error: expected specifier-qualifier-list before â__kernel_long_tâ What follows is my attempt to add the definitions of these types to the various kernel_types.h header files. I generated the changes using the coccinelle semantic patching tool[3]. I'm a bit of a novice when it comes to using spatch so if anyone knows how to convince spatch to get the whitespace right that'd really help. Failing that I can fix it up manually if the direction of my change is acceptable. I've only been able to test that this change compiles on powerpc but the changes for the other architectures look sane. Thanks, Chris P.S. Sorry if my corporate email system adds a disclaimer. If it's too annoying I can re-submit from a gmail account. -- [1] - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=afead38d01 [2] - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=109a1f32d0 [3] - http://coccinelle.lip6.fr/ _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
