Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Megatunix compile errors, error expected =, etc before gchar
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
PM17E5
Apprentice
Apprentice


Joined: 10 Feb 2009
Posts: 230

PostPosted: Tue Oct 11, 2011 11:18 pm    Post subject: Megatunix compile errors, error expected =, etc before gchar Reply with quote

I'm not sure where else go for support for this other than sending emails to random people on the developer list on Sourceforge. There's no forum, bugs tracking, or similar errors from other users based on my attempts to find them on google. If someone could please try to help me out I would greatly appreciate it. The project is:

http://sourceforge.net/projects/megatunix/

There's even ebuild attempts in bugzilla back from 2005, and also an ebuild in portage overlay for the latest release along with a 9999 version which I'm guessing pulls from cvs:

http://gpo.zugaina.org/app-misc/megatunix/euscan

I tried both, including downloading and manually compiling the package from the sourceforge project page. All versions and attempts result with this same error:

Code:
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ./gauge.h:19,
                 from gauge.c:31:
/usr/include/atk-1.0/atk/atkimage.h:56:3: error: expected specifier-qualifier-list before 'G_CONST_RETURN'
/usr/include/atk-1.0/atk/atkimage.h:70:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
/usr/include/atk-1.0/atk/atkimage.h:83:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
In file included from /usr/include/atk-1.0/atk/atk.h:40:0,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:40,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ./gauge.h:19,
                 from gauge.c:31:
/usr/include/atk-1.0/atk/atkrelation.h:64:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
In file included from /usr/include/atk-1.0/atk/atk.h:47:0,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:40,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ./gauge.h:19,
                 from gauge.c:31:
/usr/include/atk-1.0/atk/atkstreamablecontent.h:61:3: error: expected specifier-qualifier-list before 'G_CONST_RETURN'
/usr/include/atk-1.0/atk/atkstreamablecontent.h:95:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
In file included from /usr/include/atk-1.0/atk/atk.h:48:0,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:40,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ./gauge.h:19,
                 from gauge.c:31:
/usr/include/atk-1.0/atk/atktable.h:72:3: error: expected specifier-qualifier-list before 'G_CONST_RETURN'
/usr/include/atk-1.0/atk/atktable.h:166:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
/usr/include/atk-1.0/atk/atktable.h:171:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
make[2]: *** [gauge.lo] Error 1
make[2]: Leaving directory `/root/megatunix-0.9.23/widgets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/megatunix-0.9.23'
make: *** [all] Error 2
Back to top
View user's profile Send private message
PM17E5
Apprentice
Apprentice


Joined: 10 Feb 2009
Posts: 230

PostPosted: Wed Oct 19, 2011 3:03 am    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
Weaselweb
n00b
n00b


Joined: 17 Oct 2004
Posts: 74
Location: Chemnitz, Germany

PostPosted: Wed Jan 11, 2012 3:43 pm    Post subject: Reply with quote

G_CONST_RETURN is deprecated in newer glib version (I noticed it with 2.30.2).
So the code using it must either avoid it or undefine G_DISABLE_DEPRECATED upon compilation as a workaround.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum