Hello. I had a problem when compiling today's version with Ubuntu. The
following patch fixed the issue (I guess it is a bashism).
Regards.
Elder.
Signed-Off-By: Elder Costa <[EMAIL PROTECTED]>
--- ltp-cvs-081024a/testcases/kernel/syscalls/epoll/Makefile.ORIG 2006-08-21 03:47:15.000000000 -0300
+++ ltp-cvs-081024a/testcases/kernel/syscalls/epoll/Makefile 2008-10-24 15:00:49.000000000 -0200
@@ -19,7 +19,7 @@
CFLAGS += -I../../../../include -Wall
LDLIBS += -L../../../../lib -lltp
-LIBC_HAS_EPOLL := $(shell echo '\#include <sys/epoll.h>' | $(CC) -E - &> /dev/null && echo yes)
+LIBC_HAS_EPOLL := $(shell echo '\#include <sys/epoll.h>' | $(CC) -E - > /dev/null 2>&1 && echo yes)
ifeq ($(LIBC_HAS_EPOLL),yes)
CFLAGS += -DLTP_EPOLL_USE_SYS_LIBC
else
-------------------------------------------------------------------------
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