Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: API

Unable to compile xapi from git on debian squeeze

 

 

Xen api RSS feed   Index | Next | Previous | View Threaded


eneal at businessgrade

Aug 14, 2011, 4:09 PM

Post #1 of 4 (296 views)
Permalink
Unable to compile xapi from git on debian squeeze

Hi. When I try to build the source I get the following error:

root [at] squeez:~/tmp/xen-api# make
omake phase1
omake: Symbol `FamErrlist' has different size in shared object, consider re-linking
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.21 sec)
- build ocaml/idl datamodel.cmx
+ ocamlfind ocamlopt -package xml-light2,sexpr,log -g -dtypes -thread -warn-error +a-4-6-9-27-28-29 -ccopt -fPIC -I ocaml_backend -I ../database -c datamodel.ml
Fatal error: exception Stack_overflow
*** omake: 261/333 targets are up to date
*** omake: failed (39.55 sec, 0/34 scans, 1/50 rules, 2/393 digests)
*** omake: targets were not rebuilt because of errors:
ocaml/idl/datamodel.cmi
depends on: ocaml/idl/datamodel.ml
ocaml/idl/datamodel.cmx
depends on: ocaml/idl/datamodel.ml
ocaml/idl/datamodel.o
depends on: ocaml/idl/datamodel.ml
make: *** [all] Error 2

I'm using the ocaml packages right out of the dpkg repository. The version is 3.12. Any thoughts on how I go about getting this to compile?

_______________________________________________
xen-api mailing list
xen-api [at] lists
http://lists.xensource.com/mailman/listinfo/xen-api


superbobry at gmail

Aug 15, 2011, 12:12 AM

Post #2 of 4 (289 views)
Permalink
Re: Unable to compile xapi from git on debian squeeze [In reply to]

Hi Errol,

Which architecture are using? the error message suggests arch. mismatch.

--Sergei

On Mon, Aug 15, 2011 at 3:09 AM, Errol Neal <eneal [at] businessgrade> wrote:

> Hi. When I try to build the source I get the following error:
>
> root [at] squeez:~/tmp/xen-api# make
> omake phase1
> omake: Symbol `FamErrlist' has different size in shared object, consider
> re-linking
> *** omake: reading OMakefiles
> *** omake: finished reading OMakefiles (0.21 sec)
> - build ocaml/idl datamodel.cmx
> + ocamlfind ocamlopt -package xml-light2,sexpr,log -g -dtypes -thread
> -warn-error +a-4-6-9-27-28-29 -ccopt -fPIC -I ocaml_backend -I ../database
> -c datamodel.ml
> Fatal error: exception Stack_overflow
> *** omake: 261/333 targets are up to date
> *** omake: failed (39.55 sec, 0/34 scans, 1/50 rules, 2/393 digests)
> *** omake: targets were not rebuilt because of errors:
> ocaml/idl/datamodel.cmi
> depends on: ocaml/idl/datamodel.ml
> ocaml/idl/datamodel.cmx
> depends on: ocaml/idl/datamodel.ml
> ocaml/idl/datamodel.o
> depends on: ocaml/idl/datamodel.ml
> make: *** [all] Error 2
>
> I'm using the ocaml packages right out of the dpkg repository. The version
> is 3.12. Any thoughts on how I go about getting this to compile?
>
> _______________________________________________
> xen-api mailing list
> xen-api [at] lists
> http://lists.xensource.com/mailman/listinfo/xen-api
>


eneal at businessgrade

Aug 15, 2011, 4:47 AM

Post #3 of 4 (288 views)
Permalink
Re: Unable to compile xapi from git on debian squeeze [In reply to]

On Mon, 08/15/2011 03:12 AM, Sergei Lebedev &lt;superbobry [at] gmail&gt; wrote:
> Hi Errol,
> Which architecture are using? the error message suggests arch. mismatch.
> --Sergei
>

Thanks for the reply Sergei. I'm building on i686.

root [at] squeez:/var/log# uname -a
Linux squeeze 3.0.0-1-686-pae #1 SMP Sun Jul 24 14:27:32 UTC 2011 i686 GNU/Linux

_______________________________________________
xen-api mailing list
xen-api [at] lists
http://lists.xensource.com/mailman/listinfo/xen-api


Jonathan.Ludlam at eu

Aug 15, 2011, 5:47 AM

Post #4 of 4 (291 views)
Permalink
Re: Unable to compile xapi from git on debian squeeze [In reply to]

Install the ocaml-native-compilers package and try again. For some reason the large (but not massive) datamodel.ml causes the bytecode compilers to blow their stacks.

Jon

On 15 Aug 2011, at 12:47, Errol Neal wrote:

> On Mon, 08/15/2011 03:12 AM, Sergei Lebedev &lt;superbobry [at] gmail&gt; wrote:
>> Hi Errol,
>> Which architecture are using? the error message suggests arch. mismatch.
>> --Sergei
>>
>
> Thanks for the reply Sergei. I'm building on i686.
>
> root [at] squeez:/var/log# uname -a
> Linux squeeze 3.0.0-1-686-pae #1 SMP Sun Jul 24 14:27:32 UTC 2011 i686 GNU/Linux
>
> _______________________________________________
> xen-api mailing list
> xen-api [at] lists
> http://lists.xensource.com/mailman/listinfo/xen-api


_______________________________________________
xen-api mailing list
xen-api [at] lists
http://lists.xensource.com/mailman/listinfo/xen-api

Xen api RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.