* Package: app-mobilephone/gnokii-0.6.31-r3 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux nls pcsc-lite userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.5.9-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking gnokii-0.6.31.tar.bz2 to /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work >>> Source unpacked in /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work >>> Preparing source in /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31 ... * Applying gnokii-0.6.31-docdir.patch ... [ ok ] * Applying gnokii-0.6.31-fix_xgnokii_inclusion.patch ... [ ok ] * Applying gnokii-0.6.31-gcc5.patch ... [ ok ] * Applying gnokii-0.6.31-gcc7.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31' ... * Running glib-gettextize --copy --force ... [ ok ] * Running intltoolize --automake --copy --force ... [ ok ] * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: gnokii-0.6.31/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31 ... * econf: updating gnokii-0.6.31/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gnokii-0.6.31/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/gnokii-0.6.31-r3 --htmldir=/usr/share/doc/gnokii-0.6.31-r3/html --libdir=/usr/lib --disable-static --enable-security --disable-unix98test --disable-bluetooth --disable-xdebug --disable-fulldebug --disable-rlpdebug --disable-libical --disable-irda --disable-mysql --enable-nls --enable-libpcsclite --disable-postgres --disable-smsd --disable-libusb --without-x checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking target system type... x86_64-gentoo-linux-musl checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-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 x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for rm... /bin/rm checking for find... /usr/bin/find checking for gmake... gmake checking for ar... ar checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.30.1 checking for XML::Parser... ok checking for nl_langinfo and CODESET... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/gmsgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for the common suffixes of directories in the library search path... lib64,lib64 checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking if building on FreeBSD... no checking if building on NetBSD... no checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-gentoo-linux-musl-ar... (cached) ar checking for archiver @FILE support... @ checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-gentoo-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... rm: cannot remove 'conftest*': No such file or directory yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: cannot remove 'conftest*': No such file or directory 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... no checking if gcc supports -Wno-pointer-sign compiler option... yes checking if gcc supports -fvisibility=hidden compiler option... yes checking if gcc supports -fno-strict-aliasing compiler option... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... x86_64-gentoo-linux-musl-gcc checking for tm_gmtoff in struct tm... yes checking for timer operations... yes checking for cfsetspeed in termios.h... yes checking whether to use readline... yes checking readline.h usability... no checking readline.h presence... no checking for readline.h... no checking history.h usability... no checking history.h presence... no checking for history.h... no checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for readline.h... (cached) no checking for readline/readline.h... (cached) yes checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -lterminfo... no checking for tgetent in -ltermlib... no checking for readline in -lreadline... yes checking for linux/phonet.h... yes checking for gethostbyname... yes checking for gethostbyname... (cached) yes checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK... no checking for socket in -lsocket... no checking for GLIB... yes checking for GMODULE... yes checking for pg_config... /usr/bin/pg_config checking for SQLITE3... yes checking for mysql_config5... no checking for mysql_config... /usr/bin/mysql_config checking for LIBPCSCLITE... yes checking for LPCSTR... yes checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for stdlib.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking for inttypes.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking for sys/types.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_int8_t... yes checking for __ptr_t... no checking whether x86_64-gentoo-linux-musl-gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for strftime... yes checking for mktime... yes checking for timegm... yes checking for gettimeofday... yes checking for select... yes checking for poll... yes checking for wcrtomb... yes checking for strchr... yes checking for strdup... yes checking for strndup... yes checking for strstr... yes checking for strtol... yes checking for strtok... yes checking for strsep... yes checking for asprintf... yes checking for vasprintf... yes checking for snprintf... yes checking for vsnprintf... yes checking for getpass... yes checking for setenv... yes checking for ISO C99 compliant snprintf... yes checking for ISO C99 compliant vsnprintf... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating getopt/Makefile config.status: creating Docs/Makefile config.status: creating Docs/man/Makefile config.status: creating Docs/protocol/Makefile config.status: creating Docs/sample/Makefile config.status: creating Docs/sample/logo/Makefile config.status: creating Docs/sample/vCalendar/Makefile config.status: creating Docs/sample/ringtone/Makefile config.status: creating Docs/sample/ppp/Makefile config.status: creating include/Makefile config.status: creating include/gnokii.h config.status: creating include/data/Makefile config.status: creating include/devices/Makefile config.status: creating include/phones/Makefile config.status: creating include/links/Makefile config.status: creating include/gnokii/Makefile config.status: creating common/gnokii.pc config.status: creating common/Makefile config.status: creating common/data/Makefile config.status: creating common/devices/Makefile config.status: creating common/links/Makefile config.status: creating common/phones/Makefile config.status: creating gnokii/Makefile config.status: creating gnokiid/Makefile config.status: creating smsd/Makefile config.status: creating utils/Makefile config.status: creating xgnokii/xgnokii.pc config.status: creating xgnokii/Makefile config.status: creating xgnokii/xpm/Makefile config.status: creating po/Makefile.in config.status: creating testsuite/Makefile config.status: creating testsuite/data/Makefile config.status: creating Windows/Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing libtool commands rm: cannot remove 'libtoolT': No such file or directory config.status: executing po/stamp-it commands G N O K I I A toolset and driver for the mobile phones. Copyright (C) 1999-2011 The Gnokii Development Team. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See file COPYING for more details. Host system: linux-musl Gnokii version: 0.6.31 Xgnokii version: 1.0 SMSD version: 1.5.2 X (GTK+) support: no smsd support: no Postgres support: no SQLite support: yes MySQL support: no Debug: yes XDebug: no RLPDebug: no NLS: yes IrDA: no ical read support: no Bluetooth: no libusb support: no phonet support: yes libpcsclite support:yes readline support: yes Security: yes Build Shared Lib: yes Build Static Lib: no Windows: no Prefix: /usr Type 'gmake' for compilation and then 'gmake install', to install gnokii. >>> Source configured. >>> Compiling source in /var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31 ... make -j1 Making all in getopt gmake[1]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/getopt' x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libgetopt_a-getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libgetopt_a-getopt.o `test -f 'getopt.c' || echo './'`getopt.c rm -f libgetopt.a ar cru libgetopt.a libgetopt_a-getopt1.o libgetopt_a-getopt.o x86_64-gentoo-linux-musl-ranlib libgetopt.a gmake[1]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/getopt' Making all in include gmake[1]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include' gmake all-recursive gmake[2]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include' Making all in data gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/data' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/data' Making all in devices gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/devices' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/devices' Making all in gnokii gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/gnokii' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/gnokii' Making all in links gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/links' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/links' Making all in phones gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/phones' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include/phones' gmake[3]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include' gmake[3]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include' gmake[2]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include' gmake[1]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/include' Making all in common gmake[1]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/common' Making all in phones gmake[2]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/common/phones' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-generic.lo `test -f 'generic.c' || echo './'`generic.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c generic.c -fPIC -DPIC -o .libs/libPHONES_la-generic.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-nokia.lo `test -f 'nokia.c' || echo './'`nokia.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c nokia.c -fPIC -DPIC -o .libs/libPHONES_la-nokia.o nokia.c: In function ‘pnok_security_incoming’: nokia.c:502:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 23 [-Wstringop-truncation] 502 | strncpy(data->locks_info[0].data, tmp, 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-nk7110.lo `test -f 'nk7110.c' || echo './'`nk7110.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c nk7110.c -fPIC -DPIC -o .libs/libPHONES_la-nk7110.o nk7110.c: In function ‘NK7110_Functions’: nk7110.c:292:2: warning: case value ‘101’ not in enumerated type ‘gn_operation’ {aka ‘enum ’} [-Wswitch] 292 | case GN_OP_NK7110_GetPictureList: | ^~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-nk6510.lo `test -f 'nk6510.c' || echo './'`nk6510.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c nk6510.c -fPIC -DPIC -o .libs/libPHONES_la-nk6510.o nk6510.c: In function ‘NK6510_GetSMS_S40_30’: nk6510.c:1626:22: warning: variable ‘tota_len’ set but not used [-Wunused-but-set-variable] 1626 | int j, i, cont_len, tota_len, offset; | ^~~~~~~~ nk6510.c: In function ‘NK6510_IncomingFile’: nk6510.c:2528:12: warning: variable ‘frame_length’ set but not used [-Wunused-but-set-variable] 2528 | int i, j, frame_length; | ^~~~~~~~~~~~ nk6510.c: In function ‘NK6510_GetSMSFolders_S40_30’: nk6510.c:123:37: warning: ‘%s’ directive writing up to 511 bytes into a region of size 110 [-Wformat-overflow=] 123 | sprintf(path, "C:\\predefmessages\\%s\\", str); | ^~ nk6510.c:123:2: note: ‘sprintf’ output between 20 and 531 bytes into a destination of size 128 123 | sprintf(path, "C:\\predefmessages\\%s\\", str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nk6510.c: In function ‘NK6510_DeleteSMS_S40_30.part.0’: nk6510.c:1754:41: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size between 492 and 512 [-Wformat-truncation=] 1754 | snprintf(fi.name, sizeof(fi.name), "%s%s", s40_30_mt_mappings[i].path, fl2.files[data->raw_sms->number - 1]->name); | ^~ nk6510.c:1754:3: note: ‘snprintf’ output 1 or more bytes (assuming 532) into a destination of size 512 1754 | snprintf(fi.name, sizeof(fi.name), "%s%s", s40_30_mt_mappings[i].path, fl2.files[data->raw_sms->number - 1]->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nk6510.c: In function ‘NK6510_GetSMS_S40_30.part.0’: nk6510.c:1673:41: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size between 492 and 512 [-Wformat-truncation=] 1673 | snprintf(fi.name, sizeof(fi.name), "%s%s", s40_30_mt_mappings[i].path, fl2.files[data->raw_sms->number - 1]->name); | ^~ nk6510.c:1673:3: note: ‘snprintf’ output 1 or more bytes (assuming 532) into a destination of size 512 1673 | snprintf(fi.name, sizeof(fi.name), "%s%s", s40_30_mt_mappings[i].path, fl2.files[data->raw_sms->number - 1]->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nk6510.c: In function ‘NK6510_DeleteMMS_S40_30’: nk6510.c:2185:40: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 2185 | snprintf(fi.name, sizeof(fi.name), "%s%s", fl.path, fl.files[data->raw_mms->number - 1]->name); | ^~ nk6510.c:2185:2: note: ‘snprintf’ output between 1 and 1023 bytes into a destination of size 512 2185 | snprintf(fi.name, sizeof(fi.name), "%s%s", fl.path, fl.files[data->raw_mms->number - 1]->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nk6510.c: In function ‘NK6510_GetMMS_S40_30.isra.0’: nk6510.c:2136:41: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 2136 | snprintf(fi.name, sizeof(fi.name), "%s%s", fl.path, fl.files[private_data.raw_mms->number - 1]->name); | ^~ nk6510.c:2136:3: note: ‘snprintf’ output between 1 and 1023 bytes into a destination of size 512 2136 | snprintf(fi.name, sizeof(fi.name), "%s%s", fl.path, fl.files[private_data.raw_mms->number - 1]->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-nk6160.lo `test -f 'nk6160.c' || echo './'`nk6160.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c nk6160.c -fPIC -DPIC -o .libs/libPHONES_la-nk6160.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-nk6100.lo `test -f 'nk6100.c' || echo './'`nk6100.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c nk6100.c -fPIC -DPIC -o .libs/libPHONES_la-nk6100.o nk6100.c: In function ‘IncomingPhoneStatus’: nk6100.c:700:64: warning: ‘%s’ directive output may be truncated writing up to 9 bytes into a region of size between 3 and 12 [-Wformat-truncation=] 700 | snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW %s", sw, hw); | ^~ ~~ nk6100.c:700:4: note: ‘snprintf’ output between 9 and 27 bytes into a destination of size 20 700 | snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW %s", sw, hw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nk6100.c: In function ‘SetRawRingtone’: nk6100.c:3052:25: warning: ‘%s’ directive output may be truncated writing up to 19 bytes into a region of size 13 [-Wformat-truncation=] 3052 | snprintf(req + 8, 13, "%s", data->ringtone->name); | ^~ nk6100.c:3052:2: note: ‘snprintf’ output between 1 and 20 bytes into a destination of size 13 3052 | snprintf(req + 8, 13, "%s", data->ringtone->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nk6100.c: In function ‘IncomingPhoneInfo2’: nk6100.c:1226:59: warning: ‘, HW ????’ directive output may be truncated writing 9 bytes into a region of size between 8 and 17 [-Wformat-truncation=] 1226 | snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW ????", sw); | ^~~~~~~~~ nk6100.c:1226:4: note: ‘snprintf’ output between 13 and 22 bytes into a destination of size 20 1226 | snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW ????", sw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nk6100.c: In function ‘IncomingPhoneInfo’: nk6100.c:1163:64: warning: ‘%s’ directive output may be truncated writing up to 9 bytes into a region of size between 3 and 12 [-Wformat-truncation=] 1163 | snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW %s", sw, hw); | ^~ ~~ nk6100.c:1163:4: note: ‘snprintf’ output between 9 and 27 bytes into a destination of size 20 1163 | snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW %s", sw, hw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nk6100.c: In function ‘Functions’: nk6100.c:1321:22: warning: ‘%s’ directive output may be truncated writing up to 19 bytes into a region of size 13 [-Wformat-truncation=] 1321 | snprintf(pos, 13, "%s", smsc->name); | ^~ nk6100.c:1321:3: note: ‘snprintf’ output between 1 and 20 bytes into a destination of size 13 1321 | snprintf(pos, 13, "%s", smsc->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nk6100.c:609:63: warning: ‘%s’ directive output may be truncated writing up to 9 bytes into a region of size between 3 and 12 [-Wformat-truncation=] 609 | snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW %s", drvinst->sw_version, drvinst->hw_version); | ^~ nk6100.c:609:3: note: ‘snprintf’ output between 9 and 27 bytes into a destination of size 20 609 | snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW %s", drvinst->sw_version, drvinst->hw_version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-nk3110.lo `test -f 'nk3110.c' || echo './'`nk3110.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c nk3110.c -fPIC -DPIC -o .libs/libPHONES_la-nk3110.o nk3110.c: In function ‘P3110_IncomingSMSDelivered’: nk3110.c:968:13: warning: variable ‘U2’ set but not used [-Wunused-but-set-variable] 968 | u8 U0, U1, U2; | ^~ nk3110.c:968:9: warning: variable ‘U1’ set but not used [-Wunused-but-set-variable] 968 | u8 U0, U1, U2; | ^~ nk3110.c:968:5: warning: variable ‘U0’ set but not used [-Wunused-but-set-variable] 968 | u8 U0, U1, U2; | ^~ nk3110.c: In function ‘P3110_IncomingPhoneInfo’: nk3110.c:1230:34: warning: variable ‘model_length’ set but not used [-Wunused-but-set-variable] 1230 | size_t imei_length, rev_length, model_length; | ^~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-atgen.lo `test -f 'atgen.c' || echo './'`atgen.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atgen.c -fPIC -DPIC -o .libs/libPHONES_la-atgen.o atgen.c: In function ‘Functions’: atgen.c:366:31: warning: comparison between ‘gn_operation’ {aka ‘enum ’} and ‘enum ’ [-Wenum-compare] 366 | if ((op > GN_OP_Init) && (op < GN_OP_AT_Max)) | ^ atgen.c: In function ‘ReplyReadPhonebookExt’: atgen.c:2028:6: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=] 2028 | strncat(entry->name, " ", strlen(" ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atgen.c: In function ‘AT_DialVoice’: atgen.c:1587:33: warning: ‘%s’ directive output may be truncated writing up to 49 bytes into a region of size 29 [-Wformat-truncation=] 1587 | snprintf(req, sizeof(req), "ATD%s;\r", data->call_info->number); | ^~ atgen.c:1587:2: note: ‘snprintf’ output between 6 and 55 bytes into a destination of size 32 1587 | snprintf(req, sizeof(req), "ATD%s;\r", data->call_info->number); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atgen.c: In function ‘ReplyReadPhonebookExt’: atgen.c:2026:5: warning: ‘strncat’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2026 | strncat(entry->name, first_name, strlen(first_name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atgen.c:2022:9: note: length computed here 2022 | if (strlen(first_name) + strlen(entry->name) + 1 > sizeof(entry->name)) { | ^~~~~~~~~~~~~~~~~~ atgen.c:2035:5: warning: ‘strncat’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2035 | strncat(entry->name, last_name, strlen (last_name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atgen.c:2031:9: note: length computed here 2031 | if (strlen(last_name) + strlen(entry->name) + 1 > sizeof(entry->name)) { | ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-atbosch.lo `test -f 'atbosch.c' || echo './'`atbosch.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atbosch.c -fPIC -DPIC -o .libs/libPHONES_la-atbosch.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-ateric.lo `test -f 'ateric.c' || echo './'`ateric.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c ateric.c -fPIC -DPIC -o .libs/libPHONES_la-ateric.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-athuawei.lo `test -f 'athuawei.c' || echo './'`athuawei.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c athuawei.c -fPIC -DPIC -o .libs/libPHONES_la-athuawei.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-atmot.lo `test -f 'atmot.c' || echo './'`atmot.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atmot.c -fPIC -DPIC -o .libs/libPHONES_la-atmot.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-atnok.lo `test -f 'atnok.c' || echo './'`atnok.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atnok.c -fPIC -DPIC -o .libs/libPHONES_la-atnok.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-atsie.lo `test -f 'atsie.c' || echo './'`atsie.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atsie.c -fPIC -DPIC -o .libs/libPHONES_la-atsie.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-atsoer.lo `test -f 'atsoer.c' || echo './'`atsoer.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atsoer.c -fPIC -DPIC -o .libs/libPHONES_la-atsoer.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-atsam.lo `test -f 'atsam.c' || echo './'`atsam.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atsam.c -fPIC -DPIC -o .libs/libPHONES_la-atsam.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-atsag.lo `test -f 'atsag.c' || echo './'`atsag.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atsag.c -fPIC -DPIC -o .libs/libPHONES_la-atsag.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-atlg.lo `test -f 'atlg.c' || echo './'`atlg.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atlg.c -fPIC -DPIC -o .libs/libPHONES_la-atlg.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-gnapplet.lo `test -f 'gnapplet.c' || echo './'`gnapplet.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c gnapplet.c -fPIC -DPIC -o .libs/libPHONES_la-gnapplet.o gnapplet.c: In function ‘gnapplet_identify’: gnapplet.c:568:75: warning: ‘%s’ directive output may be truncated writing up to 19 bytes into a region of size 17 [-Wformat-truncation=] 568 | vision) snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW %s", drvinst->sw_version, drvinst->hw_version); | ^~ gnapplet.c:568:22: note: ‘snprintf’ output between 9 and 47 bytes into a destination of size 20 568 | if (data->revision) snprintf(data->revision, GN_REVISION_MAX_LENGTH, "SW %s, HW %s", drvinst->sw_version, drvinst->hw_version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gnapplet.c: In function ‘gnapplet_incoming_phonebook’: gnapplet.c:732:54: warning: ‘%s’ directive output may be truncated writing up to 61 bytes into a region of size 50 [-Wformat-truncation=] 732 | snprintf(entry->number, sizeof(entry->number), "%s", se->data.number); | ^~ gnapplet.c:732:6: note: ‘snprintf’ output between 1 and 62 bytes into a destination of size 50 732 | snprintf(entry->number, sizeof(entry->number), "%s", se->data.number); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-fake.lo `test -f 'fake.c' || echo './'`fake.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c fake.c -fPIC -DPIC -o .libs/libPHONES_la-fake.o fake.c: In function ‘count_files’: fake.c:369:38: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 369 | snprintf(path, MAX_PATH_LEN, "%s/%s", dirpath, dent->d_name); | ^ fake.c:369:3: note: ‘snprintf’ output 2 or more bytes (assuming 257) into a destination of size 256 369 | snprintf(path, MAX_PATH_LEN, "%s/%s", dirpath, dent->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fake.c: In function ‘at_sms_get_from_file.isra.0’: fake.c:241:39: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 241 | snprintf(path, MAX_PATH_LEN, "%s/%s", dirpath, dent->d_name); | ^ fake.c:241:4: note: ‘snprintf’ output 2 or more bytes (assuming 257) into a destination of size 256 241 | snprintf(path, MAX_PATH_LEN, "%s/%s", dirpath, dent->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fake.c: In function ‘at_sms_delete_from_file.isra.0’: fake.c:292:39: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 292 | snprintf(path, MAX_PATH_LEN, "%s/%s", dirpath, dent->d_name); | ^ fake.c:292:4: note: ‘snprintf’ output 2 or more bytes (assuming 257) into a destination of size 256 292 | snprintf(path, MAX_PATH_LEN, "%s/%s", dirpath, dent->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libPHONES_la-pcsc.lo `test -f 'pcsc.c' || echo './'`pcsc.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c pcsc.c -fPIC -DPIC -o .libs/libPHONES_la-pcsc.o pcsc.c: In function ‘pcsc_open_reader_name’: pcsc.c:1537:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1537 | pioSendPci = SCARD_PCI_T0; | ^ pcsc.c:1540:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1540 | pioSendPci = SCARD_PCI_T1; | ^ pcsc.c: In function ‘functions’: pcsc.c:572:31: warning: ‘%s’ directive output may be truncated writing up to 15 bytes into a region of size 4 [-Wformat-truncation=] 572 | snprintf(mcc, sizeof(mcc), "%s", imsi); | ^~ ~~~~ pcsc.c:572:3: note: ‘snprintf’ output between 1 and 16 bytes into a destination of size 4 572 | snprintf(mcc, sizeof(mcc), "%s", imsi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=link x86_64-gentoo-linux-musl-gcc -I../../include -I/usr/include/PCSC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -o libPHONES.la libPHONES_la-generic.lo libPHONES_la-nokia.lo libPHONES_la-nk7110.lo libPHONES_la-nk6510.lo libPHONES_la-nk6160.lo libPHONES_la-nk6100.lo libPHONES_la-nk3110.lo libPHONES_la-atgen.lo libPHONES_la-atbosch.lo libPHONES_la-ateric.lo libPHONES_la-athuawei.lo libPHONES_la-atmot.lo libPHONES_la-atnok.lo libPHONES_la-atsie.lo libPHONES_la-atsoer.lo libPHONES_la-atsam.lo libPHONES_la-atsag.lo libPHONES_la-atlg.lo libPHONES_la-gnapplet.lo libPHONES_la-fake.lo libPHONES_la-pcsc.lo libtool: link: ar cru .libs/libPHONES.a .libs/libPHONES_la-generic.o .libs/libPHONES_la-nokia.o .libs/libPHONES_la-nk7110.o .libs/libPHONES_la-nk6510.o .libs/libPHONES_la-nk6160.o .libs/libPHONES_la-nk6100.o .libs/libPHONES_la-nk3110.o .libs/libPHONES_la-atgen.o .libs/libPHONES_la-atbosch.o .libs/libPHONES_la-ateric.o .libs/libPHONES_la-athuawei.o .libs/libPHONES_la-atmot.o .libs/libPHONES_la-atnok.o .libs/libPHONES_la-atsie.o .libs/libPHONES_la-atsoer.o .libs/libPHONES_la-atsam.o .libs/libPHONES_la-atsag.o .libs/libPHONES_la-atlg.o .libs/libPHONES_la-gnapplet.o .libs/libPHONES_la-fake.o .libs/libPHONES_la-pcsc.o libtool: link: x86_64-gentoo-linux-musl-ranlib .libs/libPHONES.a libtool: link: ( cd ".libs" && rm -f "libPHONES.la" && ln -s "../libPHONES.la" "libPHONES.la" ) gmake[2]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/common/phones' Making all in links gmake[2]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/common/links' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libLINKS_la-atbus.lo `test -f 'atbus.c' || echo './'`atbus.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c atbus.c -fPIC -DPIC -o .libs/libLINKS_la-atbus.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libLINKS_la-fbus.lo `test -f 'fbus.c' || echo './'`fbus.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c fbus.c -fPIC -DPIC -o .libs/libLINKS_la-fbus.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libLINKS_la-fbus-phonet.lo `test -f 'fbus-phonet.c' || echo './'`fbus-phonet.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c fbus-phonet.c -fPIC -DPIC -o .libs/libLINKS_la-fbus-phonet.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libLINKS_la-fbus-3110.lo `test -f 'fbus-3110.c' || echo './'`fbus-3110.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c fbus-3110.c -fPIC -DPIC -o .libs/libLINKS_la-fbus-3110.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libLINKS_la-m2bus.lo `test -f 'm2bus.c' || echo './'`m2bus.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c m2bus.c -fPIC -DPIC -o .libs/libLINKS_la-m2bus.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libLINKS_la-gnbus.lo `test -f 'gnbus.c' || echo './'`gnbus.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c gnbus.c -fPIC -DPIC -o .libs/libLINKS_la-gnbus.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libLINKS_la-utils.lo `test -f 'utils.c' || echo './'`utils.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c utils.c -fPIC -DPIC -o .libs/libLINKS_la-utils.o /bin/sh ../../libtool --tag=CC --mode=link x86_64-gentoo-linux-musl-gcc -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -o libLINKS.la libLINKS_la-atbus.lo libLINKS_la-fbus.lo libLINKS_la-fbus-phonet.lo libLINKS_la-fbus-3110.lo libLINKS_la-m2bus.lo libLINKS_la-gnbus.lo libLINKS_la-utils.lo libtool: link: ar cru .libs/libLINKS.a .libs/libLINKS_la-atbus.o .libs/libLINKS_la-fbus.o .libs/libLINKS_la-fbus-phonet.o .libs/libLINKS_la-fbus-3110.o .libs/libLINKS_la-m2bus.o .libs/libLINKS_la-gnbus.o .libs/libLINKS_la-utils.o libtool: link: x86_64-gentoo-linux-musl-ranlib .libs/libLINKS.a libtool: link: ( cd ".libs" && rm -f "libLINKS.la" && ln -s "../libLINKS.la" "libLINKS.la" ) gmake[2]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/common/links' Making all in devices gmake[2]: Entering directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/common/devices' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libDEVICES_la-unixserial.lo `test -f 'unixserial.c' || echo './'`unixserial.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c unixserial.c -fPIC -DPIC -o .libs/libDEVICES_la-unixserial.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libDEVICES_la-unixbluetooth.lo `test -f 'unixbluetooth.c' || echo './'`unixbluetooth.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c unixbluetooth.c -fPIC -DPIC -o .libs/libDEVICES_la-unixbluetooth.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libDEVICES_la-osxbluetooth.lo `test -f 'osxbluetooth.c' || echo './'`osxbluetooth.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c osxbluetooth.c -fPIC -DPIC -o .libs/libDEVICES_la-osxbluetooth.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libDEVICES_la-unixirda.lo `test -f 'unixirda.c' || echo './'`unixirda.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c unixirda.c -fPIC -DPIC -o .libs/libDEVICES_la-unixirda.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libDEVICES_la-tcp.lo `test -f 'tcp.c' || echo './'`tcp.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c tcp.c -fPIC -DPIC -o .libs/libDEVICES_la-tcp.o /bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c -o libDEVICES_la-socketphonet.lo `test -f 'socketphonet.c' || echo './'`socketphonet.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c socketphonet.c -fPIC -DPIC -o .libs/libDEVICES_la-socketphonet.o socketphonet.c: In function ‘socketphonet_open’: socketphonet.c:94:23: warning: converting a packed ‘struct sockaddr_pn’ pointer (alignment 1) to a ‘const struct sockaddr’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 94 | if (bind(fd, (struct sockaddr *)&addr, sizeof(addr))) { | ^~~~~~~~ In file included from socketphonet.c:67: /usr/include/linux/phonet.h:102:8: note: defined here 102 | struct sockaddr_pn { | ^~~~~~~~~~~ socketphonet.c:117:12: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] 117 | retcode = fcntl(fd, F_SETFL, O_NONBLOCK); | ^~~~~ socketphonet.c:117:22: error: ‘F_SETFL’ undeclared (first use in this function) 117 | retcode = fcntl(fd, F_SETFL, O_NONBLOCK); | ^~~~~~~ socketphonet.c:117:22: note: each undeclared identifier is reported only once for each function it appears in socketphonet.c:117:31: error: ‘O_NONBLOCK’ undeclared (first use in this function); did you mean ‘SOCK_NONBLOCK’? 117 | retcode = fcntl(fd, F_SETFL, O_NONBLOCK); | ^~~~~~~~~~ | SOCK_NONBLOCK socketphonet.c:119:13: warning: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration] 119 | retcode = ioctl(fd, FIOASYNC, &with_async); | ^~~~~ socketphonet.c:119:23: error: ‘FIOASYNC’ undeclared (first use in this function) 119 | retcode = ioctl(fd, FIOASYNC, &with_async); | ^~~~~~~~ socketphonet.c: In function ‘socketphonet_write’: socketphonet.c:161:47: warning: converting a packed ‘struct sockaddr_pn’ pointer (alignment 1) to a ‘const struct sockaddr’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 161 | sent = sendto(fd, buf + 8, n - 8, 0, (struct sockaddr *)&addr, sizeof(addr)); | ^~~~~~~~ In file included from socketphonet.c:67: /usr/include/linux/phonet.h:102:8: note: defined here 102 | struct sockaddr_pn { | ^~~~~~~~~~~ gmake[2]: *** [Makefile:592: libDEVICES_la-socketphonet.lo] Error 1 gmake[2]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/common/devices' gmake[1]: *** [Makefile:946: all-recursive] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31/common' make: *** [Makefile:495: all-recursive] Error 1 * ERROR: app-mobilephone/gnokii-0.6.31-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-mobilephone/gnokii-0.6.31-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-mobilephone/gnokii-0.6.31-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-mobilephone:gnokii-0.6.31-r3:20200319-214044.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31' * S: '/var/tmp/portage/app-mobilephone/gnokii-0.6.31-r3/work/gnokii-0.6.31'