Ticket 198: Cannot cross compile for ARM architecture
Executing:
./configure --host=arm-linux CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++
Generate error from configure:
...
checking for accept in -lsocket... no
checking for va_copy() function... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
The problem is AC_CHECK_VA_COPY() from uuid.ac file.
Workaround:
ac_cv_va_copy=C99 ./configure --host=arm-linux CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++
Remarks:
Properties:
Type: |
code |
|
Version: |
1.6.2 |
Status: |
new |
|
Created: |
2015-Mar-25 13:52 |
Severity: |
2 |
|
Last Change: |
2015-Mar-25 13:52 |
Priority: |
2 |
|
Subsystem: |
uuid |
Assigned To: |
rse |
|
Derived From: |
|
Creator: |
anonymous |