Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile failure with Error 1 #27

Open
nickm324 opened this issue Sep 27, 2020 · 1 comment
Open

Compile failure with Error 1 #27

nickm324 opened this issue Sep 27, 2020 · 1 comment

Comments

@nickm324
Copy link

Compiling on a Raspberry Pi 3B. When I run make new I get the following error. Is there some dependencies or something I need to install before trying to compile?

cc -Wall -g -O3 -DF_CPU=16000000 -include config.h -I. -DPLAT_LINUX -o grbl_sim.exe grbl_interface.o ../protocol.o ../planner.o ../settings.o ../print.o ../nuts_bolts.o ../stepper.o ../gcode.o ../spindle_control.o ../motion_control.o ../limits.o ../coolant_control.o ../probe.o ../system.o ../jog.o ../main.o ../serial.o ../report.o main.o simulator.o serial.o util/delay.o util/floatunsisf.o platform_LINUX.o system_declares.o avr/interrupt.o avr/pgmspace.o avr/io.o avr/eeprom.o grbl_eeprom_extensions.o -lm -lrt -pthread
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/8/libgcc.a(_arm_addsubsf3.o): in function __aeabi_ui2f': (.text+0x19c): multiple definition of __floatunsisf'; util/floatunsisf.o:/home/pi/grbl/grbl/grbl-sim/util/floatunsisf.c:3: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:56: main] Error 1

@IcebergM
Copy link

I compiling on Windows。When I run ---mingw32-make

-Wall -g -O3 -DF_CPU=16000000 -include config.h -I. -DPLAT_WINDOWS -c grbl_interface.c -o grbl_interface.o
process_begin: CreateProcess(NULL, cc -Wall -g -O3 -DF_CPU=16000000 -include config.h -I. -DPLAT_WINDOWS -c grbl_interface.c -o grbl_interface.o, ...) failed.
make (e=2): 系统找不到指定的文件。
Makefile:64: recipe for target 'grbl_interface.o' failed
mingw32-make: *** [grbl_interface.o] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants