Compiling on Windows 10 installation

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
Mats_H
Posts: 1
Joined: 18 Dec 2017 12:46

Compiling on Windows 10 installation

Post by Mats_H » 18 Dec 2017 17:17

I have problems with compiling (or maybe linking).
I currently run Arduino 1.8.5 and Z-Uno 2.1.1, but have also tried other versions with similar result.

A simple program like this:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
delay(1000);
}

Gives error and: ?ASlink-Warning-Undefined Global '_delay' referenced by module 'sketch_dec18a_ucxx'

The full compilator error message is below:

Any advice is apreciated
Regards
/Mats



Arduino:1.8.5 (Windows 10), Kort:"Z-Wave>ME Z-Uno, Russian, Disabled, Disabled, Disabled, Disabled"

************* Building Arduino Sketch *************

C:\Users\MATS~1.HAN\AppData\Local\Temp\arduino_build_898007/sketch_dec18a.ino

***************************************************



*** Collecting prototypes...

Preprocessing file: Custom.c with SDCPP...



Preprocessing file: sketch_dec18a.cpp with SDCPP...

Compiling sketch_dec18a_sdcpp_.cpp ...

Preprocessing file: sketch_dec18a.cpp with SDCPP...

Compiling sketch_dec18a_sdcpp_.cpp ...Compiling file "LLCore_arduino.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\MATS~1.HAN\AppData\Local\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.50\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\MATS~1.HAN\AppData\Local\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.50\ZUNO_T~1/sdcc/\bin\..\include" "LLCore_arduino.c"

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "LLCore_arduino.rel" "LLCore_arduino".asm

Compiling file "sketch_dec18a_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\MATS~1.HAN\AppData\Local\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.50\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\MATS~1.HAN\AppData\Local\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.50\ZUNO_T~1/sdcc/\bin\..\include" "sketch_dec18a_ucxx.c"

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "sketch_dec18a_ucxx.rel" "sketch_dec18a_ucxx".asm



?ASlink-Warning-Undefined Global '_delay' referenced by module 'sketch_dec18a_ucxx'

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\MATS~1.HAN\AppData\Local\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.50\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\MATS~1.HAN\AppData\Local\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.50\ZUNO_T~1/sdcc/\bin\..\include" "main.c"

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "main.rel" "main".asm

sdcc: Calling linker...

sdcc: sdld.exe -nf "main.lk"

Error. SDCC returned: 1



exit status 1
Error compiling for board Z-Wave>ME Z-Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Post Reply