|
From: Ivan P. <iva...@gm...> - 2017-12-06 11:54:40
|
Hi David
My immediate guess would be that it's not related to gtk2hs specifically.
I'm saying that because neither the undefined symbol nor the library that
references it have anything to do with gtk2hs.
Undefined symbols for architecture x86_64:
"_*time*zm1zi6zi0zi1_*Data*zi*Time*zi*Clock*zi*CTimespec_getCTimespec*1_closure",
referenced from:
_SigH_srt in libHS*random*-1.1-9tceXaeYIMZ4JrKq20Egog.a(Random.o)
See if this workaround applies: https://github.com/haskell/time/issues/64
Ivan
On 6 December 2017 at 12:47, David Duke <duk...@gm...> wrote:
> Dear all,
> I'm having to rebuild GTK on my Mac runningOSX 10.12.6, ghc8.0.2 and I'm
> trunning into a problem withrunning cabal build for
> gtk2hs-buildtools-0.13.3.1
>
> Undefined symbols for architecture x86_64:
>
> "_timezm1zi6zi0zi1_DataziTimeziClockziCTimespec_getCTimespec1_closure",
> referenced from:
>
> _SigH_srt in libHSrandom-1.1-9tceXaeYIMZ4JrKq20Egog.a(Random.o)
>
>
> The exact build command on which the problem occurs is:
>
> ghc --make -fbuilding-cabal-package -O -static -outputdir
> dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp -odir dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp
> -hidir dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp -stubdir
> dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp -i -idist/build/gtk2hsC2hs/gtk2hsC2hs-tmp
> -iexe -idist/build/autogen -Idist/build/autogen
> -Idist/build/gtk2hsC2hs/gtk2hsC2hs-tmp -optP-include
> -optPdist/build/autogen/cabal_macros.h -hide-all-packages -package-db
> dist/package.conf.inplace -package-id base-4.9.1.0 -package-id
> gtk2hs-buildtools-0.13.3.1-KSaYRb0gCTeFPMa4ta1Ix8 -XHaskell98
> exe/gtk2hsC2hsMain.hs -o dist/build/gtk2hsC2hs/gtk2hsC2hs
>
>
> I'd appreciate any suggestions as to the problem.Build reports on hsckage
> show a successfulbuild on liniux, but I don't see any reportsfor osx, so I'
> unclear ifanyone else has runninto this ot a similar problem..
>
>
> thanks in advance,
>
>
> David Duke
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gtk2hs-users mailing list
> Gtk...@li...
> https://lists.sourceforge.net/lists/listinfo/gtk2hs-users
>
>
|