$ sudo make
Password:
valac -C --main=Ntk.Core.InetUtilsTester.InetUtilsTester.main \
inet_utils.vala \
map.vala \
microfunc.vala \
tasklet.vala \
tasklet_blocking_sockets.vala \
channel.vala \
utils.vala \
serializer.vala \
logger.vala \
settings.vala \
libwrappth.vala \
use_with_libpth_vapi.vala \
--pkg gee-1.0 --pkg gio-2.0 --pkg posix --pkg linux --pkg libpth --vapidir .
linux.vapi:1204.18-1204.32: error: The type name `Posix.clockid_t' could not be found
public const Posix.clockid_t CLOCK_MONOTONIC_RAW;
^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make: *** [inetutils_tester_inet_utils.c] Error 1
Funny thing is, I can't find the file linux.vapi. Am I missing something?
Justin
On Thu, Sep 15, 2011 at 7:36 PM, Justin Lei
<address@hidden> wrote:
Thanks for the reply!
I'm on version 0.8.1 of Vala -- I'll try the latest version and get back to you.
Justin
Date: Thu, 15 Sep 2011 06:50:23 +0100
From: Yussi <address@hidden>
To: "Porting netsukuku to Vala language. Developers."
<address@hidden>
Subject: Re: [Netsukuku-vala] Error During Compile
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1
I had a similar problem (I think) a few months ago when I tried. The
solution was to upgrade Vala
What does valac --version give you?
Try version 0.12+ and if it doesn't work then can you paste the make
output here?
Thanks,
Yussi.
On 15/09/11 06:36, Justin Lei wrote:
> Hi all,
>
> Just tried to compile for the first time but ran into an error - looks like
> in line 109 of map.vala, v is declared as a Variant but then assigned an
> array of ints (_positions). Does anybody know what this might be about?
>
> Thanks!
> Justin