port install hs-zlib fails
Mike
siwelekim at gmail.com
Tue Mar 24 21:41:35 PDT 2015
I really don't know:) Just following a post on how to setup macports for
OpenWRT and that port was included.
Running make stops here
Making all in .
/usr/bin/env bash ./libtool --tag=CC --mode=link gcc -I./glib
-I./glib/glib -I./glib/glib -O2
-I/Volumes/OpenWRT/trunk/staging_dir/host/include
-I/Volumes/OpenWRT/trunk/staging_dir/host/usr/include
-L/Volumes/OpenWRT/trunk/staging_dir/host/lib
-L/Volumes/OpenWRT/trunk/staging_dir/host/usr/lib -o pkg-config pkg.o
parse.o main.o ./glib/glib/libglib-2.0.la
libtool: link: gcc -I./glib -I./glib/glib -I./glib/glib -O2
-I/Volumes/OpenWRT/trunk/staging_dir/host/include
-I/Volumes/OpenWRT/trunk/staging_dir/host/usr/include -o pkg-config pkg.o
parse.o main.o -L/Volumes/OpenWRT/trunk/staging_dir/host/lib
-L/Volumes/OpenWRT/trunk/staging_dir/host/usr/lib
./glib/glib/.libs/libglib-2.0.a -liconv -framework Foundation -framework
Carbon
ld: warning: directory not found for option
'-L/Volumes/OpenWRT/trunk/staging_dir/host/usr/lib'
Undefined symbols for architecture x86_64:
"_libiconv", referenced from:
_open_converter in libglib-2.0.a(gconvert.o)
_g_iconv in libglib-2.0.a(gconvert.o)
_g_convert_with_iconv in libglib-2.0.a(gconvert.o)
_g_convert_with_fallback in libglib-2.0.a(gconvert.o)
"_libiconv_close", referenced from:
_iconv_cache_bucket_expire in libglib-2.0.a(gconvert.o)
_close_converter in libglib-2.0.a(gconvert.o)
_g_iconv_close in libglib-2.0.a(gconvert.o)
"_libiconv_open", referenced from:
_try_to_aliases in libglib-2.0.a(gconvert.o)
_g_iconv_open in libglib-2.0.a(gconvert.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[6]: *** [pkg-config] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [/Volumes/OpenWRT/trunk/build_dir/host/pkg-config-0.28/.built]
Error 2
make[3]: Leaving directory `/Volumes/OpenWRT/trunk/tools/pkg-config'
make[2]: *** [tools/pkg-config/compile] Error 2
make[2]: Leaving directory `/Volumes/OpenWRT/trunk'
make[1]: ***
[/Volumes/OpenWRT/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.tools_install_yynyynynnyyyyyyyyyyyyyyyynyyyyynyyynyynnnyy]
Error 2
make[1]: Leaving directory `/Volumes/OpenWRT/trunk'
make: *** [world] Error 2
On Tue, Mar 24, 2015 at 9:32 PM, Brandon Allbery <allbery.b at gmail.com>
wrote:
> On Wed, Mar 25, 2015 at 12:29 AM, Mike <siwelekim at gmail.com> wrote:
>
>> Thanks that worked and hs-zlib installed. Quite new to using macports and
>> using it to try and build OpenWRT
>
>
> I have to wonder what the Haskell zlib binding has to do with OpenWRT :)
>
> --
> brandon s allbery kf8nh sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150324/93a85406/attachment.html>
More information about the macports-users
mailing list