We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not sure why it worked before -- building on debian 12 I see:
gcc -o ADT7301 ./Demo/Demo_ADT7301/ADT7301.c -L ./BBBio_lib/ -liobb gcc -o SevenScan ./Demo/Demo_SevenScan/SevenScan.c -L ./BBBio_lib/ -liobb gcc -o SMOTOR ./Demo/Demo_ServoMotor/ServoMotor.c -L ./BBBio_lib/ -liobb /usr/bin/ld: ./BBBio_lib//libiobb.a(BBBiolib_PWMSS.o):(.bss+0x0): multiple definition of `cm_per_addr'; ./BBBio_lib//libiobb.a(BBBiolib.o):(.bss+0x1c): first defined here
Looking at the coding style, its a good idea to not have externs in C files but have them all in header files that are included.
The following patch solves the problem:
cm_per_addr.patch.txt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not sure why it worked before -- building on debian 12 I see:
gcc -o ADT7301 ./Demo/Demo_ADT7301/ADT7301.c -L ./BBBio_lib/ -liobb
gcc -o SevenScan ./Demo/Demo_SevenScan/SevenScan.c -L ./BBBio_lib/ -liobb
gcc -o SMOTOR ./Demo/Demo_ServoMotor/ServoMotor.c -L ./BBBio_lib/ -liobb
/usr/bin/ld: ./BBBio_lib//libiobb.a(BBBiolib_PWMSS.o):(.bss+0x0): multiple definition of `cm_per_addr'; ./BBBio_lib//libiobb.a(BBBiolib.o):(.bss+0x1c): first defined here
Looking at the coding style, its a good idea to not have externs in C files but have them all in header files that are included.
The following patch solves the problem:
cm_per_addr.patch.txt
The text was updated successfully, but these errors were encountered: