> > >> > > >> 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 > > >> > > Subrata, > > > > Is it happening still ? > > > > It happens weirdly in some systems and i am not able to predict on which > system it will happen next. > > > This problem might be because of this reason. > > If I have built and installed a new kernel and the definition for new > > syscall is present in this path. > > But the user level application will look in the path /usr/include/ path > > and fails. > > Installing the latest glibc-header rpm may solve the problem ? > > Can you kindly update the: > > ltp/testcases/kernel/containers/README > or > ltp/README > > regarding the exact kernel/glibc headers required to be on the system > before these tests are compiled/installed/run ? Say for 2.6.27, which > kernel/glibc headers are required. Also the reliable source of their > location ...!!
One good information would be the kernel versions through which CONTAINERS are supported and the corresponding kernel/glibc headers required for the same. Regards-- Subrata > > Regards-- > Subrata > > > > > Rgds > > Veerendra C > > ------------------------------------------------------------------------- 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
