Hi Veerendra, Some odd errors are thrown while compiling libclone and netns at today´s CVS. Can you please look into them below:
1) uname -a Linux 2.6.27-autokern1 #1 SMP Mon Oct 20 07:31:24 UTC 2008 ppc64 GNU/Linux # gcc --version gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) cc -Wall -Wall -I../../../../include -I../libclone check_netns_enabled.c -L../../../../lib -L../libclone ../libclone/libnetns.a -lltp -o check_netns_enabled check_netns_enabled.c: In function 'main': check_netns_enabled.c:40: warning: implicit declaration of function 'unshare' /tmp/ccEyOfIC.o: In function `main': check_netns_enabled.c:(.text+0x64): undefined reference to `unshare' collect2: ld returned 1 exit status make[4]: *** [check_netns_enabled] Error 1 2) uname -a Linux 2.6.27-autokern1 #1 SMP Mon Oct 20 00:45:37 PDT 2008 i686 GNU/Linux # gcc --version gcc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13) make[4]: Entering directory `/root/subrata/ltp/ltp-full-20081020/testcases/kernel/containers/libclone' cc -Wall -I../../../../include -c -o libclone.o libclone.c libclone.c: In function 'do_unshare_tests': libclone.c:76: error: 'SYS_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 3) uname -a Linux 2.6.27-autokern1 #1 SMP Mon Oct 20 07:40:06 UTC 2008 ppc64 GNU/Linux # gcc --version gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) cc -Wall -Wall -I../../../../include -I../libclone check_netns_enabled.c -L../../../../lib -L../libclone ../libclone/libnetns.a -lltp -o check_netns_enabled check_netns_enabled.c: In function 'main': check_netns_enabled.c:40: warning: implicit declaration of function 'unshare' /tmp/ccdJBhMn.o: In function `main': check_netns_enabled.c:(.text+0x64): undefined reference to `unshare' collect2: ld returned 1 exit status make[4]: *** [check_netns_enabled] Error 1 Regards-- Subrata ------------------------------------------------------------------------- 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
