Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 256963 Details for
Bug 348521
dev-libs/ace-5.7.2 - checking for epoll_create... configure: error: cannot run test program while cross compiling
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this is the patch used to delete epoll test from the configure script
ace-epoll-cross-compile-configure-problem.patch (text/plain), 3.68 KB, created by
Kfir Lavi
on 2010-12-12 16:21:04 UTC
(
hide
)
Description:
this is the patch used to delete epoll test from the configure script
Filename:
MIME Type:
Creator:
Kfir Lavi
Created:
2010-12-12 16:21:04 UTC
Size:
3.68 KB
patch
obsolete
>--- configure.bak 2010-12-12 15:58:29.769263654 +0200 >+++ configure 2010-12-12 16:01:53.272269031 +0200 >@@ -71078,146 +71078,6 @@ > echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr" >&5 > echo "${ECHO_T}$ac_cv_func_gethostbyaddr" >&6 > >- >-case "$host" in >- *linux*) >- >- echo "$as_me:$LINENO: checking for epoll_create" >&5 >-echo $ECHO_N "checking for epoll_create... $ECHO_C" >&6 >- if test "${ace_cv_linux_event_poll+set}" = set; then >- echo $ECHO_N "(cached) $ECHO_C" >&6 >-else >- >- if test "$cross_compiling" = yes; then >- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling >-See \`config.log' for more details." >&5 >-echo "$as_me: error: cannot run test program while cross compiling >-See \`config.log' for more details." >&2;} >- { (exit 1); exit 1; }; } >-else >- cat >conftest.$ac_ext <<_ACEOF >- >- /* confdefs.h. */ >-_ACEOF >-cat confdefs.h >>conftest.$ac_ext >-cat >>conftest.$ac_ext <<_ACEOF >-/* end confdefs.h. */ >- >-#include <sys/epoll.h> >- >-int >-main () >-{ >- >-int const ACE_NUM_DESCRIPTORS = 10; >-return epoll_create (ACE_NUM_DESCRIPTORS) == -1 ? -1 : 0; >- >- ; >- return 0; >-} >- >-_ACEOF >-rm -f conftest$ac_exeext >-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >- (eval $ac_link) 2>&5 >- ac_status=$? >- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >- (eval $ac_try) 2>&5 >- ac_status=$? >- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >- (exit $ac_status); }; }; then >- >- ace_cv_linux_event_poll=yes >- >-else >- echo "$as_me: program exited with status $ac_status" >&5 >-echo "$as_me: failed program was:" >&5 >-sed 's/^/| /' conftest.$ac_ext >&5 >- >-( exit $ac_status ) >- >- ace_cv_linux_event_poll=no >- >-fi >-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >-fi >- >-fi >- >- echo "$as_me:$LINENO: result: $ace_cv_linux_event_poll" >&5 >-echo "${ECHO_T}$ace_cv_linux_event_poll" >&6 >- if test "$ace_cv_linux_event_poll" != no; then >- ace_just_a_place_holder=fixme >- >- cat >>confdefs.h <<\_ACEOF >-#define ACE_HAS_EVENT_POLL 1 >-_ACEOF >- >- >- else >- ace_just_a_place_holder=fixme >- >- fi >- >- ;; >- *) >- if test "$cross_compiling" = yes; then >- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling >-See \`config.log' for more details." >&5 >-echo "$as_me: error: cannot run test program while cross compiling >-See \`config.log' for more details." >&2;} >- { (exit 1); exit 1; }; } >-else >- cat >conftest.$ac_ext <<_ACEOF >- >- /* confdefs.h. */ >-_ACEOF >-cat confdefs.h >>conftest.$ac_ext >-cat >>conftest.$ac_ext <<_ACEOF >-/* end confdefs.h. */ >- >-#include <sys/devpoll.h> >-#include <fcntl.h> >- >-int >-main () >-{ >- int fd = open ("/dev/poll", O_RDWR); >- close (fd); >- return fd == -1 ? -1 : 0; >-} >- >-_ACEOF >-rm -f conftest$ac_exeext >-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >- (eval $ac_link) 2>&5 >- ac_status=$? >- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >- (eval $ac_try) 2>&5 >- ac_status=$? >- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >- (exit $ac_status); }; }; then >- >- cat >>confdefs.h <<\_ACEOF >-#define ACE_HAS_DEV_POLL 1 >-_ACEOF >- >- >-else >- echo "$as_me: program exited with status $ac_status" >&5 >-echo "$as_me: failed program was:" >&5 >-sed 's/^/| /' conftest.$ac_ext >&5 >- >-fi >-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >-fi >- ;; >-esac >- > echo "$as_me:$LINENO: checking for gethrtime" >&5 > echo $ECHO_N "checking for gethrtime... $ECHO_C" >&6 > if test "${ac_cv_func_gethrtime+set}" = set; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 348521
:
256962
| 256963