Dewb / monome-rack

VCV Rack plugin for monome Eurorack modules
GNU General Public License v2.0
225 stars 13 forks source link

build fail with latest pull #52

Closed davephillips closed 3 years ago

davephillips commented 3 years ago

Ubuntu 18.04 Linux 1.x dev

Hi Michael !

The problem:

make[1]: Entering directory '/home/dlphilp/src/Rack/plugins-extra/monome-rack/firmware'
cc -DNULL=0 -o0 -D__AVR32_UC3B0256__ -fPIC -g -Werror=implicit-function-declaration -Imock_hardware -Imock_hardware/stubs -Iwhitewhale/libavr32/src -Iwhitewhale/libavr32/src/usb/midi -Iwhitewhale/libavr32/src/usb/hid -Iwhitewhale/libavr32/src/usb/cdc -Iwhitewhale/libavr32/asf/common/services/usb -Iwhitewhale/libavr32/asf/common/services/usb/uhc -Iwhitewhale/libavr32/conf -Iwhitewhale/libavr32/conf/trilogy  -std=c99 -c -o ../build/firmware/whitewhale/mock_hardware/mock_hardware.c.o mock_hardware/mock_hardware.c
mock_hardware/mock_hardware.c: In function ‘hardware_iiPushMessage’:
mock_hardware/mock_hardware.c:510:9: error: implicit declaration of function ‘memcpy_s’; did you mean ‘memcpy’? [-Werror=implicit-function-declaration]
         memcpy_s(iiMessageBuffer[iiMessageBufferIndex].data, II_MAX_DATA, data, length);
         ^~~~~~~~
         memcpy
cc1: some warnings being treated as errors
whitewhale.mk:60: recipe for target '../build/firmware/whitewhale/mock_hardware/mock_hardware.c.o' failed
make[1]: *** [../build/firmware/whitewhale/mock_hardware/mock_hardware.c.o] Error 1
make[1]: Leaving directory '/home/dlphilp/src/Rack/plugins-extra/monome-rack/firmware'
Makefile:42: recipe for target 'firmwares' failed
make: *** [firmwares] Error 2

Any suggestions ?

Dewb commented 3 years ago

I assume you were building tt2020? FYI there's no need to build or report issues with my WIP branches, the teletype module is in the main branch now. Going forward I'll be switching to feature branches exclusively so this will be more obvious, and also all branches will have CI so the build status of each branch will be apparent.