[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] 4.4.0-rc3 tagged



On 10/02/14 19:48, Don Slutz wrote:
> On 02/10/14 05:59, Roger Pau Monnà wrote:
>> On 10/02/14 10:55, Ian Campbell wrote:
>>> On Fri, 2014-02-07 at 16:29 +0000, Andrew Cooper wrote:
>>>> On 07/02/14 16:22, Don Slutz wrote:
>>>>> On 02/07/14 05:05, Ian Campbell wrote:
>>>>>> On Thu, 2014-02-06 at 19:15 -0500, Don Slutz wrote:
>>>>>>>>>> cc1: warnings being treated as errors
>>>>>>>>>> xenlight_stubs.c: In function 'Defbool_val':
>>>>>>>>>> xenlight_stubs.c:344: warning: implicit declaration of function
>>>>>>>>>> 'CAMLreturnT'
>>>>>>>>>> xenlight_stubs.c:344: error: expected expression before
>>>>>>>>>> 'libxl_defbool'
>>>>>>>>>> xenlight_stubs.c: In function 'String_option_val':
>>>>>>>>>> xenlight_stubs.c:379: error: expected expression before 'char'
>>>>>>>>>> xenlight_stubs.c: In function 'aohow_val':
>>>>>>>>>> xenlight_stubs.c:440: error: expected expression before
>>>>>>>>>> 'libxl_asyncop_how'
>>>>>>> Any idea on what to do about ocaml issue?
>>>>>> My guess is that your ocaml is too old and doesn't supply
>>>>>> CAMLreturnT.
>>>>>> What version do you have?
>>>>>>
>>>>>> Ian.
>>>>>>
>>>>> dcs-xen-53:~>ocaml -version
>>>>> The Objective Caml toplevel, version 3.09.3
>>>>>
>>>>>     -Don Slutz
>>>>>
>>>> Which, according to google, was introduced in 3.09.4
>>>>
>>>> I think the ./configure script needs a min version check.
>>> Yes, I think so too. Rob, could you advise on a suitable minimum and
>>> perhaps patch tools/configure.ac and/or m4/ocaml.m4 as necessary.
>>>
>>> Also CCing Roger who added the ocaml autoconf stuff.
>> The Ocaml autoconf stuff was picked from http://forge.ocamlcore.org/.
>> Here is an untested patch for our configure script to check for the
>> minimum required OCaml version (3.09.3):
>>
>> (remember to re-generate the configure script after applying)
> 
> Not sure if the older Autoconf (2.68) is at fault, but I get:
> 
> dcs-xen-54:~/xen/tools>autoconf configure.ac >configure
> configure.ac:14: error: possibly undefined macro: AS_IF
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.ac:162: error: possibly undefined macro: AC_MSG_ERROR

On Debian systems you need the autoconf-archive package which provides
the AX_COMPARE_VERSION macro, and then you also need to run aclocal
before autoconf.

Roger.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.