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
I followed the steps from the installation guide:
$> make mkdir obj gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/exceptions.c.o -MTobj/exceptions.c.o -MFobj/exceptions.c.d -MMD -MP ../common/exceptions.c gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/ini_parser.c.o -MTobj/ini_parser.c.o -MFobj/ini_parser.c.d -MMD -MP ../common/ini_parser.c In file included from ../common/ini_parser.c:1: ../common/ini_parser.c: In function ‘ini_load’: ../common/ini_parser.c:10:33: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 239 [-Wformat-truncation=] 10 | #define ERR_INI_UNKNOWN_SECTION "Unknown section \"%s\" in \"%s\"" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/exceptions.h:28:49: note: in definition of macro ‘PANIC_WITH_DEFER’ 28 | snprintf(exc_message, EXC_MESSAGE_SIZE, __VA_ARGS__);\ | ^~~~~~~~~~~ ../common/ini_parser.c:57:50: note: in expansion of macro ‘ERR_INI_UNKNOWN_SECTION’ 57 | PANIC_WITH_DEFER(ERR_INI_UNKNOWN_SECTION, | ^~~~~~~~~~~~~~~~~~~~~~~ ../common/ini_parser.c:10:52: note: format string is defined here 10 | ERR_INI_UNKNOWN_SECTION "Unknown section \"%s\" in \"%s\"" | ^~ In file included from ../common/ini_parser.c:1: ../common/exceptions.h:28:9: note: ‘snprintf’ output 25 or more bytes (assuming 279) into a destination of size 256 28 | snprintf(exc_message, EXC_MESSAGE_SIZE, __VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/ini_parser.c:57:33: note: in expansion of macro ‘PANIC_WITH_DEFER’ 57 | PANIC_WITH_DEFER(ERR_INI_UNKNOWN_SECTION, | ^~~~~~~~~~~~~~~~ gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/utils.c.o -MTobj/utils.c.o -MFobj/utils.c.d -MMD -MP ../common/utils.c gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/control.c.o -MTobj/control.c.o -MFobj/control.c.d -MMD -MP control.c gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/main.c.o -MTobj/main.c.o -MFobj/main.c.d -MMD -MP main.c gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/options.c.o -MTobj/options.c.o -MFobj/options.c.d -MMD -MP options.c gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/profiler.c.o -MTobj/profiler.c.o -MFobj/profiler.c.d -MMD -MP profiler.c gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/screen.c.o -MTobj/screen.c.o -MFobj/screen.c.d -MMD -MP screen.c gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/security.c.o -MTobj/security.c.o -MFobj/security.c.d -MMD -MP security.c gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/shortcuts.c.o -MTobj/shortcuts.c.o -MFobj/shortcuts.c.d -MMD -MP shortcuts.c gcc -c -std=gnu99 -pedantic -Wall -Wshadow -O3 -o obj/transfer.c.o -MTobj/transfer.c.o -MFobj/transfer.c.d -MMD -MP transfer.c mkdir bin gcc -o bin/remoteinkd obj/exceptions.c.o obj/ini_parser.c.o obj/utils.c.o obj/control.c.o obj/main.c.o obj/options.c.o obj/profiler.c.o obj/screen.c.o obj/security.c.o obj/shortcuts.c.o obj/transfer.c.o -lcrypt -lfontconfig -lImlib2 -lm -lpthread -lrt -lX11 -lxcb -lxcb-keysyms -lxcb-shm -lxcb-xfixes /usr/bin/ld: obj/profiler.c.o:(.bss+0x0): multiple definition of `f'; obj/ini_parser.c.o:(.bss+0x200): first defined here /usr/bin/ld: obj/screen.c.o:(.bss+0x28): multiple definition of `display'; obj/main.c.o:(.bss+0x228): first defined here /usr/bin/ld: obj/security.c.o:(.bss+0x260): multiple definition of `f'; obj/ini_parser.c.o:(.bss+0x200): first defined here /usr/bin/ld: obj/shortcuts.c.o:(.bss+0x20): multiple definition of `display'; obj/main.c.o:(.bss+0x228): first defined here /usr/bin/ld: obj/shortcuts.c.o:(.bss+0x18): multiple definition of `screen'; obj/screen.c.o:(.bss+0x20): first defined here /usr/bin/ld: obj/shortcuts.c.o:(.bss+0x10): multiple definition of `root'; obj/screen.c.o:(.bss+0x1c): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:18: bin/remoteinkd] Error 1
The text was updated successfully, but these errors were encountered:
Fix linker issues from #12
0349398
Hi Julian!
Thanks for your report!
I've tried to fix the error and updated the code. Could you please try the new version from the repository?
If it does not help, please provide your compiler version (the outputs of the gcc --version command).
gcc --version
Sorry, something went wrong.
Thank you for the quick reply and fix! Works like a charm!
Pocketbook Touch HD 3 (Model 632)
Thanks for the photo, I've added this device to the list of tested ones :)
No branches or pull requests
I followed the steps from the installation guide:
The text was updated successfully, but these errors were encountered: