port install hs-zlib fails

Ryan Schmidt ryandesign at macports.org
Wed Mar 25 10:05:06 PDT 2015


On Mar 25, 2015, at 12:03 AM, Mike wrote:
> 
> On Tue, Mar 24, 2015 at 9:50 PM, Ryan Schmidt wrote:
>> 
>> On Mar 24, 2015, at 11:47 PM, Mike wrote:
>> 
>>> Yes that's right. Trying to build firmware for a router
>> 
>> Ok, so the router probably doesn't have an x86_64 CPU, so you're cross-compiling on your x86_64 CPU for a different CPU. Which one? Which cross compiler have you installed? The error message you got was about missing libiconv symbols. I'm presuming it's going to need a libiconv that is also cross-compiled for that same CPU. Have you done that? Where is it installed? Have you provided that location to the openwrt build somehow?
> 
> Router I have is a TP-Link TL-MR3020 with an Atheros AR9330 cpu. I'm more or less blindly following posts online and learning as I go. I believe the cross compiler is gcc? mp-gcc49 is listed as active. make menuconfig opens a configuration menu for openwrt where the target system/cpu can be specified along with build customization.
> 
> I don't know anthing about libiconv?

Since we haven't even seen the instructions you're following, we probably know less about building openwrt than you do. It sounds like your best bet for help will be to contact the developers of openwrt or whoever wrote the instructions. 




More information about the macports-users mailing list