Quoting Subrata Modak ([EMAIL PROTECTED]): > Hi Rishi/Serge, > > libclone.c is giving some unexpected build error(s) on the following > x86_64 machine. Can you please look in to the following: > > 1) Linux 2.6.16-1.2080_FC5 #1 SMP Tue Mar 28 03:38:47 EST 2006 x86_64 > x86_64 x86_64 GNU/Linux, > > make[4]: Entering directory > `/root/subrata/ltp/ltp-intermediate-20080820/testcases/kernel/containers/libclone' > cc -Wall -c -o libclone.o libclone.c > libclone.c: In function ‘do_unshare_tests’: > libclone.c:76: error: ‘__NR_unshare’ undeclared (first use in this > function) > libclone.c:76: error: (Each undeclared identifier is reported only once > libclone.c:76: error: for each function it appears in.) > make[4]: *** [libclone.o] Error 1 > > Regards-- > Subrata
Hi, the libclone.h patch out of Veerendra's patch 6/9 that he sent today should fix this. Or, to test that manually real quick, add #ifndef __NR_unshare #define __NR_unshare SYS_unshare #endif right above the #ifdef __ia64__ #define clone2 __clone2 code. That should fix it. thanks, -serge ------------------------------------------------------------------------- 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 Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list