LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2010, 01:03 AM   #1
sunitverma
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Rep: Reputation: 0
gstripchart-0.3.0 not working


Hi,

I am trying to install gstripchart-0.3.0, but when i try to "make" it, it gives some errors :

since the error is too long i can show some of these:
/usr/local/include/gtkextra/gtkplotbar.h:64: error: ‘gtk_plot_bar_get_width’ declared as function returning a function
In file included from /usr/local/include/gtkextra/gtkextra.h:47,
from gtkstripchartcursorset.h:21,
from gtkstripchart.h:23,
from teststrip.c:16:
/usr/local/include/gtkextra/gtkplotbox.h:41: error: expected specifier-qualifier-list before ‘GtkOrientation’
/usr/local/include/gtkextra/gtkplotbox.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_box_get_type’
/usr/local/include/gtkextra/gtkplotbox.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtkplotbox.h:53: error: expected declaration specifiers or ‘...’ before ‘GtkOrientation’
In file included from /usr/local/include/gtkextra/gtkextra.h:49,
from gtkstripchartcursorset.h:21,
from gtkstripchart.h:23,
from teststrip.c:16:
/usr/local/include/gtkextra/gtkplotflux.h:42: error: expected specifier-qualifier-list before ‘gboolean’
/usr/local/include/gtkextra/gtkplotflux.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_flux_get_type’
/usr/local/include/gtkextra/gtkplotflux.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtkplotflux.h:66: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtkplotflux.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_flux_is_centered’
In file included from /usr/local/include/gtkextra/gtkextra.h:50,
from gtkstripchartcursorset.h:21,
from gtkstripchart.h:23,
from teststrip.c:16:
/usr/local/include/gtkextra/gtkplotpixmap.h:41: error: expected specifier-qualifier-list before ‘GdkPixmap’
/usr/local/include/gtkextra/gtkplotpixmap.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_pixmap_get_type’
/usr/local/include/gtkextra/gtkplotpixmap.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtkplotpixmap.h:56: error: expected declaration specifiers or ‘...’ before ‘GdkPixmap’
/usr/local/include/gtkextra/gtkplotpixmap.h:57: error: expected declaration specifiers or ‘...’ before ‘GdkBitmap’
/usr/local/include/gtkextra/gtkplotpixmap.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtkplotpixmap.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from /usr/local/include/gtkextra/gtkextra.h:51,
from gtkstripchartcursorset.h:21,
from gtkstripchart.h:23,
from teststrip.c:16:
/usr/local/include/gtkextra/gtkplotgdk.h:45: error: expected specifier-qualifier-list before ‘GdkGC’
/usr/local/include/gtkextra/gtkplotgdk.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_gdk_get_type’
/usr/local/include/gtkextra/gtkplotgdk.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtkplotgdk.h:62: error: expected declaration specifiers or ‘...’ before ‘GdkDrawable’
/usr/local/include/gtkextra/gtkplotgdk.h:64: error: expected declaration specifiers or ‘...’ before ‘GdkDrawable’
In file included from /usr/local/include/gtkextra/gtkextra.h:53,
from gtkstripchartcursorset.h:21,
from gtkstripchart.h:23,
from teststrip.c:16:
/usr/local/include/gtkextra/gtkplotprint.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_export_ps’
/usr/local/include/gtkextra/gtkplotprint.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_export_ps_with_size’
/usr/local/include/gtkextra/gtkplotprint.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_canvas_export_ps’
/usr/local/include/gtkextra/gtkplotprint.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_canvas_export_ps_with_size’
In file included from /usr/local/include/gtkextra/gtkextra.h:54,
from gtkstripchartcursorset.h:21,
from gtkstripchart.h:23,
from teststrip.c:16:
/usr/local/include/gtkextra/gtkplotps.h:49: error: expected specifier-qualifier-list before ‘gchar’
/usr/local/include/gtkextra/gtkplotps.h:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_plot_ps_get_type’
/usr/local/include/gtkextra/gtkplotps.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtkplotps.h:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtkplotps.h:89: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtkplotps.h:96: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
In file included from /usr/local/include/gtkextra/gtkextra.h:56,
from gtkstripchartcursorset.h:21,
from gtkstripchart.h:23,
from teststrip.c:16:
/usr/local/include/gtkextra/gtksheet.h:118: error: expected specifier-qualifier-list before ‘GtkWidget’
/usr/local/include/gtkextra/gtksheet.h:128: error: expected specifier-qualifier-list before ‘GtkStateType’
/usr/local/include/gtkextra/gtksheet.h:139: error: expected specifier-qualifier-list before ‘gint8’
/usr/local/include/gtkextra/gtksheet.h:149: error: expected specifier-qualifier-list before ‘GtkJustification’
/usr/local/include/gtkextra/gtksheet.h:160: error: expected specifier-qualifier-list before ‘GdkRectangle’
/usr/local/include/gtkextra/gtksheet.h:172: error: field ‘row0’ declared as a function
/usr/local/include/gtkextra/gtksheet.h:172: error: field ‘col0’ declared as a function
/usr/local/include/gtkextra/gtksheet.h:173: error: field ‘rowi’ declared as a function
/usr/local/include/gtkextra/gtksheet.h:173: error: field ‘coli’ declared as a function
/usr/local/include/gtkextra/gtksheet.h:179: error: expected specifier-qualifier-list before ‘gchar’
/usr/local/include/gtkextra/gtksheet.h:190: error: expected specifier-qualifier-list before ‘gchar’
/usr/local/include/gtkextra/gtksheet.h:206: error: expected specifier-qualifier-list before ‘GtkContainer’
/usr/local/include/gtkextra/gtksheet.h:328: error: expected specifier-qualifier-list before ‘GtkContainerClass’
/usr/local/include/gtkextra/gtksheet.h:379: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_get_type’
/usr/local/include/gtkextra/gtksheet.h:380: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_range_get_type’
/usr/local/include/gtkextra/gtksheet.h:383: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:388: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:388: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:388: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:391: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:396: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:396: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:396: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:399: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:405: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:405: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:406: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:411: error: expected declaration specifiers or ‘...’ before ‘GtkAdjustment’
/usr/local/include/gtkextra/gtksheet.h:414: error: expected declaration specifiers or ‘...’ before ‘GtkAdjustment’
/usr/local/include/gtkextra/gtksheet.h:417: error: expected declaration specifiers or ‘...’ before ‘GtkType’
/usr/local/include/gtkextra/gtksheet.h:420: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:422: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:428: error: ‘gtk_sheet_get_state’ declared as function returning a function
/usr/local/include/gtkextra/gtksheet.h:433: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_get_columns_count’
/usr/local/include/gtkextra/gtksheet.h:436: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_get_rows_count’
/usr/local/include/gtkextra/gtksheet.h:445: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:458: error: expected declaration specifiers or ‘...’ before ‘GdkColor’
/usr/local/include/gtkextra/gtksheet.h:461: error: expected declaration specifiers or ‘...’ before ‘GdkColor’
/usr/local/include/gtkextra/gtksheet.h:464: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:466: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_grid_visible’
/usr/local/include/gtkextra/gtksheet.h:472: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:478: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:483: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:486: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:489: error: expected declaration specifiers or ‘...’ before ‘GtkJustification’
/usr/local/include/gtkextra/gtksheet.h:492: error: expected declaration specifiers or ‘...’ before ‘GtkJustification’
/usr/local/include/gtkextra/gtksheet.h:503: error: expected declaration specifiers or ‘...’ before ‘gfloat’
/usr/local/include/gtkextra/gtksheet.h:504: error: expected declaration specifiers or ‘...’ before ‘gfloat’
/usr/local/include/gtkextra/gtksheet.h:508: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:510: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:526: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:530: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:537: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:541: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:547: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:550: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:552: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:558: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:561: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:563: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:586: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:588: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:602: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_set_active_cell’
/usr/local/include/gtkextra/gtksheet.h:612: error: expected declaration specifiers or ‘...’ before ‘GtkJustification’
/usr/local/include/gtkextra/gtksheet.h:613: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:617: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:620: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:642: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_cell_get_state’
/usr/local/include/gtkextra/gtksheet.h:647: error: expected declaration specifiers or ‘...’ before ‘gpointer’
/usr/local/include/gtkextra/gtksheet.h:650: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_get_link’
/usr/local/include/gtkextra/gtksheet.h:656: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_get_pixel_info’
/usr/local/include/gtkextra/gtksheet.h:664: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_get_cell_area’
/usr/local/include/gtkextra/gtksheet.h:673: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:679: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:683: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:687: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:691: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:691: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:695: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:695: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:699: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:699: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:703: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:703: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:709: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:715: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:723: error: expected declaration specifiers or ‘...’ before ‘GtkJustification’
/usr/local/include/gtkextra/gtksheet.h:727: error: expected declaration specifiers or ‘...’ before ‘GtkJustification’
/usr/local/include/gtkextra/gtksheet.h:740: error: expected declaration specifiers or ‘...’ before ‘gboolean’
/usr/local/include/gtkextra/gtksheet.h:751: error: expected declaration specifiers or ‘...’ before ‘guint’
/usr/local/include/gtkextra/gtksheet.h:758: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/local/include/gtkextra/gtksheet.h:764: error: expected declaration specifiers or ‘...’ before ‘GdkFont’
/usr/local/include/gtkextra/gtksheet.h:769: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_sheet_get_attributes’
/usr/local/include/gtkextra/gtksheet.h:776: error: expected declaration specifiers or ‘...’ before ‘GtkWidget’
/usr/local/include/gtkextra/gtksheet.h:781: error: expected declaration specifiers or ‘...’ before ‘GtkWidget’
/usr/local/include/gtkextra/gtksheet.h:783: error: expected declaration specifiers or ‘...’ before ‘gfloat’
/usr/local/include/gtkextra/gtksheet.h:783: error: expected declaration specifiers or ‘...’ before ‘gfloat’
/usr/local/include/gtkextra/gtksheet.h:787: error: expected declaration specifiers or ‘...’ before ‘GtkWidget’
/usr/local/include/gtkextra/gtksheet.h:796: error: expected declaration specifiers or ‘...’ before ‘GtkWidget’
/usr/local/include/gtkextra/gtksheet.h:798: error: expected declaration specifiers or ‘...’ before ‘gfloat’
/usr/local/include/gtkextra/gtksheet.h:798: error: expected declaration specifiers or ‘...’ before ‘gfloat’
In file included from /usr/local/include/gtkextra/gtkextra.h:57,
from gtkstripchartcursorset.h:21,
from gtkstripchart.h:23,
from teststrip.c:16:
/usr/local/include/gtkextra/gtktogglecombo.h:41: error: bit-field ‘default_flag’ has invalid type
/usr/local/include/gtkextra/gtktogglecombo.h:43: error: field ‘nrows’ declared as a function
/usr/local/include/gtkextra/gtktogglecombo.h:44: error: field ‘ncols’ declared as a function
/usr/local/include/gtkextra/gtktogglecombo.h:45: error: field ‘row’ declared as a function
/usr/local/include/gtkextra/gtktogglecombo.h:46: error: field ‘column’ declared as a function
/usr/local/include/gtkextra/gtktogglecombo.h:48: error: expected specifier-qualifier-list before ‘GtkWidget’
/usr/local/include/gtkextra/gtktogglecombo.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_toggle_combo_get_type’
/usr/local/include/gtkextra/gtktogglecombo.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/gtkextra/gtktogglecombo.h:65: error: ‘gtk_toggle_combo_get_nrows’ declared as function returning a function
/usr/local/include/gtkextra/gtktogglecombo.h:66: error: ‘gtk_toggle_combo_get_ncols’ declared as function returning a function
In file included from gtkstripchartcursorset.h:24,
from gtkstripchart.h:23,
from teststrip.c:16:
gtkstripchartcursor.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GtkStripChartCursorList’
gtkstripchartcursor.h:51: error: field ‘x_position’ declared as a function
gtkstripchartcursor.h:52: error: expected specifier-qualifier-list before ‘gboolean’
gtkstripchartcursor.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_strip_chart_cursor_get_type’
gtkstripchartcursor.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gtkstripchartcursor.h:80: error: expected declaration specifiers or ‘...’ before ‘gboolean’
gtkstripchartcursor.h:86: warning: type defaults to ‘int’ in declaration of ‘gchar’
gtkstripchartcursor.h:86: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
gtkstripchartcursor.h:89: warning: type defaults to ‘int’ in declaration of ‘gchar’
gtkstripchartcursor.h:89: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
In file included from gtkstripchart.h:23,
from teststrip.c:16:
gtkstripchartcursorset.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GtkStripChartCursorSetList’
gtkstripchartcursorset.h:47: error: field ‘x_position’ declared as a function
gtkstripchartcursorset.h:48: error: expected specifier-qualifier-list before ‘gboolean’
gtkstripchartcursorset.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_strip_chart_cursor_set_get_type’
gtkstripchartcursorset.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gtkstripchartcursorset.h:84: error: expected declaration specifiers or ‘...’ before ‘gboolean’
gtkstripchartcursorset.h:95: error: expected declaration specifiers or ‘...’ before ‘gfloat’
gtkstripchartcursorset.h:96: warning: type defaults to ‘int’ in declaration of ‘GdkColor’
gtkstripchartcursorset.h:96: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
gtkstripchartcursorset.h:104: warning: type defaults to ‘int’ in declaration of ‘gchar’
gtkstripchartcursorset.h:104: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
gtkstripchartcursorset.h:107: warning: type defaults to ‘int’ in declaration of ‘gchar’
gtkstripchartcursorset.h:107: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
In file included from gtkstripchart.h:24,
from teststrip.c:16:
gtkstripchartlimit.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GtkStripChartLimitList’
gtkstripchartlimit.h:47: error: expected specifier-qualifier-list before ‘GdkColor’
gtkstripchartlimit.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_strip_chart_limit_get_type’
gtkstripchartlimit.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gtkstripchartlimit.h:69: error: expected declaration specifiers or ‘...’ before ‘GdkColor’
In file included from gtkstripchart.h:25,
from teststrip.c:16:
gtkstripchartstrip.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GtkStripChartStripList’
gtkstripchartstrip.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GtkPlotDataList’
gtkstripchartstrip.h:62: error: expected specifier-qualifier-list before ‘gboolean’
gtkstripchartstrip.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_strip_chart_strip_get_type’
gtkstripchartstrip.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from teststrip.c:16:
gtkstripchart.h:50: error: expected specifier-qualifier-list before ‘GtkStripChartStripList’
gtkstripchart.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_strip_chart_chart_get_type’
gtkstripchart.h:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gtkstripchart.h:122: error: expected declaration specifiers or ‘...’ before ‘GdkColor’
gtkstripchart.h:134: error: expected declaration specifiers or ‘...’ before ‘GdkColor’
gtkstripchart.h:139: error: expected declaration specifiers or ‘...’ before ‘GdkColor’
gtkstripchart.h:140: error: expected declaration specifiers or ‘...’ before ‘gboolean’
teststrip.c: In function ‘add_data’:
teststrip.c:27: warning: implicit declaration of function ‘g_new’
teststrip.c:27: error: expected expression before ‘gdouble’
teststrip.c:27: warning: assignment makes pointer from integer without a cast
teststrip.c:28: error: expected expression before ‘gdouble’
teststrip.c:28: warning: assignment makes pointer from integer without a cast
teststrip.c:30: error: lvalue required as left operand of assignment
teststrip.c:31: error: lvalue required as left operand of assignment
teststrip.c:32: error: lvalue required as left operand of assignment
teststrip.c:33: error: invalid operands to binary *
teststrip.c:34: error: invalid operands to binary /
teststrip.c:35: error: lvalue required as left operand of assignment
teststrip.c:38: error: subscripted value is pointer to function
teststrip.c:39: error: subscripted value is pointer to function
teststrip.c:40: error: lvalue required as left operand of assignment
teststrip.c:41: error: lvalue required as left operand of assignment
teststrip.c:42: error: lvalue required as left operand of assignment
teststrip.c: In function ‘main’:
teststrip.c:54: error: ‘GdkColor’ undeclared (first use in this function)
teststrip.c:54: error: (Each undeclared identifier is reported only once
teststrip.c:54: error: for each function it appears in.)
teststrip.c:54: error: expected ‘;’ before ‘color’
teststrip.c:55: error: ‘GtkWidget’ undeclared (first use in this function)
teststrip.c:55: error: ‘main_w’ undeclared (first use in this function)
teststrip.c:55: error: ‘vbox_w’ undeclared (first use in this function)
teststrip.c:55: warning: left-hand operand of comma expression has no effect
teststrip.c:55: error: ‘scroll_w’ undeclared (first use in this function)
teststrip.c:55: warning: left-hand operand of comma expression has no effect
teststrip.c:55: error: ‘chart_w’ undeclared (first use in this function)
teststrip.c:55: warning: left-hand operand of comma expression has no effect
teststrip.c:57: warning: implicit declaration of function ‘gtk_init’
teststrip.c:61: warning: implicit declaration of function ‘gtk_window_new’
teststrip.c:61: error: ‘GTK_WINDOW_TOPLEVEL’ undeclared (first use in this function)
teststrip.c:62: warning: implicit declaration of function ‘gtk_window_set_title’
teststrip.c:62: warning: implicit declaration of function ‘GTK_WINDOW’
teststrip.c:63: warning: implicit declaration of function ‘gtk_widget_set_usize’
teststrip.c:66: warning: implicit declaration of function ‘gtk_signal_connect’
teststrip.c:66: warning: implicit declaration of function ‘GTK_OBJECT’
teststrip.c:67: warning: implicit declaration of function ‘GTK_SIGNAL_FUNC’
teststrip.c:67: error: ‘gtk_main_quit’ undeclared (first use in this function)
teststrip.c:69: warning: implicit declaration of function ‘gtk_vbox_new’
teststrip.c:69: error: ‘FALSE’ undeclared (first use in this function)
teststrip.c:70: warning: implicit declaration of function ‘gtk_container_add’
teststrip.c:70: warning: implicit declaration of function ‘GTK_CONTAINER’
teststrip.c:71: warning: implicit declaration of function ‘gtk_widget_show’
teststrip.c:73: warning: implicit declaration of function ‘gtk_scrolled_window_new’
teststrip.c:74: warning: implicit declaration of function ‘gtk_container_border_width’
teststrip.c:75: warning: implicit declaration of function ‘gtk_scrolled_window_set_policy’
teststrip.c:75: warning: implicit declaration of function ‘GTK_SCROLLED_WINDOW’
teststrip.c:76: error: ‘GTK_POLICY_ALWAYS’ undeclared (first use in this function)
teststrip.c:77: warning: implicit declaration of function ‘gtk_box_pack_start’
teststrip.c:77: warning: implicit declaration of function ‘GTK_BOX’
teststrip.c:77: error: ‘TRUE’ undeclared (first use in this function)
teststrip.c:82: warning: implicit declaration of function ‘gtk_strip_chart_chart_new’
teststrip.c:83: warning: implicit declaration of function ‘gtk_scrolled_window_add_with_viewport’
teststrip.c:88: warning: implicit declaration of function ‘GTK_CHECK_CAST’
teststrip.c:88: warning: implicit declaration of function ‘gtk_strip_chart_chart_get_type’
teststrip.c:88: error: expected expression before ‘GtkStripChartChart’
teststrip.c:88: warning: assignment makes pointer from integer without a cast
teststrip.c:91: warning: implicit declaration of function ‘gdk_color_parse’
teststrip.c:91: error: ‘color’ undeclared (first use in this function)
teststrip.c:92: error: ‘GtkStripChartChart’ has no member named ‘override_symbol_border_color’
teststrip.c:93: error: ‘GtkStripChartChart’ has no member named ‘symbol’
teststrip.c:94: error: ‘GtkStripChartChart’ has no member named ‘symbol’
teststrip.c:95: error: ‘GtkStripChartChart’ has no member named ‘symbol’
teststrip.c:97: error: ‘GtkStripChartChart’ has no member named ‘title’
teststrip.c:103: error: incompatible type for argument 2 of ‘gtk_strip_chart_chart_set_range’
teststrip.c:103: error: incompatible type for argument 3 of ‘gtk_strip_chart_chart_set_range’
teststrip.c:106: error: incompatible type for argument 2 of ‘gtk_strip_chart_chart_add_limit’
teststrip.c:106: error: too many arguments to function ‘gtk_strip_chart_chart_add_limit’
teststrip.c:108: error: incompatible type for argument 2 of ‘gtk_strip_chart_chart_add_limit’
teststrip.c:108: error: too many arguments to function ‘gtk_strip_chart_chart_add_limit’
teststrip.c:110: error: incompatible type for argument 2 of ‘gtk_strip_chart_chart_add_limit’
teststrip.c:110: error: too many arguments to function ‘gtk_strip_chart_chart_add_limit’
teststrip.c:113: warning: passing argument 2 of ‘gtk_strip_chart_chart_set_xrange’ makes pointer from integer without a cast
teststrip.c:113: warning: passing argument 3 of ‘gtk_strip_chart_chart_set_xrange’ makes pointer from integer without a cast
teststrip.c:119: warning: implicit declaration of function ‘gtk_main’
make: *** [teststrip.o] Error 1


i have tried to find the older version also but i couldn't find. I am using ubuntu 8.04

Please help me .


Regards,

sunit verma
 
Old 02-04-2010, 04:52 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
'gstripchart-0.3.0' is old : 2002.

sudo apt-get install libgtk1.2-dev libgtkextra-dev gcc-3.3

cd /usr/lib/pkgconfig/
sudo cp gtk+.pc gtk.pc

cd /gstripchart-0.3.0/src/
make CC=gcc-3.3
.. will get you the most, but bugs will prevent
creation of the executable.

I would give up, and find something modern to make the plots.



An older package, binary, provides /usr/bin/gstripchart
but depends on very old files ( libdb1-compat etc.) :
http://rpm.pbone.net/index.php3/stat....i386.rpm.html
ftp://ftp.sunet.se/pub/os/Linux/dist....50-1.i386.rpm
> > gnome-utils-1.0.50-1.i386.rpm

The same, this is the old source code = src.rpm :
http://ftp.riken.go.jp/pub/Linux/red...1/en/os/SRPMS/
http://ftp.riken.go.jp/pub/Linux/red...0.50-1.src.rpm
> > gnome-utils-1.0.50-1.src.rpm
.....
 
Old 02-05-2010, 12:36 AM   #3
sunitverma
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
I need to show 3 graphs in stripchart format in gui. please suggest me what shall i do ?
 
Old 02-05-2010, 07:08 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
The Tux Search tool : http://www.google.com/linux

Keyword : .. stripchart format ..
http://www.google.com/linux?hl=en&q=...t+&btnG=Search

examples :
http://mail-archives.apache.org/mod_...chlogic.com%3E

http://linux.die.net/man/3/plplot ,,, may be plplot can do it :
:: plstripc: Create a 4-pen stripchart

sudo apt-get install plplot-tcl plplot-bin python-plplot
.. provides a broad selection of the plplot tools.
http://packages.ubuntu.com/hardy/plplot-tcl
.....
_____________________
If someone helps you out, please click the "Thanks" button.

Last edited by knudfl; 02-05-2010 at 07:21 AM.
 
Old 02-08-2010, 11:56 PM   #5
sunitverma
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
As i need to make gui in C, Can you please suggest me the same using C programing .



Regards,

sunit verma
 
Old 02-09-2010, 01:29 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Quote:
I need to make gui in C
For which application ? ?

.....
.....

About "plplot"
http://plplot.sourceforge.net/credits.php
( Please Google .. plplot gui .. )

Qt example ( may be ) :
http://www.mail-archive.com/plplot-d.../msg02809.html
.....
http://packages.debian.org/source/sid/plplot
.....
 
Old 02-10-2010, 12:58 AM   #7
sunitverma
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Actually i need to display the 3 axes accelerometer reading in gui in stripchart form .
and i was thinking if i can show the 3 axes reading with respect to time
 
Old 02-11-2010, 06:09 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Did you install plplot ?

Ref post # 4 and # 6.

.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04: Transparent proxy using squid working but block domain not working bleketux Linux - Networking 10 03-16-2009 07:41 AM
Working Grip 3.3.1 settings in Ubuntu 7.10 for FLAC with working meta info robocoop Linux - Software 0 04-06-2008 04:28 PM
media problem with .avi --- audio only in vlc working rest amarock ,etc. not working fedex Linux - Newbie 1 12-22-2007 09:06 AM
Fortemedia FM801 card not working under FC5 on Intel 845 but working with windows morningkiran Linux - Hardware 0 11-30-2006 08:57 AM
acpi nearly working IBM thinkpad R40e 2684HVG no Fn key working, throttling OK Emmanuel_uk Linux - Laptop and Netbook 2 05-31-2006 02:41 AM


All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration