Oops... looks like someone forgot __amd64__ / __ia64__:

gcc -g -O2 -I../../include -g -Wall -I../../../../include -Wall -O2 -W
   rt_sigaction01.c  -L../../../../lib -lltp -o rt_sigaction01
rt_sigaction01.c: In function 'set_handler':
rt_sigaction01.c:147: error: 'SIGSETSIZE' undeclared (first use in
this function)
rt_sigaction01.c:147: error: (Each undeclared identifier is reported only once
rt_sigaction01.c:147: error: for each function it appears in.)
make[4]: *** [rt_sigaction01] Error 1
make[4]: Leaving directory
`/scratch/ltp-vanilla/ltp/testcases/kernel/syscalls/rt_sigaction'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/scratch/ltp-vanilla/ltp/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/scratch/ltp-vanilla/ltp/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/scratch/ltp-vanilla/ltp/testcases'
make: *** [all] Error 2
gcoo...@orangebox /scratch/ltp-vanilla/ltp $ uname -a
Linux orangebox 2.6.29-gentoo-r5 #2 SMP PREEMPT Sun Jun 14 01:11:32
PDT 2009 x86_64 Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
GenuineIntel GNU/Linux
gcoo...@orangebox /scratch/ltp-vanilla/ltp $ grep -B 1 -A 1 SIGSETSIZE
/scratch/ltp-vanilla/ltp/testcases/kernel/syscalls/rt_sigaction/rt_sigaction01.c
#if defined __mips__
#define SIGSETSIZE 16
#endif
--
#if defined __arm__ || __i386__ || __powerpc__
#define SIGSETSIZE 8
#endif
--
                sigaddset(&sa.sa_mask, sig_to_mask);
                TEST(syscall(__NR_rt_sigaction,sig, &sa,
&oldaction,SIGSETSIZE));
        if (TEST_RETURN == 0) {

#endif

I tried using sizeof(sigaction_t), but unfortunately the results for
the testcase(s) on my system were always EINVAL. This issue wasn't
present a few days ago...

Any ideas?

Thanks,
-Garrett

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to