build error
I followed all instructions here. See transcript below.
[ruben@Rubens-MacBook-Pro 09:14 hs-src]$ ./call x86_64-apple-ios-cabal new-update --allow-newer
Downloading the latest package lists from:
- hackage.haskell.org
- hackage.mobilehaskell
To revert to previous state run:
cabal new-update 'hackage.mobilehaskell,2018-01-17T08:44:23Z'
To revert to previous state run:
cabal new-update 'hackage.haskell.org,2018-04-28T04:36:26Z'
[ruben@Rubens-MacBook-Pro 09:14 hs-src]$ ./call make iOS
CABAL=x86_64-apple-ios-cabal make cabal-build
x86_64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng
'cabal.project.local' file already exists. Now overwriting it.
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following would be built (use -v for more details):
- base-orphans-0.7 (lib) (requires build)
- natural-transformation-0.4 (lib) (requires build)
- transformers-compat-0.6.1.6 (lib) (requires build)
- transformers-base-0.4.5.2 (lib) (requires build)
- freer-simple-1.1.0.0 (lib) (requires build)
- freer-simple-1.1.0.0 (exe:freer-examples) (requires build)
- MobileFun-0.1.0.0 (lib) (first run)
x86_64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following will be built (use -v for more details):
- base-orphans-0.7 (lib) (requires build)
- natural-transformation-0.4 (lib) (requires build)
- transformers-compat-0.6.1.6 (lib) (requires build)
- transformers-base-0.4.5.2 (lib) (requires build)
- freer-simple-1.1.0.0 (lib) (requires build)
- MobileFun-0.1.0.0 (lib) (first run)
Configuring library for base-orphans-0.7..
Preprocessing library for base-orphans-0.7..
Building library for base-orphans-0.7..
[1 of 2] Compiling Data.Orphans ( src/Data/Orphans.hs, dist/build/Data/Orphans.o )
[2 of 2] Compiling Data.Orphans.Prelude ( src/Data/Orphans/Prelude.hs, dist/build/Data/Orphans/Prelude.o )
[1 of 2] Compiling Data.Orphans ( src/Data/Orphans.hs, dist/build/Data/Orphans.p_o )
src/Data/Orphans.hs:38:8: error:
Could not find module ‘Prelude’
Perhaps you haven't installed the profiling libraries for package ‘base-4.11.0.0’?
Use -v to see a list of the files searched for.
|
38 | module Data.Orphans () where
| ^^^^^^^^^^^^
cabal: Failed to build base-orphans-0.7 (which is required by
MobileFun-0.1.0.0).
make[1]: *** [cabal-build] Error 1
make: *** [binaries/iOS/libHSMobileFun.a] Error 2
I should probably lock down the dependencies for the cabal script. I'll take a look at his later today, to see if I can fix it!
What version of cabal are you using? Can you run ./call x86_64-apple-ios-cabal --version?
Also, no idea if it helps, since the libraries look more of less the same, but you can try and drop a cabal.project.freeze with the following, into the project,
constraints: any.base ==4.11.0.0,
any.ghc-prim ==0.5.2.0,
any.integer-simple ==0.1.1.1,
any.rts ==1.0
Can you run ./call x86_64-apple-ios-cabal --version?
cabal-install version 2.3.0.0 compiled using version 2.3.0.0 of the Cabal library
Also, no idea if it helps, since the libraries look more of less the same, but you can try and drop a cabal.project.freeze with the following, into the project,
Does not seem to make any difference.
Ruben
On 8 May 2018, at 5:22 pm, Christian Kjær [email protected] wrote:
What version of cabal are you using? Can you run ./call x86_64-apple-ios-cabal --version?
Also, no idea if it helps, since the libraries look more of less the same, but you can try and drop a cabal.project.freeze with the following, into the project,
constraints: any.base ==4.11.0.0, any.ghc-prim ==0.5.2.0, any.integer-simple ==0.1.1.1, any.rts ==1.0 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Tehnix/MobileHaskellFun/issues/4#issuecomment-387440624, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_Ly80SypdyRIjO402lZgTHBzFyBOc1ks5twbhIgaJpZM4TrRFV.
Hmm 🤔
Shooting a bit in the dark here, are you on macOS and do you already ahve Xcode installed?
For reference, my own output was,
λ/w MobileHaskellFun/hs-src ‹master› ./call make iOS
CABAL=x86_64-apple-ios-cabal make cabal-build
x86_64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng
'cabal.project.local' file already exists. Now overwriting it.
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following would be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run)
x86_64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following will be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run)
Configuring library for MobileFun-0.1.0.0..
Preprocessing library for MobileFun-0.1.0.0..
Building library for MobileFun-0.1.0.0..
[1 of 1] Compiling Lib ( src/Lib.hs, /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/Lib.o )
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Win32Utils.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(consUtils.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(longlong.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Disassembler.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(LdvProfile.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(OldARMAtomic.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(ProfilerReport.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(ProfilerReportJson.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Profiling.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RetainerProfile.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RetainerSet.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RtsDllMain.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Trace.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(EventLog.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Elf.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(PEi386.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_got.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt_aarch64.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt_arm.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_reloc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_reloc_aarch64.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_util.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Sanity.o) has no symbols
CABAL=aarch64-apple-ios-cabal make cabal-build
aarch64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng
'cabal.project.local' file already exists. Now overwriting it.
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following would be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run)
aarch64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following will be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run)
Configuring library for MobileFun-0.1.0.0..
Preprocessing library for MobileFun-0.1.0.0..
Building library for MobileFun-0.1.0.0..
[1 of 1] Compiling Lib ( src/Lib.hs, /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/aarch64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/Lib.o )
mkdir -p binaries/iOS
find . -path "*-ios*" -name "libHSMobileFun*ghc*.a" -exec lipo -create -output binaries/iOS/libHSMobileFun.a {} +
On 8 May 2018, at 5:35 pm, Christian Kjær [email protected] wrote:
Hmm 🤔
Shooting a bit in the dark here, are you on macOS and do you already ahve Xcode installed?
Yes. macOS 10.13.4 and Xcode 9.3.
Ruben
For reference, my own output was,
λ/w MobileHaskellFun/hs-src ‹master› ./call make iOS CABAL=x86_64-apple-ios-cabal make cabal-build x86_64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng 'cabal.project.local' file already exists. Now overwriting it. Resolving dependencies... Build profile: -w ghc-8.4.0.20180109 -O1 In order, the following would be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run) x86_64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng Resolving dependencies... Build profile: -w ghc-8.4.0.20180109 -O1 In order, the following will be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run) Configuring library for MobileFun-0.1.0.0.. Preprocessing library for MobileFun-0.1.0.0.. Building library for MobileFun-0.1.0.0.. [1 of 1] Compiling Lib ( src/Lib.hs, /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/Lib.o ) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Win32Utils.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(consUtils.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(longlong.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Disassembler.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(LdvProfile.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(OldARMAtomic.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(ProfilerReport.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(ProfilerReportJson.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Profiling.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RetainerProfile.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RetainerSet.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RtsDllMain.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Trace.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(EventLog.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Elf.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(PEi386.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_got.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt_aarch64.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt_arm.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_reloc.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_reloc_aarch64.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_util.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Sanity.o) has no symbols CABAL=aarch64-apple-ios-cabal make cabal-build aarch64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng 'cabal.project.local' file already exists. Now overwriting it. Resolving dependencies... Build profile: -w ghc-8.4.0.20180109 -O1 In order, the following would be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run) aarch64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng Build profile: -w ghc-8.4.0.20180109 -O1 In order, the following will be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run) Configuring library for MobileFun-0.1.0.0.. Preprocessing library for MobileFun-0.1.0.0.. Building library for MobileFun-0.1.0.0.. [1 of 1] Compiling Lib ( src/Lib.hs, /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/aarch64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/Lib.o ) mkdir -p binaries/iOS find . -path "-ios" -name "libHSMobileFunghc.a" -exec lipo -create -output binaries/iOS/libHSMobileFun.a {} + — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Tehnix/MobileHaskellFun/issues/4#issuecomment-387445120, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_LyyugQQ45fdocrK6pp-XVrOrCjTq0ks5twbtEgaJpZM4TrRFV.