Building Megatunix on ARM A20 Fedora 18
Posted: Fri Feb 06, 2015 10:08 pm
Hi,
I'm trying to build Megatunix on an A20 based media player I've installed Fedora 18 on. I've met all the dependencies in configure and the make seems to get a fair way through until:
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../widgets -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -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_=23 -D_VER_SUFFIX_=\"\" -Wall -Wextra -Wno-unused -pedantic -Wall -Wextra -Wno-unused -pedantic -O2 -MT mtxloader.o -MD -MP -MF .deps/mtxloader.Tpo -c -o mtxloader.o mtxloader.c
In file included from mtxloader.c:8:0:
/usr/include/glib-2.0/glib/gstring.h:28:2: error: #error "Only <glib.h> can be included directly."
make[2]: *** [mtxloader.o] Error 1
make[2]: Leaving directory `/home/lukep/megatunix-0.9.23/msloader'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lukep/megatunix-0.9.23'
make: *** [all] Error 2
Any pointers?
I'm trying to build Megatunix on an A20 based media player I've installed Fedora 18 on. I've met all the dependencies in configure and the make seems to get a fair way through until:
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../widgets -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -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_=23 -D_VER_SUFFIX_=\"\" -Wall -Wextra -Wno-unused -pedantic -Wall -Wextra -Wno-unused -pedantic -O2 -MT mtxloader.o -MD -MP -MF .deps/mtxloader.Tpo -c -o mtxloader.o mtxloader.c
In file included from mtxloader.c:8:0:
/usr/include/glib-2.0/glib/gstring.h:28:2: error: #error "Only <glib.h> can be included directly."
make[2]: *** [mtxloader.o] Error 1
make[2]: Leaving directory `/home/lukep/megatunix-0.9.23/msloader'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lukep/megatunix-0.9.23'
make: *** [all] Error 2
Any pointers?