2013/1/8 Adrian Knoth <adi@drcomp.erfurt.thur.de>
On Tue, Jan 08, 2013 at 02:06:46PM -0200, Diego Simak wrote:

> I'm using v.0.14.97-dev branch now but I got this error:
>
> gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include/alsa     -pthread
> -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/directfb
> -I/usr/include/libpng12      -I/usr/include/lash-1.0 -I/usr/include/alsa
> -I/usr/include/uuid    -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -D_REENTRANT
> -DARCH_BITS=64 -DPHASEX_CPU_POWER=2 -DNUM_PARTS=2  -std=gnu99 -pipe -Wall
> -mtune=native -march=native -m64  -O3 -ffast-math -fomit-frame-pointer
> -fsingle-precision-constant   -MT timekeeping.o -MD -MP -MF
> .deps/timekeeping.Tpo -c -o timekeeping.o timekeeping.c
> timekeeping.c:60: error: ‘CLOCK_MONOTONIC_RAW’ undeclared here (not in a
> function)

A classic. ;) Fixed now:

   https://github.com/adiknoth/phasex


Pull request sent, so I guess it will eventually end up in William's
repo, too.


Cheers

--
mail: adi@thur.de       http://adi.thur.de      PGP/GPG: key via keyserver



Thank you very much.
Please confirm if it was fixed to dev branch, because it seems that it was included in the v.014.96 branch which has other error (jack_port_type_id_t)

I've manually edited timekeeping.c from 0.14.97-dev with your fix and now it compiles OK, but I'm getting a Segmentation fault during execution:

diego@ruidosa:~$ phasex

(<unknown>:7002): Gtk-WARNING **: Unable to locate theme engine in module_path: "nodoka",

(<unknown>:7002): Gtk-WARNING **: Unable to locate theme engine in module_path: "nodoka",
Segmentation fault
diego@ruidosa:~$


Let me know any file that I can provide you.

Thank you very much.
Diego