Hi, I'm a bit of a newb at programming/linux and dont really know what to do next, so far I've done:
wget
http://sourceforge.net/projects/xoscope/files/xoscope/2.0/xoscope-2.0.tgzwget
http://dl.dropbox.com/u/6907158/gtk_deprecated.patchtar -xvf xoscope-2.0.tgz
patch -p0 < gtk_deprecated.patch
cd xoscope-2.0/
./configure
make
and get the following on the make:
make all-recursive
make[1]: Entering directory `/mnt/sda5/home/tc/xoscope-2.0'
Making all in gtkdatabox-0.6.0.0/gtk
make[2]: Entering directory `/mnt/sda5/home/tc/xoscope-2.0/gtkdatabox-0.6.0.0/gtk'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -O2 -Wall -pedantic -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -g -O2 -Wall -MT gtkdatabox.o -MD -MP -MF .deps/gtkdatabox.Tpo -c -o gtkdatabox.o gtkdatabox.c
In file included from gtkdatabox.c:20:0:
./gtkdatabox.h:103:50: error: unknown type name 'GtkRuler'
./gtkdatabox.h:104:50: error: unknown type name 'GtkRuler'
./gtkdatabox.h:105:4: error: unknown type name 'GtkRuler'
./gtkdatabox.h:106:4: error: unknown type name 'GtkRuler'
gtkdatabox.c:91:4: error: unknown type name 'GtkRuler'
gtkdatabox.c:92:4: error: unknown type name 'GtkRuler'
gtkdatabox.c:221:42: error: unknown type name 'GtkRuler'
gtkdatabox.c:254:42: error: unknown type name 'GtkRuler'
gtkdatabox.c: In function 'gtk_databox_set_property':
gtkdatabox.c:309:10: warning: implicit declaration of function 'gtk_databox_set_hruler' [-Wimplicit-function-declaration]
gtkdatabox.c:312:10: warning: implicit declaration of function 'gtk_databox_set_vruler' [-Wimplicit-function-declaration]
gtkdatabox.c: At top level:
gtkdatabox.c:353:1: error: unknown type name 'GtkRuler'
gtkdatabox.c:361:1: error: unknown type name 'GtkRuler'
gtkdatabox.c: In function 'gtk_databox_class_init':
gtkdatabox.c:503:47: error: 'GTK_TYPE_RULER' undeclared (first use in this function)
gtkdatabox.c:503:47: note: each undeclared identifier is reported only once for each function it appears in
gtkdatabox.c: In function 'gtk_databox_calculate_hcanvas':
gtkdatabox.c:664:4: warning: passing argument 1 of 'gtk_widget_get_visible' from incompatible pointer type [enabled by default]
/usr/local/include/gtk-2.0/gtk/gtkwidget.h:971:23: note: expected 'struct GtkWidget *' but argument is of type 'struct GtkDatabox *'
gtkdatabox.c: In function 'gtk_databox_calculate_vcanvas':
gtkdatabox.c:701:4: warning: passing argument 1 of 'gtk_widget_get_visible' from incompatible pointer type [enabled by default]
/usr/local/include/gtk-2.0/gtk/gtkwidget.h:971:23: note: expected 'struct GtkWidget *' but argument is of type 'struct GtkDatabox *'
gtkdatabox.c: In function 'gtk_databox_configure':
gtkdatabox.c:747:7: warning: implicit declaration of function 'gdk_drawable_get_size' [-Wimplicit-function-declaration]
gtkdatabox.c: In function 'gtk_databox_expose':
gtkdatabox.c:782:4: warning: implicit declaration of function 'gdk_draw_drawable' [-Wimplicit-function-declaration]
gtkdatabox.c: In function 'gtk_databox_draw':
gtkdatabox.c:945:4: warning: implicit declaration of function 'gdk_draw_rectangle' [-Wimplicit-function-declaration]
gtkdatabox.c: In function 'gtk_databox_draw_selection':
gtkdatabox.c:1153:26: warning: passing argument 1 of 'gtk_widget_get_state' from incompatible pointer type [enabled by default]
/usr/local/include/gtk-2.0/gtk/gtkwidget.h:962:23: note: expected 'struct GtkWidget *' but argument is of type 'struct GtkDatabox *'
gtkdatabox.c: In function 'gtk_databox_hruler_update':
gtkdatabox.c:1195:7: warning: implicit declaration of function 'gtk_ruler_set_range' [-Wimplicit-function-declaration]
gtkdatabox.c:1195:7: warning: implicit declaration of function 'GTK_RULER' [-Wimplicit-function-declaration]
gtkdatabox.c: In function 'gtk_databox_create_box_with_scrollbars_and_rulers':
gtkdatabox.c:1507:7: warning: implicit declaration of function 'gtk_hruler_new' [-Wimplicit-function-declaration]
gtkdatabox.c:1507:13: warning: assignment makes pointer from integer without a cast [enabled by default]
gtkdatabox.c:1515:7: warning: implicit declaration of function 'gtk_vruler_new' [-Wimplicit-function-declaration]
gtkdatabox.c:1515:13: warning: assignment makes pointer from integer without a cast [enabled by default]
make[2]: *** [gtkdatabox.o] Error 1
make[2]: Leaving directory `/mnt/sda5/home/tc/xoscope-2.0/gtkdatabox-0.6.0.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/sda5/home/tc/xoscope-2.0'
make: *** [all] Error 2
I know enough to know its a code problem but not enough to fix it, any help would be appreciated, I understand that a sound card based oscilloscope program isnt in huge demand (then again the reason i chose TC was so I could use this old laptop as a stand alone oscilloscope!) but I would be very grateful of anyone with the technical prowess required to get this running who could do it and get back to me on exactly how they did it. Thanks in advance.