Solved build error for x86 on Android: "TARGET_HOST+=-linux-android: not found"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody, 
while building pjsip from tag 2.4.5 for android x86 on an Ubuntu 14.04.3 LTS x64, I encountered the following error: 

./configure-android: 110: ./configure-android: TARGET_HOST+=-linux-android: not found 

and that's because /bin/sh doesn't support string concatenation with this syntax. 
The solution can be to either set /bin/bash on top of the file or change line 110 to be like this (and that's what I've done in my script): 

TARGET_HOST="$TARGET_HOST-linux-android" 

Just wanted to let you know about this, in case someone else has the same problem. 

Alex Gotev 

MobiMESH Development Team 
Via Benigno Crespi 57, 20159 Milano 
tel. +39 02 70633354 
web http://www.mobimesh.it 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150927/57809b88/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux