[Link (Dynamic)]
/usr/bin/ld: wpiExtensions.o:(.bss+0x408): multiple definition of `comDat'; drcNet.o:(.bss+0x400): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:143: libwiringPi.so.2.46] Error 1
comDat looks like an incomplete typedef but it actually declares a global variable. Twice, since it's included both in wpiExtensions.c and drcNet.c, which makes the build fail.
Hello, This fixes the following build issue:
comDat
looks like an incomplete typedef but it actually declares a global variable. Twice, since it's included both inwpiExtensions.c
anddrcNet.c
, which makes the build fail.This removes the unneeded global var.