PCA9685 icon indicating copy to clipboard operation
PCA9685 copied to clipboard

Multiple definitions error

Open Matttiz opened this issue 4 years ago • 1 comments

Hey, I have some problems with compile this project. After command make I received this comment from console

gcc -o RunServoDemo obj/RunServoDemo.o obj/bcm283x_board_driver.o obj/sccb_bus.o obj/PCA9685_servo_driver.o -Wall -pthread -lm -g
/usr/bin/ld: obj/bcm283x_board_driver.o:/home/matti/PCA9685/src/bcm283x_board_driver.h:93: multiple definition of `gpio'; obj/RunServoDemo.o:/home/matti/PCA9685/src/bcm283x_board_driver.h:93: first defined here

I tried to find some information about it, but I didn't find helpful information.

Matttiz avatar Jan 22 '22 20:01 Matttiz

Does it work with the makefile?

surak avatar May 27 '22 17:05 surak