OSSP CVS Repository

ossp - Ticket #198
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [History

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++

[Add remarks]

Remarks:

Properties:

Type: code           Version: 1.6.2 
Status: new          Created: 2015-Mar-25 13:52
Severity:          Last Change: 2015-Mar-25 13:52
Priority:          Subsystem: uuid 
Assigned To: rse           Derived From:  
Creator: anonymous 

CVSTrac 2.0.1