Error compiling Gimx in OrangePi in Debian 5.25

Discuss everything to do with GIMX here
Post Reply
wconrado
Posts: 7
Joined: Thu Dec 29, 2016 1:05 pm

Error compiling Gimx in OrangePi in Debian 5.25

Post by wconrado »

I have tried several different configurations but I can not get results until I created a swap partition but it still does not compile.
Always give the errors below.


root@orangepizero:/home/wagner/GIMX# make -j 4
make -C shared
make -C po
make[1]: Entering directory '/home/wagner/GIMX/shared'
make[1]: Entering directory '/home/wagner/GIMX/po'
make -C controller
make[1]: 'all' is up to date.
make[1]: Leaving directory '/home/wagner/GIMX/po'
make -C updater
make -C configupdater
make -C gasync
make[2]: Entering directory '/home/wagner/GIMX/shared/controller'
make[2]: Entering directory '/home/wagner/GIMX/shared/configupdater'
make[2]: Entering directory '/home/wagner/GIMX/shared/updater'
make[2]: Entering directory '/home/wagner/GIMX/shared/gasync'
make -C src/uhid UHID=1
make[3]: Entering directory '/home/wagner/GIMX/shared/gasync/src/uhid'
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/df_ps2.o src/df_ps2.c
g++ -fPIC -Wall -Wextra -s -O3 -c -o updater.o updater.cpp
g++ -fPIC -Wall -Wextra -s -O3 -c -o configupdater.o configupdater.cpp
cc -fPIC -Wall -Wextra -s -O3 -I../../include -I../ -c -o linux/uhidasync.o linux/uhidasync.c
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/gtf_ps2.o src/gtf_ps2.c
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/g27_ps3.o src/g27_ps3.c
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/dfp_ps2.o src/dfp_ps2.c
cc -I../../include -I../ -fPIC -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared linux/uhidasync.o -o libgimxuhid.so
make[3]: Leaving directory '/home/wagner/GIMX/shared/gasync/src/uhid'
make -C src/common UHID=1
make[3]: Entering directory '/home/wagner/GIMX/shared/gasync/src/common'
cc -fPIC -I.. -I../../include -c -o ../common/posix/async.o ../common/posix/async.c
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/g29_ps4.o src/g29_ps4.c
make[3]: Leaving directory '/home/wagner/GIMX/shared/gasync/src/common'
make -C src/prio UHID=1
make[3]: Entering directory '/home/wagner/GIMX/shared/gasync/src/prio'
cc -fPIC -Wall -Wextra -s -O3 -I../../include -I../ -c -o linux/gprio.o linux/gprio.c
cc -I../../include -I../ -fPIC -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared linux/gprio.o -o libgimxprio.so
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/joystick.o src/joystick.c
make[3]: Leaving directory '/home/wagner/GIMX/shared/gasync/src/prio'
make -C src/serial UHID=1
make[3]: Entering directory '/home/wagner/GIMX/shared/gasync/src/serial'
cc -fPIC -Wall -Wextra -s -O3 -I../../include -I../ -c -o posix/gserial.o posix/gserial.c
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/ds2.o src/ds2.c
cc -I../../include -I../ -fPIC -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared posix/gserial.o ../common/posix/async.o -o libgimxserial.so
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/t300rs_ps4.o src/t300rs_ps4.c
cc -Wall -Wextra -s -O3 -fPIC -Wall -Wextra -s -O3 -shared configupdater.o -o libgimxconfigupdater.so -lstdc++ `curl-config --libs`
make[3]: Leaving directory '/home/wagner/GIMX/shared/gasync/src/serial'
make -C src/timer UHID=1
make[3]: Entering directory '/home/wagner/GIMX/shared/gasync/src/timer'
cc -fPIC -Wall -Wextra -s -O3 -I../../include -I../ -c -o linux/gtimer.o linux/gtimer.c
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/xbox.o src/xbox.c
make[2]: Leaving directory '/home/wagner/GIMX/shared/configupdater'
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/ds4.o src/ds4.c
make -C src/usb UHID=1
make[3]: Entering directory '/home/wagner/GIMX/shared/gasync/src/usb'
cc -fPIC -Wall -Wextra -s -O3 -I../../include -I../ -c -o gusb.o gusb.c
cc -I../../include -I../ -fPIC -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared linux/gtimer.o -o libgimxtimer.so
cc -Wall -Wextra -s -O3 -fPIC -Wall -Wextra -s -O3 -shared updater.o -o libgimxupdater.so -lstdc++ `curl-config --libs`
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/controller.o src/controller.c
make[3]: Leaving directory '/home/wagner/GIMX/shared/gasync/src/timer'
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/xone.o src/xone.c
make[2]: Leaving directory '/home/wagner/GIMX/shared/updater'
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/ds3.o src/ds3.c
make -C src/hid UHID=1
make[3]: Entering directory '/home/wagner/GIMX/shared/gasync/src/hid'
cc -fPIC -Wall -Wextra -s -O3 -I../../include -I../ -c -o libusb/ghid.o libusb/ghid.c
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -c -o src/x360.o src/x360.c
cc -fPIC -Wall -Wextra -s -O3 -I../../include -I../ -c -o libusb/gusbhid.o libusb/gusbhid.c
make -C src/poll UHID=1
make[3]: Entering directory '/home/wagner/GIMX/shared/gasync/src/poll'
cc -fPIC -Wall -Wextra -s -O3 -I../../include -I../ -c -o posix/gpoll.o posix/gpoll.c
cc -fPIC -Iinclude -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared src/df_ps2.o src/gtf_ps2.o src/g27_ps3.o src/dfp_ps2.o src/g29_ps4.o src/joystick.o src/ds2.o src/t300rs_ps4.o src/xbox.o src/ds4.o src/controller.o src/xone.o src/ds3.o src/x360.o -o libgimxcontroller.so
make[2]: Leaving directory '/home/wagner/GIMX/shared/controller'
cc -I../../include -I../ -fPIC -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared posix/gpoll.o -o libgimxpoll.so
make[3]: Leaving directory '/home/wagner/GIMX/shared/gasync/src/poll'
cc -I../../include -I../ -fPIC -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared libusb/ghid.o libusb/gusbhid.o ../common/posix/async.o -o libgimxhid.so -lusb-1.0
make[3]: Leaving directory '/home/wagner/GIMX/shared/gasync/src/hid'
make -C src/input UHID=1
make[3]: Entering directory '/home/wagner/GIMX/shared/gasync/src/input'
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o queue.o queue.c
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o conversion.o conversion.c
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o ginput.o ginput.c
cc -I../../include -I../ -fPIC -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared gusb.o -o libgimxusb.so -lusb-1.0
make[3]: Leaving directory '/home/wagner/GIMX/shared/gasync/src/usb'
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o hid/steamcontroller.o hid/steamcontroller.c
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o hid/logitechwheel.o hid/logitechwheel.c
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o hid/hidinput.o hid/hidinput.c
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o linux/mkb.o linux/mkb.c
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o linux/events.o linux/events.c
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o linux/js.o linux/js.c
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o linux/keycodes.o linux/keycodes.c
cc -fPIC -DUHID -Wall -Wextra -s -O3 -I../../include -I../ -c -o linux/xinput.o linux/xinput.c
cc -I../../include -I../ -fPIC -DUHID -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared queue.o conversion.o ginput.o hid/steamcontroller.o hid/logitechwheel.o hid/hidinput.o linux/mkb.o linux/events.o linux/js.o linux/keycodes.o linux/xinput.o -o libgimxinput.so -L../hid -L../uhid -lgimxhid -lgimxuhid -lXi -lX11
make[3]: Leaving directory '/home/wagner/GIMX/shared/gasync/src/input'
make[2]: Leaving directory '/home/wagner/GIMX/shared/gasync'
make -C gpp
make -C configeditor
make[2]: Entering directory '/home/wagner/GIMX/shared/gpp'
make[2]: Entering directory '/home/wagner/GIMX/shared/configeditor'
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/Controller.o src/Controller.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/XmlWritter.o src/XmlWritter.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/Configuration.o src/Configuration.cpp
cc -fPIC -Iinclude -I../gasync/include -Wall -Wextra -s -O3 -c -o pcprog.o pcprog.c
cc -fPIC -Iinclude -I../gasync/include -Wall -Wextra -s -O3 -Wall -Wextra -s -O3 -shared pcprog.o -o libgimxgpp.so -L../gasync/src/hid -lgimxhid
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/ControlMapper.o src/ControlMapper.cpp
make[2]: Leaving directory '/home/wagner/GIMX/shared/gpp'
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/ConfigurationFile.o src/ConfigurationFile.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/MouseOptions.o src/MouseOptions.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/JoystickCorrections.o src/JoystickCorrections.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/Trigger.o src/Trigger.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/Intensity.o src/Intensity.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/Device.o src/Device.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/event_catcher.o src/event_catcher.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/Event.o src/Event.cpp
g++ -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -c -o src/XmlReader.o src/XmlReader.cpp
cc -Wall -Wextra -s -O3 -fPIC `xml2-config --cflags` -Iinclude -I../controller/include -I../gasync/include -Wall -Wextra -s -O3 -shared src/Controller.o src/XmlWritter.o src/Configuration.o src/ControlMapper.o src/ConfigurationFile.o src/MouseOptions.o src/JoystickCorrections.o src/Trigger.o src/Intensity.o src/Device.o src/event_catcher.o src/Event.o src/XmlReader.o -o libgimxconfigeditor.so -lstdc++ -L../gasync/src/hid -L../gasync/src/input -L../gasync/src/timer -L../gasync/src/poll -L../controller `xml2-config --libs` -lgimxhid -lgimxinput -lgimxtimer -lgimxpoll -lgimxcontroller
make[2]: Leaving directory '/home/wagner/GIMX/shared/configeditor'
make[1]: Leaving directory '/home/wagner/GIMX/shared'
make -C utils
make -C core
make -C config
make -C launcher
make[1]: Entering directory '/home/wagner/GIMX/config'
make[1]: Entering directory '/home/wagner/GIMX/launcher'
make[1]: Entering directory '/home/wagner/GIMX/utils'
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gasync/include -c -o ds4tool.o ds4tool.c
make[1]: Entering directory '/home/wagner/GIMX/core'
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gpp -I../shared/controller/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include `xml2-config --cflags` -Iinclude -Iconnectors/btstack/include -Iconnectors/btstack/src -c -o gimx.o gimx.c
g++ -Wall -Wextra -s -O3 `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs -I../shared/configeditor/include -I../shared/controller/include -I../shared/updater -c -o gimx-config.o gimx-config.cpp
g++ -Wall -Wextra -s -O3 `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs -I../shared/configeditor/include -I../shared/controller/include -I../shared/updater -I../shared/configupdater -I../shared/gasync/include -I../shared/gpp -I../shared/gasync/include -c -o gimx-launcher.o gimx-launcher.cpp
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gasync/include -c -o sixaddr.o sixaddr.c
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gpp -I../shared/controller/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include `xml2-config --cflags` -Iinclude -Iconnectors/btstack/include -Iconnectors/btstack/src -c -o config_reader.o config_reader.c
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gasync/include -c -o linux/bdaddr.o linux/bdaddr.c
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gasync/include -c -o linux/oui.o linux/oui.c
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gasync/include -c -o linux/hcirevision.o linux/hcirevision.c
cc -L../shared/gasync/src/poll -L../shared/gasync/src/usb ds4tool.o -lgimxpoll -lgimxusb -o ds4tool
cc -L../shared/gasync/src/poll -L../shared/gasync/src/usb sixaddr.o -lgimxpoll -lgimxusb -o sixaddr
cc linux/bdaddr.o linux/oui.o -o bdaddr -lbluetooth
cc linux/hcirevision.o -o hcirevision -lbluetooth
make[1]: Leaving directory '/home/wagner/GIMX/utils'
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gpp -I../shared/controller/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include `xml2-config --cflags` -Iinclude -Iconnectors/btstack/include -Iconnectors/btstack/src -c -o config.o config.c
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gpp -I../shared/controller/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include `xml2-config --cflags` -Iinclude -Iconnectors/btstack/include -Iconnectors/btstack/src -c -o display.o display.c
make -C fpsconfig
make[1]: Entering directory '/home/wagner/GIMX/fpsconfig'
g++ -Wall -Wextra -s -O3 `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs -I../shared/configeditor/include -I../shared/controller/include -I../shared/updater -c -o gimx-fpsconfig.o gimx-fpsconfig.cpp
cc -Wall -Wextra -s -O3 -DUHID -I../shared/gasync/include -I../shared/gpp -I../shared/controller/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include -I../shared/gasync/include `xml2-config --cflags` -Iinclude -Iconnectors/btstack/include -Iconnectors/btstack/src -c -o log.o log.c
log.c: In function ‘print_version’:
log.c:15:40: error: ‘INFO_ARCH’ undeclared (first use in this function)
printf("GIMX %s %s\n", INFO_VERSION, INFO_ARCH);
^
log.c:15:40: note: each undeclared identifier is reported only once for each function it appears in
<builtin>: recipe for target 'log.o' failed
make[1]: *** [log.o] Error 1
make[1]: Leaving directory '/home/wagner/GIMX/core'
Makefile:15: recipe for target 'build-core' failed
make: *** [build-core] Error 2
make: *** Waiting for unfinished jobs....
g++ -Wall -Wextra -s -O3 `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs -I../shared/configeditor/include -I../shared/controller/include -I../shared/updater -c -o fpsconfigApp.o fpsconfigApp.cpp
In file included from /usr/include/wx-3.0/wx/version.h:16:0,
from /usr/include/wx-3.0/wx/defs.h:193,
from /usr/include/wx-3.0/wx/wxprec.h:12,
from ./wx_pch.h:6,
from <command-line>:0:
gimx-launcher.cpp: In member function ‘void launcherFrame::OnAbout(wxCommandEvent&)’:
/usr/include/wx-3.0/wx/chartype.h:238:44: error: ‘LINFO_ARCH’ was not declared in this scope
#define wxT(x) wxCONCAT_HELPER(L, x)
^
/usr/include/wx-3.0/wx/cpp.h:18:37: note: in definition of macro ‘wxCONCAT_HELPER’
#define wxCONCAT_HELPER(text, line) text ## line
^
gimx-launcher.cpp:1078:69: note: in expansion of macro ‘wxT’
info.SetVersion(wxT(INFO_VERSION) + wxString(wxT(" ")) + wxString(wxT(INFO_ARCH)));
^
gimx-launcher.cpp: In member function ‘void launcherFrame::OnMenuUpdate(wxCommandEvent&)’:
gimx-launcher.cpp:1616:57: error: ‘DOWNLOAD_URL’ was not declared in this scope
u->SetParams(VERSION_URL, VERSION_FILE, INFO_VERSION, DOWNLOAD_URL, DOWNLOAD_FILE);
^
In file included from /usr/include/wx-3.0/wx/version.h:16:0,
from /usr/include/wx-3.0/wx/defs.h:193,
from /usr/include/wx-3.0/wx/wxprec.h:12,
from ./wx_pch.h:6,
from <command-line>:0:
gimx-config.cpp: In member function ‘void configFrame::OnAbout(wxCommandEvent&)’:
/usr/include/wx-3.0/wx/chartype.h:238:44: error: ‘LINFO_ARCH’ was not declared in this scope
#define wxT(x) wxCONCAT_HELPER(L, x)
^
/usr/include/wx-3.0/wx/cpp.h:18:37: note: in definition of macro ‘wxCONCAT_HELPER’
#define wxCONCAT_HELPER(text, line) text ## line
^
gimx-config.cpp:1471:69: note: in expansion of macro ‘wxT’
info.SetVersion(wxT(INFO_VERSION) + wxString(wxT(" ")) + wxString(wxT(INFO_ARCH)));
^
gimx-config.cpp: In member function ‘void configFrame::OnMenuUpdate(wxCommandEvent&)’:
gimx-config.cpp:3557:57: error: ‘DOWNLOAD_URL’ was not declared in this scope
u->SetParams(VERSION_URL, VERSION_FILE, INFO_VERSION, DOWNLOAD_URL, DOWNLOAD_FILE);
^
<builtin>: recipe for target 'gimx-launcher.o' failed
make[1]: *** [gimx-launcher.o] Error 1
make[1]: Leaving directory '/home/wagner/GIMX/launcher'
Makefile:15: recipe for target 'build-launcher' failed
make: *** [build-launcher] Error 2
g++ -Wall -Wextra -s -O3 `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs -I../shared/configeditor/include -I../shared/controller/include -I../shared/updater -c -o background.png.o background.png.cpp
In file included from /usr/include/wx-3.0/wx/version.h:16:0,
from /usr/include/wx-3.0/wx/defs.h:193,
from /usr/include/wx-3.0/wx/wxprec.h:12,
from ./wx_pch.h:6,
from <command-line>:0:
gimx-fpsconfig.cpp: In member function ‘void fpsconfigFrame::OnAbout(wxCommandEvent&)’:
/usr/include/wx-3.0/wx/chartype.h:238:44: error: ‘LINFO_ARCH’ was not declared in this scope
#define wxT(x) wxCONCAT_HELPER(L, x)
^
/usr/include/wx-3.0/wx/cpp.h:18:37: note: in definition of macro ‘wxCONCAT_HELPER’
#define wxCONCAT_HELPER(text, line) text ## line
^
gimx-fpsconfig.cpp:579:69: note: in expansion of macro ‘wxT’
info.SetVersion(wxT(INFO_VERSION) + wxString(wxT(" ")) + wxString(wxT(INFO_ARCH)));
^
g++ -Wall -Wextra -s -O3 `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs -I../shared/configeditor/include -I../shared/controller/include -I../shared/updater -c -o configApp.o configApp.cpp
gimx-fpsconfig.cpp: In member function ‘void fpsconfigFrame::OnMenuUpdate(wxCommandEvent&)’:
gimx-fpsconfig.cpp:1979:57: error: ‘DOWNLOAD_URL’ was not declared in this scope
u->SetParams(VERSION_URL, VERSION_FILE, INFO_VERSION, DOWNLOAD_URL, DOWNLOAD_FILE);
^
<builtin>: recipe for target 'gimx-config.o' failed
make[1]: *** [gimx-config.o] Error 1
make[1]: *** Waiting for unfinished jobs....
<builtin>: recipe for target 'gimx-fpsconfig.o' failed
make[1]: *** [gimx-fpsconfig.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/wagner/GIMX/fpsconfig'
Makefile:15: recipe for target 'build-fpsconfig' failed
make: *** [build-fpsconfig] Error 2
make[1]: Leaving directory '/home/wagner/GIMX/config'
Makefile:15: recipe for target 'build-config' failed
make: *** [build-config] Error 2
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Error compiling Gimx in OrangePi in Debian 5.25

Post by Matlo »

Define DOWNLOAD_URL in shared/updater/updater.h, and INFO_ARCH in info.h.
GIMX creator
fishe972
Posts: 8
Joined: Wed Aug 10, 2016 2:30 pm

Re: Error compiling Gimx in OrangePi in Debian 5.25

Post by fishe972 »

You have to replace
18 #ifdef __ARM_ARCH_6__
19 #define INFO_ARCH "ARMv6"
20 #endif

by
18 #ifdef __arm__
19 #define INFO_ARCH "arm"
20 #endif
.
In info.h for opi
and
18 #ifdef __aarch64__
19 #define INFO_ARCH "aarch64"
20 #endif
for opi pc2 and others h5 bord .

do the same replace ARM_ARCH_6__ in shared/updater/updater.h .
do the same also in launcher/gimx-launcher.cpp .
Don t Forget to Install pkg-config . As with it missing You Will have compilation error.
Hope This Will help .
Post Reply