Open bodtx opened 6 years ago
same here
This can be resolved by adding -fPIC in the CFLAGS in the Makefile for wiringPi:
CFLAGS += $(DEBUG) $(DEFS) -Wformat=2 -Wall -Winline $(INCLUDE) -pipe -fPIC
Same error with your line
rzeldent solution works for me if I deleted the already complied *.o files.
cd gpio
rm *.o
cd ..
./build
Hi, I'm trying to build on my OPIZ
here is the PI:
here is the log
I tried to add -fPIC flag in gpio/Makefile with no success
@$(CC) -o $@ $(OBJ) $(LDFLAGS) -fPIC $(LIBS)