netsukuku-vala
[Top][All Lists]
Advanced

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

Re: [Netsukuku-vala] building, first problem...


From: Luca Dionisi
Subject: Re: [Netsukuku-vala] building, first problem...
Date: Tue, 19 Jun 2012 14:11:13 +0200

You are using a old version of valac.
I am currently using 0.14.2 and it should work also with 0.16

On Tue, Jun 19, 2012 at 1:38 PM, Yussi <address@hidden> wrote:
> Hi,
> Ok, I tried to build it, and got:
> ../network_linux.vala:502.40-502.63: error: Argument 2: Cannot convert
> from `string' to `uint8[]?'
>            ftable.load_contents(null, out rt_table_content_arr, null);
>                                       ^^^^^^^^^^^^^^^^^^^^^^^^
> Compilation failed: 1 error(s), 0 warning(s)
> make[1]: *** [networklinux_tester_1] Error 1
> make[1]: Leaving directory `/MY/PATH/TO/vala-ntk/testsuites'
> make: *** [subdirs] Error 2
>
> Seems to come from this line:
> ftable.load_contents(null, out rt_table_content_arr, null);
>
> which expects a string but takes a uint8[], removed array and changed to
> string seemed to solve this.
>
> string rt_table_content;
> ftable.load_contents(null, out rt_table_content, null);
>
> Thanks for all your effort.
> Yussi.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]