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

Build issues under Centos on ARM #690

Open
dgnisbet opened this issue Aug 10, 2016 · 0 comments
Open

Build issues under Centos on ARM #690

dgnisbet opened this issue Aug 10, 2016 · 0 comments

Comments

@dgnisbet
Copy link

Hi I am trying to build xenserver-core under Fedora on a Raspberry pi (I want the xe command to invoke shutdown of virtual machines when a UPS goes onto battery) After a bit of tweaking the build proceeds fine until building core_kernel-111.28.00. which triggers the following log entries:

touch raise_without_backtrace/raise_without_backtrace.mli ; if /usr/bin/ocamlfind ocamlopt -pack -I raise_without_backtrace raise_without_backtrace/rwb_std.cmx -o raise_without_backtrace/raise_without_backtrace.cmx ; then rm -f raise_without_backtrace/raise_without_backtrace.mli ; else rm -f raise_without_backtrace/raise_without_backtrace.mli ; exit 1; fi
/usr/bin/ocamlfind ocamlopt -a raise_without_backtrace/raise_without_backtrace.cmx -o raise_without_backtrace/raise_without_backtrace.cmxa
/usr/bin/ocamlfind ocamlopt -shared raise_without_backtrace/raise_without_backtrace.cmxa raise_without_backtrace/raise_without_backtrace.cmx -o raise_without_backtrace/raise_without_backtrace.cmxs
/usr/bin/ocamlfind ocamlc -g -c lib/bigstring_marshal_stubs.c
mv bigstring_marshal_stubs.o lib/bigstring_marshal_stubs.o
/usr/bin/ocamlfind ocamlc -g -c lib/bigstring_stubs.c

  • /usr/bin/ocamlfind ocamlc -g -c lib/bigstring_stubs.c
    lib/bigstring_stubs.c: In function 'unsafe_write_int32':
    lib/bigstring_stubs.c:222:19: error: unknown type name 'int32'
    unsafe_stdint_set(int32, bswap_32, Int32_val)
    ^
    The problem appears to be a lack of a definition for int32 but I'm at a loss as to why this is not available. I did have issues when building findlib due to the bytes module. Could this be related?
    I am building the current git repository on Fedora 23 (server).

David

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