Messages in this thread | | | Date | Tue, 27 Sep 2005 08:09:33 +0100 (BST) | From | vikas gupta <> | Subject | Re: AIO Support and related package information?? |
| |
HI Sebastien, Thanks for your Reply ...
As i told you that i am trying to build libposix package for arm platform,with bare Kernel AIO Support (without applying patches) and libposix-0.6 package.
When i tried to build the package then while configuration it is showing Following
Error:
"Checking for default value for max events... configure: error: cannot run test program while cross compiling See `config.log' for more details."
I traced the configure script for following Error and got following code that is, I think causing this Problem:
Code in configure script:
if test "${enable_default_maxevents+set}" = set; then enableval="$enable_default_maxevents" ac_aio_default_maxevents=$enableval else echo "$as_me:$LINENO: checking for default value for max events" >&5 echo $ECHO_N "checking for default value for max events... $ECHO_C" >&6 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
Even on x86 it is going into else part but their as cross compiling is false in that case it goes to cat > conftest.$ac_ext <<_ACEOF
So With this code while cross compiling we always face the same problem...
So Can you please tell me how to resolve this problem...
Thanks in advance...
Vikas
__________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |