Compile Error on latest git (SOLVED)

Questions specific to Megatunix - alternate tuning software that runs on unix and windows.
Note that Megatunix is obsolete.

Moderator: djandruczyk

Post Reply
woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Compile Error on latest git (SOLVED)

Post by woza »

Latest git 0.4 modular. OS X 10.6.6. Macports up to date. Previously compiled just fine. Thanks.

Code: Select all

gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../widgets -I../mtxmatheval -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -D_REENTRANT -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/atk-1.0 -D_REENTRANT -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -O0 -DMTXPLUGINDIR=\"/usr/local/share/MegaTunix/plugins\" -DLOCALEDIR=\"/usr/local/share/MegaTunix/locale\" -DDATA_DIR=\"/usr/local/share/MegaTunix\" -DSNAPSHOTS_DATA_DIR=\"ecu_snapshots\" -DLOOKUPTABLES_DATA_DIR=\"LookupTables\" -DINTERROGATOR_DATA_DIR=\"Interrogator\"  -DGUI_DATA_DIR=\"Gui\" -DGAUGES_DATA_DIR=\"Gauges\" -DDASHES_DATA_DIR=\"Dashboards\" -DGAUGEDESIGNER_GLADE_DIR=\"gaugedesigner\" -DDASHDESIGNER_GLADE_DIR=\"dashdesigner\" -DREALTIME_MAPS_DATA_DIR=\"RealtimeMaps\" -DRTSLIDERS_DATA_DIR=\"RuntimeSliders\" -DRTTEXT_DATA_DIR=\"RuntimeText\" -DRTSTATUS_DATA_DIR=\"RuntimeStatus\" -DGTK_DISABLE_COMPAT_H -D_MAJOR_=0 -D_MINOR_=9 -D_MICRO_=24 -D_VER_SUFFIX_=\"modular_0.4\"    -g -DDEBUG  -Wall  -O0 -MT gui_handlers.o -MD -MP -MF .deps/gui_handlers.Tpo -c -o gui_handlers.o gui_handlers.c
gui_handlers.c: In function ‘std_button_handler’:
gui_handlers.c:656: error: ‘select_for’ declared as function returning a function
make[3]: *** [gui_handlers.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Last edited by woza on Thu Mar 03, 2011 11:12 am, edited 1 time in total.
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Compile Error on latest git

Post by djandruczyk »

woza wrote:Latest git 0.4 modular. OS X 10.6.6. Macports up to date. Previously compiled just fine. Thanks.

Code: Select all

gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../widgets -I../mtxmatheval -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -D_REENTRANT -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/atk-1.0 -D_REENTRANT -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -O0 -DMTXPLUGINDIR=\"/usr/local/share/MegaTunix/plugins\" -DLOCALEDIR=\"/usr/local/share/MegaTunix/locale\" -DDATA_DIR=\"/usr/local/share/MegaTunix\" -DSNAPSHOTS_DATA_DIR=\"ecu_snapshots\" -DLOOKUPTABLES_DATA_DIR=\"LookupTables\" -DINTERROGATOR_DATA_DIR=\"Interrogator\"  -DGUI_DATA_DIR=\"Gui\" -DGAUGES_DATA_DIR=\"Gauges\" -DDASHES_DATA_DIR=\"Dashboards\" -DGAUGEDESIGNER_GLADE_DIR=\"gaugedesigner\" -DDASHDESIGNER_GLADE_DIR=\"dashdesigner\" -DREALTIME_MAPS_DATA_DIR=\"RealtimeMaps\" -DRTSLIDERS_DATA_DIR=\"RuntimeSliders\" -DRTTEXT_DATA_DIR=\"RuntimeText\" -DRTSTATUS_DATA_DIR=\"RuntimeStatus\" -DGTK_DISABLE_COMPAT_H -D_MAJOR_=0 -D_MINOR_=9 -D_MICRO_=24 -D_VER_SUFFIX_=\"modular_0.4\"    -g -DDEBUG  -Wall  -O0 -MT gui_handlers.o -MD -MP -MF .deps/gui_handlers.Tpo -c -o gui_handlers.o gui_handlers.c
gui_handlers.c: In function ‘std_button_handler’:
gui_handlers.c:656: error: ‘select_for’ declared as function returning a function
make[3]: *** [gui_handlers.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

fixed and pushed..
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: Compile Error on latest git

Post by woza »

Solved. Thanks
Post Reply