Hello, I am very much a noob to the world of code so I apologize if this is an obvious question.
I git cloned the code and follow the build instructions listed in the readme.
It seems like the process didn't work, however, as typing in the command "xinput_calibrator" yields the message,
"Command 'xinput_calibrator' not found, but can be installed with: sudo apt install xinput-calibrator".
I'm not sure what went wrong.
Here is the output for each build command:
(./autogen.sh)
autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:32: installing './compile' autoreconf: Leaving directory.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/carbon/Downloads/xinput_calibrator-0.7.5/missing: Unknown --is-lightweight' option Try/home/carbon/Downloads/xinput_calibrator-0.7.5/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for X... libraries , headers
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for working strtod... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XINPUT... yes
checking for XI_PROP... yes
checking gui... default
checking for GTKMM... no
checking for X11... yes
checking for XRANDR... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/calibrator/Makefile
config.status: creating src/gui/Makefile
config.status: creating man/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
(make)
Making all in src
make[1]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src'
Making all in calibrator
make[2]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src/calibrator'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src/calibrator'
Making all in gui
make[2]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src/gui'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src/gui'
make[2]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src'
g++ -DPACKAGE_NAME=\"xinput_calibrator\" -DPACKAGE_TARNAME=\"xinput_calibrator\" -DPACKAGE_VERSION=\"0.7.5\" -DPACKAGE_STRING=\"xinput_calibrator\ 0.7.5\" -DPACKAGE_BUGREPORT=\"http://github.com/tias/xinput_calibrator/issues\" -DPACKAGE_URL=\"http://www.freedesktop.org/wiki/Software/xinput_calibrator\" -DPACKAGE=\"xinput_calibrator\" -DVERSION=\"0.7.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVEBOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_XI_PROP=1 -DHAVE_X11_XRANDR=1 -I. -Wall -ansi -pedantic -Wmissing-declarations -g -O2 -MT xinput_calibrator-main_x11.o -MD -MP -MF .deps/xinput_calibrator-main_x11.Tpo -c -o xinput_calibrator-main_x11.o test -f 'main_x11.cpp' || echo './'main_x11.cpp
In file included from main_common.hpp:108,
from main_x11.cpp:23:
calibrator/calibratorUsbtouchscreen.cpp: In member function ‘void CalibratorUsbtouchscreen::read_int_parameter(const char, int&)’:
calibrator/calibratorUsbtouchscreen.cpp:77:13: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]
77 | int dummy;
| ^~~~~
calibrator/calibratorUsbtouchscreen.cpp: In member function ‘void CalibratorUsbtouchscreen::read_bool_parameter(const char, bool&)’:
calibrator/calibratorUsbtouchscreen.cpp:92:15: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]
92 | char *dummy;
| ^~~~~
main_x11.cpp: In function ‘int main(int, char**)’:
main_x11.cpp:37:12: warning: deleting object of abstract class type ‘Calibrator’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
37 | delete calibrator;
| ^~~~~~
In file included from main_common.hpp:108,
from main_x11.cpp:23:
calibrator/calibratorUsbtouchscreen.cpp: In member function ‘virtual bool CalibratorUsbtouchscreen::finish_data(XYinfo, int)’:
calibrator/calibratorUsbtouchscreen.cpp:216:25: warning: ‘ ’ directive writing 1 byte into a region of size 0 [-Wformat-overflow=]
216 | sprintf(new_opt, "%s %s=%d %s=%d %s=%d %s=%d %s=%d %s=%d %s=%c %s=%c %s=%c %s=%c\n",
| ^
In file included from /usr/include/stdio.h:867,
from main_common.hpp:24,
from main_x11.cpp:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘_builtinsprintf_chk’ output 54 or more bytes into a destination of size 22
36 | return builtin___sprintf_chk (s, USE_FORTIFY_LEVEL - 1,
| ~~~~~~^~~~~~~~
37 | bos (s), fmt, va_arg_pack ());
| ~~~~~~~~~
In file included from main_common.hpp:105,
from main_x11.cpp:23:
calibrator.cpp: In member function ‘bool Calibrator::is_sysfs_name(const char*)’:
calibrator.cpp:192:42: warning: ‘%s’ directive writing up to 255 bytes into a region of size 23 [-Wformat-overflow=]
192 | (void) sprintf(filename, "%s/%s/%s", SYSFS_INPUT, ep->d_name, SYSFS_DEVNAME);
| ^~
In file included from /usr/include/stdio.h:867,
from main_common.hpp:24,
from main_x11.cpp:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘builtin_sprintf_chk’ output between 30 and 285 bytes into a destination of size 40
36 | return builtin_sprintf_chk (s, USE_FORTIFY_LEVEL - 1,
| ~~~~~~^~~~~~~~
37 | bos (s), fmt, __va_arg_pack ());
| ~~~~~~~~~
mv -f .deps/xinput_calibrator-main_x11.Tpo .deps/xinput_calibrator-main_x11.Po
/bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -ansi -pedantic -Wmissing-declarations -g -O2 -o xinput_calibrator xinput_calibrator-main_x11.o -lX11 -lXext -lXi -lXrandr -lX11
libtool: link: g++ -Wall -ansi -pedantic -Wmissing-declarations -g -O2 -o xinput_calibrator xinput_calibrator-main_x11.o -lXext -lXi -lXrandr -lX11
make[2]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src'
make[1]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src'
Making all in man
make[1]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/man'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/man'
Making all in scripts
make[1]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/scripts'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/scripts'
make[1]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5'
Hello, I am very much a noob to the world of code so I apologize if this is an obvious question.
I git cloned the code and follow the build instructions listed in the readme. It seems like the process didn't work, however, as typing in the command "xinput_calibrator" yields the message, "Command 'xinput_calibrator' not found, but can be installed with: sudo apt install xinput-calibrator".
I'm not sure what went wrong. Here is the output for each build command: (./autogen.sh) autoreconf: Entering directory
.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:32: installing './compile' autoreconf: Leaving directory
.' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/carbon/Downloads/xinput_calibrator-0.7.5/missing: Unknown--is-lightweight' option Try
/home/carbon/Downloads/xinput_calibrator-0.7.5/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... libraries , headers checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for working strtod... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XINPUT... yes checking for XI_PROP... yes checking gui... default checking for GTKMM... no checking for X11... yes checking for XRANDR... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating scripts/Makefile config.status: creating src/Makefile config.status: creating src/calibrator/Makefile config.status: creating src/gui/Makefile config.status: creating man/Makefile config.status: executing depfiles commands config.status: executing libtool commands(make) Making all in src make[1]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src' Making all in calibrator make[2]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src/calibrator' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src/calibrator' Making all in gui make[2]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src/gui' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src/gui' make[2]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src' g++ -DPACKAGE_NAME=\"xinput_calibrator\" -DPACKAGE_TARNAME=\"xinput_calibrator\" -DPACKAGE_VERSION=\"0.7.5\" -DPACKAGE_STRING=\"xinput_calibrator\ 0.7.5\" -DPACKAGE_BUGREPORT=\"http://github.com/tias/xinput_calibrator/issues\" -DPACKAGE_URL=\"http://www.freedesktop.org/wiki/Software/xinput_calibrator\" -DPACKAGE=\"xinput_calibrator\" -DVERSION=\"0.7.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVEBOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_XI_PROP=1 -DHAVE_X11_XRANDR=1 -I. -Wall -ansi -pedantic -Wmissing-declarations -g -O2 -MT xinput_calibrator-main_x11.o -MD -MP -MF .deps/xinput_calibrator-main_x11.Tpo -c -o xinput_calibrator-main_x11.o
test -f 'main_x11.cpp' || echo './'
main_x11.cpp In file included from main_common.hpp:108, from main_x11.cpp:23: calibrator/calibratorUsbtouchscreen.cpp: In member function ‘void CalibratorUsbtouchscreen::read_int_parameter(const char, int&)’: calibrator/calibratorUsbtouchscreen.cpp:77:13: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 77 | int dummy; | ^~~~~ calibrator/calibratorUsbtouchscreen.cpp: In member function ‘void CalibratorUsbtouchscreen::read_bool_parameter(const char, bool&)’: calibrator/calibratorUsbtouchscreen.cpp:92:15: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable] 92 | char *dummy; | ^~~~~ main_x11.cpp: In function ‘int main(int, char**)’: main_x11.cpp:37:12: warning: deleting object of abstract class type ‘Calibrator’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 37 | delete calibrator; | ^~~~~~ In file included from main_common.hpp:108, from main_x11.cpp:23: calibrator/calibratorUsbtouchscreen.cpp: In member function ‘virtual bool CalibratorUsbtouchscreen::finish_data(XYinfo, int)’: calibrator/calibratorUsbtouchscreen.cpp:216:25: warning: ‘ ’ directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 216 | sprintf(new_opt, "%s %s=%d %s=%d %s=%d %s=%d %s=%d %s=%d %s=%c %s=%c %s=%c %s=%c\n", | ^ In file included from /usr/include/stdio.h:867, from main_common.hpp:24, from main_x11.cpp:23: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘_builtinsprintf_chk’ output 54 or more bytes into a destination of size 22 36 | return builtin___sprintf_chk (s, USE_FORTIFY_LEVEL - 1, |~~~~~~^~~~~~~~ 37 | bos (s), fmt, va_arg_pack ()); |~~~~~~~~~ In file included from main_common.hpp:105, from main_x11.cpp:23: calibrator.cpp: In member function ‘bool Calibrator::is_sysfs_name(const char*)’: calibrator.cpp:192:42: warning: ‘%s’ directive writing up to 255 bytes into a region of size 23 [-Wformat-overflow=] 192 | (void) sprintf(filename, "%s/%s/%s", SYSFS_INPUT, ep->d_name, SYSFS_DEVNAME); | ^~ In file included from /usr/include/stdio.h:867, from main_common.hpp:24, from main_x11.cpp:23: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘builtin_sprintf_chk’ output between 30 and 285 bytes into a destination of size 40 36 | return builtin_sprintf_chk (s, USE_FORTIFY_LEVEL - 1, |~~~~~~^~~~~~~~ 37 | bos (s), fmt, __va_arg_pack ()); |~~~~~~~~~ mv -f .deps/xinput_calibrator-main_x11.Tpo .deps/xinput_calibrator-main_x11.Po /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -ansi -pedantic -Wmissing-declarations -g -O2 -o xinput_calibrator xinput_calibrator-main_x11.o -lX11 -lXext -lXi -lXrandr -lX11 libtool: link: g++ -Wall -ansi -pedantic -Wmissing-declarations -g -O2 -o xinput_calibrator xinput_calibrator-main_x11.o -lXext -lXi -lXrandr -lX11 make[2]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src' make[1]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/src' Making all in man make[1]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/man' Making all in scripts make[1]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/scripts' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5/scripts' make[1]: Entering directory '/home/carbon/Downloads/xinput_calibrator-0.7.5' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/carbon/Downloads/xinput_calibrator-0.7.5'Any help would be very much appreciated.