On Thu, 2009-06-04 at 13:57 +0200, Nicolas Joly wrote: > On Thu, Jun 04, 2009 at 04:59:22PM +0530, Subrata Modak wrote: > > >On Thu, 2009-06-04 at 15:56 +0530, Munipradeep Beerakam wrote: > > >Hi, > > > > > > It failed on both x86 and x86_64 architectures > > > > > > Regards > > > Muni > > > > > > On Thu, 2009-06-04 at 15:55 +0900, Nobuhiro Iwamatsu wrote: > > > > Hi, > > > > > > > > Munipradeep Beerakam wrote: > > > > > Hi, > > > > > > > > > > I tried to build the LTP tarball ltp-full-20090531.tgz on RHEL5.4 > > > > > pre-Alpha Distribution. But build failed with the following error: > > > > > > > > > > ------------------------------------------------------------------ > > > > > > > > > > make[4]: Entering directory > > > > > `/root/ltp-full-20090531/testcases/kernel/syscalls/sgetmask' > > > > > gcc -g -O2 -I../../include -g -Wall -I../../../../include -Wall > > > > > sgetmask01.c -L../../../../lib -lltp -o sgetmask01 > > > > > sgetmask01.c: In function ‘main’: > > > > > sgetmask01.c:142: error: ‘__NR_ssetmask’ undeclared (first use > > > > in this > > > > > function) > > > > > sgetmask01.c:142: error: (Each undeclared identifier is reported only > > > > > once > > > > > sgetmask01.c:142: error: for each function it appears in.) > > > > > make[4]: *** [sgetmask01] Error 1 > > > > > make[4]: Leaving directory > > > > > `/root/ltp-full-20090531/testcases/kernel/syscalls/sgetmask' > > > > > make[3]: *** [all] Error 2 > > > > > make[3]: Leaving directory > > > > > `/root/ltp-full-20090531/testcases/kernel/syscalls' > > > > > make[2]: *** [all] Error 2 > > > > > make[2]: Leaving directory `/root/ltp-full-20090531/testcases/kernel' > > > > > make[1]: *** [all] Error 2 > > > > > make[1]: Leaving directory `/root/ltp-full-20090531/testcases' > > > > > make: *** [all] Error 2 > > > > > > > Can you please try out this patch and see whether you are still > > able to reproduce it in any of your architecture ? > > Don't `syscall()' macro already take care ot this ? What about adding > the __NR_sgetmask/__NR_ssetmask to <arch>.in files instead ? > > Just to test, i added the following lines to > testcases/kernel/include/i386.in : > > __NR_sgetmask 68 > __NR_ssetmask 69 > > and the problem on x86_64 is gone, without any further modification.
Great. Much better solution. Thanks, and, made the changes. Regards-- Subrata > > nj...@lanfeust [syscalls/sgetmask]> ./sgetmask01 > sgetmask01 1 CONF : syscall __NR_ssetmask not supported on your arch > sgetmask01 2 CONF : Remaining cases not appropriate for configuration > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
