On Fri, 1 Aug 2014, Allin Cottrell wrote:
On Thu, 31 Jul 2014, Hélio Guilherme wrote:
> For sometime I did not update gretl files from CVS, and now I not able to
> build.
> I believe it was by changes regarding date/time functions.
>
> Here is the output:
> CC prescr.lo
> CC seive.lo
> LD libgretl-1.0.la
> make[1]: Leaving directory `/home/helio/gretl/lib'
> make -C cli
> make[1]: Entering directory `/home/helio/gretl/cli'
> CC gretlcli.o
> CC complete.o
> LD gretlcli
> ../lib/.libs/libgretl-1.0.so: undefined reference to `g_get_monotonic_time'
> collect2: ld returned 1 exit status
> make[1]: *** [gretlcli] Error 1
> make[1]: Leaving directory `/home/helio/gretl/cli'
> make: *** [cli] Error 2
Oops, sorry. g_get_monotonic_time is provided by GLib, but only in versions
2.28 and higher (the current stable version is 2.40). We need a replacement
for use with older versions of GLib. I'm working on that and will commit
something to CVS soon.
CVS is now updated. Could you see if you're now able to build OK? (It's
possible that some additional checks and conditionality may be needed.)
Thanks!
Allin