Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions that require OCaml < 4.06 fail to build #1

Open
spameier opened this issue May 7, 2020 · 0 comments
Open

Versions that require OCaml < 4.06 fail to build #1

spameier opened this issue May 7, 2020 · 0 comments

Comments

@spameier
Copy link
Owner

spameier commented May 7, 2020

The following error appears when building Liquidsoap 1.3.2 with OCaml 4.05.0:

[ERROR] The compilation of liquidsoap failed at "/usr/bin/make".                                                                        
                                  
#=== ERROR while compiling liquidsoap.1.3.2 ===================================#                                                        
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.05.0 | https://opam.ocaml.org#bc6d04e5                              
# path                 ~/.opam/4.05.0/.opam-switch/build/liquidsoap.1.3.2
# command              /usr/bin/make                                                                                                    
# exit-code            2                                                                                                                
# env-file             ~/.opam/log/liquidsoap-5084-cb3843.env                                                                           
# output-file          ~/.opam/log/liquidsoap-5084-cb3843.out                                                                           
### output ###                                                                                                                          
# [...]                                                                                                                                 
# OCAMLOPT -o liquidsoap                                                                                                                
# /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /home/liquidsoap/.opam/4.05.0/lib/ocaml/libasmrun.a(major_gc.o):/home/liquidsoap/.opam/4.05.0/.opam-switch/build/ocaml-base-compiler.4.05.0/asmrun/../byterun/caml/major_gc.h:67: multiple definition of `caml_major_ring'; /home/liquidsoap/.opam/4.05.0/lib/taglib/libtaglib_stubs.a(taglib_stubs.o):(.bss+0x0):[...]      
# /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /home/liquidsoap/.opam/4.05.0/lib/ocaml/libasmrun.a(major_gc.o):/home/liquidsoap/.opam/4.05.0/.opam-switch/build/ocaml-base-compiler.4.05.0/asmrun/../byterun/caml/major_gc.h:68: multiple definition of `caml_major_ring_index'; /home/liquidsoap/.opam/4.05.0/lib/taglib/libtaglib_stubs.a(taglib_stubs.o):(.bss[...]      
# /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /home/liquidsoap/.opam/4.05.0/lib/ocaml/libasmrun.a(major_gc.o):/home/liquidsoap/.opam/4.05.0/.opam-switch/build/ocaml-base-compiler.4.05.0/asmrun/../byterun/caml/major_gc.h:69: multiple definition of `caml_major_work_credit'; /home/liquidsoap/.opam/4.05.0/lib/taglib/libtaglib_stubs.a(taglib_stubs.o):(.bs[...]      
# collect2: error: ld returned 1 exit status                                                                                            
# File "caml_startup", line 1:                                                                                                          
# Error: Error during linking                                       
# make[2]: *** [../Makefile.rules:110: liquidsoap] Error 2                                                                              
# make[2]: Leaving directory '/home/liquidsoap/.opam/4.05.0/.opam-switch/build/liquidsoap.1.3.2/src'                                    
# make[1]: *** [../Makefile.rules:67: all-auto-ocaml-prog] Error 2                                                                      
# make[1]: Leaving directory '/home/liquidsoap/.opam/4.05.0/.opam-switch/build/liquidsoap.1.3.2/src'
# make: *** [Makefile.rules:27: all-subdirs] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant