Menu

#308 Build failure of the Python library when cross compiling

0.11.0
closed
nobody
None
fixed
2017-09-12
2017-09-12
No

Fix python client cross compile

The setup.py setuptools wrapper needs to use a version of python built
specifically for cross compiling to cross compile successfully. Allow
setting that in the environment using the SETUPTOOLS_ENV variable.

Fixes the following build failure:

/usr/bin/ld: skipping incompatible .../lirc-tools-0.10.0/lib/.libs/liblirc_client.so when searching for -llirc_client
/usr/bin/ld: cannot find -llirc_client
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit status 1
Makefile:1578: recipe for target 'all-local' failed

The patch fixing this issue is attached.

1 Attachments

Discussion

  • Alec Leamas

    Alec Leamas - 2017-09-12
    • status: open --> closed
    • Resolution: na --> fixed
    • Milestone: 0.10.2 --> 0.11.0
     
  • Alec Leamas

    Alec Leamas - 2017-09-12

    Thanks for patch (looks good) and not least for filing bug. Committed as [84af91], closing

     

    Related

    Commit: [84af91]


Log in to post a comment.