[Top][All Lists]

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

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

From: Yussi
Subject: [Netsukuku-vala] building, first problem...
Date: Tue, 19 Jun 2012 12:38:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20111114 Icedove/3.1.16

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.

Attachment: string_fix.patch
Description: Text Data

reply via email to

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