Ticket 196: Unable to cross compile due to AC_TRY_RUN
When trying to cross compile uuid for arm configure stops with following error:
checking for va_copy() function... configure: error: cannot run test program while cross compiling
This is due to AC_TRY_RUN(__va_copy_test($2), [ac_cv_va_copy="$1"]) in aclocal.m4.
I worked around this problem by defining ac_cv_va_copy=C99 as an environment variable before configure.
It would be nice to have cross compilation working out of the box
Remarks:
Properties:
Type: |
code |
|
Version: |
1.6.2 |
Status: |
new |
|
Created: |
2013-Dec-08 11:06 |
Severity: |
1 |
|
Last Change: |
2013-Dec-08 11:06 |
Priority: |
1 |
|
Subsystem: |
uuid |
Assigned To: |
rse |
|
Derived From: |
|
Creator: |
anonymous |