AnsweredAssumed Answered

install error for iio oscillscope

Question asked by patil on Sep 9, 2017
Latest reply on Sep 11, 2017 by larsc

got error when  sudo make -j 4

 

In file included from //usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
                 from //usr/include/glib-2.0/glib/gtypes.h:34,
                 from //usr/include/glib-2.0/glib/galloca.h:34,
                 from //usr/include/glib-2.0/glib.h:32,
                 from //usr/include/glib-2.0/gobject/gbinding.h:30,
                 from //usr/include/glib-2.0/glib-object.h:25,
                 from //usr/include/glib-2.0/gio/gioenums.h:30,
                 from //usr/include/glib-2.0/gio/giotypes.h:30,
                 from //usr/include/glib-2.0/gio/gio.h:28,
                 from //usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from //usr/include/gtk-2.0/gdk/gdk.h:32,
                 from //usr/include/gtk-2.0/gtk/gtk.h:32,
                 from oscplot.c:8:
oscplot.c: In function ‘osc_plot_get_type’:
//usr/include/glib-2.0/glib/gmacros.h:162:53: error: typedef ‘_GStaticAssertCompileTimeAssertion_0’ locally defined but not used [-Werror=unused-local-typedefs]
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]

 

oscplot.c:402:1: note: in expansion of macro ‘G_DEFINE_TYPE’
 G_DEFINE_TYPE(OscPlot, osc_plot, GTK_TYPE_WIDGET)
 ^
cc1: all warnings being treated as errors
make: *** [oscplot.o] Error 1

Outcomes