Hello,On Wed, 12 Nov 2008 09:24:42 +0100, Subrata Modak <[EMAIL PROTECTED]> wrote:
In today´s CVS snapshot, signalfd01.c failed to compile. Did i mess up somewhere during patch application ?
No, that's probably my omission. The cleanup function should be defined whenever syscall() is called, so either it has to be defined outside "#ifdef USE_STUB" block, or the signalfd() function should be move into it. I attach two patches, one does the former, the other the latter. However, I cannot test it, because I get this:
[EMAIL PROTECTED]:/tmp/ltp$ make autoheader/usr/bin/m4:configure.ac:5: cannot open `m4/ltp-signalfd.m4': No such file or directory
autom4te: /usr/bin/m4 failed with exit status: 1 autoheader: '/usr/bin/autom4te' failed with exit status: 1 make: *** [config.h.in] Error 1 [EMAIL PROTECTED]:/tmp/ltp$ autoconf/usr/bin/m4:configure.ac:5: cannot open `m4/ltp-signalfd.m4': No such file or directory
autom4te: /usr/bin/m4 failed with exit status: 1
cc -Wall -I../../include -g -Wall -I../../../../include -Wall signalfd01.c -L../../../../lib -lltp -o signalfd01 ../../include/linux_syscall_numbers.h:19: warning: ‘cleanup’ used but never defined /tmp/ccY2Njik.o: In function `signalfd':ltp-intermediate-20081112/testcases/kernel/syscalls/signalfd/signalfd01.c:80: undefined reference to `cleanup'collect2: ld returned 1 exit status make[4]: *** [signalfd01] Error 1
Regards
Jiri Palecek
signalfd.patch
Description: Binary data
signalfd2.patch
Description: Binary data
------------------------------------------------------------------------- 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
