On Thu, 2008-10-23 at 10:13 -0200, Ramon de Carvalho Valle wrote: > Hi, > > The attached patch should make these testcases build on any Linux > version. >
Yes, You are true. It builds just fine now. Merged. Regards-- Subrata > Best regards, > > > On Thu, 2008-10-23 at 05:22 -0400, Mike Frysinger wrote: > > On Thursday 23 October 2008, Subrata Modak wrote: > > > It unfortunately introduces error on x86_64. > > > > > > # uname -a > > > Linux 2.6.27-gcov-autokern1 #1 SMP PREEMPT Thu Oct 23 02:09:37 UTC 2008 > > > x86_64 GNU/Linux > > > > > > cc -Wall -I../../include -g -Wall -I../../../../include -Wall > > > get_robust_list01.c -L../../../../lib -lltp -o get_robust_list01 > > > get_robust_list01.c:51:28: error: linux/compiler.h: No such file or > > > directory > > > make[4]: *** [get_robust_list01] Error 1 > > > > > > Should we not try to avoid including linux/*.h files directly ? > > > > linux/compiler.h is an internal kernel header file. userspace should never > > ever attempt to include it. if your headers need it, then they're broken, > > and you should be fixing those instead of hacking every random userspace > > code > > that happens to break because of it. > > -mikex ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
