I am starting from a base install of Arch Linux on a Raspberry Pi 3. After installing base-develxorgbluezbluez-libz for dependence issues upon initial compilation I was able to get make to give me an error that wasn't actually due to dependencies.
Here is my output from make complaining about versions
> make[1]: Entering directory '/home/alarm/GIMX/utils'
> cc -Wall -Wextra -O3 -DUHID -I../shared -c -o ds4tool.o ds4tool.c
> cc -L../shared/gimxpoll -L../shared/gimxusb ds4tool.o -lgimxpoll -lgimxusb -o ds4tool
> cc -Wall -Wextra -O3 -DUHID -I../shared -c -o sixaddr.o sixaddr.c
> cc -L../shared/gimxpoll -L../shared/gimxusb sixaddr.o -lgimxpoll -lgimxusb -o sixaddr
> cc -Wall -Wextra -O3 -DUHID -I../shared -c -o linux/bdaddr.o linux/bdaddr.c
> cc -Wall -Wextra -O3 -DUHID -I../shared -c -o linux/oui.o linux/oui.c
> cc linux/bdaddr.o linux/oui.o -o bdaddr -lbluetooth
> cc -Wall -Wextra -O3 -DUHID -I../shared -c -o linux/hcirevision.o linux/hcirevision.c
> cc linux/hcirevision.o -o hcirevision -lbluetooth
> make[1]: Leaving directory '/home/alarm/GIMX/utils'
> make -C core
> make[1]: Entering directory '/home/alarm/GIMX/core'
> cc -Wall -Wextra -O3 -DUHID -I../shared `xml2-config --cflags` -Iinclude -Iconnectors/btstack/include -Iconnectors/btstack/src -c -o gimx.o gimx.c
> cc -Wall -Wextra -O3 -DUHID -I../shared `xml2-config --cflags` -Iinclude -Iconnectors/btstack/include -Iconnectors/btstack/src -c -o config_reader.o config_reader.c
> cc -Wall -Wextra -O3 -DUHID -I../shared `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); did you mean 'INFO_H_'?
> printf("GIMX %s %s\n", INFO_VERSION, INFO_ARCH);
> ^~~~~~~~~
> INFO_H_
> log.c:15:40: note: each undeclared identifier is reported only once for each function it appears in
> make[1]: *** [<builtin>: log.o] Error 1
> make[1]: Leaving directory '/home/alarm/GIMX/core'
> make: *** [Makefile:15: build-core] Error 2
>
I am starting from a base install of Arch Linux on a Raspberry Pi 3. After installing
base-devel
xorg
bluez
bluez-libz
for dependence issues upon initial compilation I was able to getmake
to give me an error that wasn't actually due to dependencies.Here is my output from
make
complaining about versions