Cook: mgetty 1.2.1
================================================================================
QA: checking package receipt...
Extracting source archive "mgetty-1.2.1.tar.gz"

Executing: compile_rules
CFLAGS   : -march=i486 -Os -pipe -mindirect-branch=thunk
CXXLAGS  : -march=i486 -Os -pipe -mindirect-branch=thunk
CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1
LDFLAGS  : -Wl,-Os,--as-needed

cc -Wall -O2 -pipe -DVARRUNDIR=\"/var/run\" -c mgetty.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o logfile.o logfile.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o do_chat.o do_chat.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o locks.o locks.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o utmp.o utmp.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o logname.o logname.c
cc -Wall -O2 -pipe -DCONFDIR=\"/etc/mgetty+sendfax\" -c login.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o mg_m_init.o mg_m_init.c
utmp.c: In function 'make_utmp_wtmp_pid':
utmp.c:127:8: warning: unused variable 'fp' [-Wunused-variable]
 FILE * fp;
        ^~
utmp.c:126:13: warning: unused variable 'st' [-Wunused-variable]
 struct stat st;
             ^~
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o modem.o modem.c
mgetty.c: In function 'main':
mgetty.c:470:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result]
     chown( devname, uid, gid );
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
mgetty.c:1116:17: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
                 system( c_string(issue_file)+1 );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o faxrec.o faxrec.c
do_chat.c: In function 'do_chat_send':
do_chat.c:55:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write( fd, p, 1 );
   ^~~~~~~~~~~~~~~~~
do_chat.c:73:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write( fd, MODEM_CMD_SUFFIX, sizeof(MODEM_CMD_SUFFIX)-1 );
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o ring.o ring.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o faxlib.o faxlib.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o faxsend.o faxsend.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o faxrecp.o faxrecp.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o class1.o class1.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o class1lib.o class1lib.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o faxhng.o faxhng.c
faxsend.c: In function 'fax_send_page':
faxsend.c:205:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write( fd, nbuf, sizeof(nbuf) );
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
faxsend.c: In function 'fax_send_panic_exit':
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o hyla_nsf.o hyla_nsf.c
faxsend.c:76:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     alarm( 5 ); write( fd, fax_end_of_page, sizeof( fax_end_of_page ) );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
faxsend.c:78:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     alarm( 5 ); write( fd, fax_end_of_page, sizeof( fax_end_of_page ) );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
faxsend.c:81:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     alarm( 5 ); write( fd, "AT+FK\r\n", 7 );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
faxsend.c:82:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     alarm( 5 ); write( fd, "ATH0\r\n", 6 );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
faxsend.c:92:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     alarm( 5 ); write( fd, "ATH0Z\r\n", 7 );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
faxsend.c: In function 'fax_send_ppm':
faxsend.c:422:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write( fd, fax_end_of_page, sizeof( fax_end_of_page ));
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o g3file.o g3file.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o io.o io.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o gettydefs.o gettydefs.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o tio.o tio.c
faxrecp.c: In function 'fax_get_pages':
faxrecp.c:335:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write( fd, &start_rcv, 1);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wall -O2 -pipe -DCONFDIR=\"/etc/mgetty+sendfax\" -c cnd.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o getdisk.o getdisk.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o goodies.o goodies.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o config.o config.c
cc -Wall -O2 -pipe -DFAX_SPOOL_IN=\"/var/spool/fax/incoming\" \
	-DCONFDIR=\"/etc/mgetty+sendfax\" -c conf_mg.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o do_stat.o do_stat.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o sms.o sms.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o clean_line.o clean_line.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o sendfax.o sendfax.c
cc -Wall -O2 -pipe -DCONFDIR=\"/etc/mgetty+sendfax\" -c conf_sf.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o socket.o socket.c
cc -Wall -O2 -pipe -o newslock compat/newslock.c
cc -Wall -O2 -pipe -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" \
	-DLIBDIR=\"/usr/lib/mgetty+sendfax\" \
	-DCONFDIR=\"/etc/mgetty+sendfax\" \
	-DFAX_SPOOL=\"/var/spool/fax\" \
	-DFAX_SPOOL_IN=\"/var/spool/fax/incoming\" \
	-DFAX_SPOOL_OUT=\"/var/spool/fax/outgoing\" \
	-DFAX_OUT_USER=\"fax\" \
	-DVARRUNDIR=\"/var/run\" \
	-DAWK=\"awk\" \
	-DPERL=\""/usr/bin/perl -w"\" -DTKPERL=\"/usr/bin/tkperl\" \
	-DECHO=\""echo -e"\" \
	-DSHELL=\"/bin/sh\" \
	-DSHELL_TRAP_POSIX=1 \
-o mksed mksed.c
cd g3 &&    make "CC=cc" "CFLAGS=-Wall -O2 -pipe -I.." "LDFLAGS=" "LIBS=-lutil					" all
make[1]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/g3'
cc -Wall -O2 -pipe -I.. -D_GLIBCXX_USE_C99_MATH=1  -c -o pbm2g3.o pbm2g3.c
make[1]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1'
cc -Wall -O2 -pipe -I.. -D_GLIBCXX_USE_C99_MATH=1  -c -o g3.o g3.c
cc -o mgetty mgetty.o logfile.o do_chat.o locks.o utmp.o logname.o login.o mg_m_init.o modem.o faxrec.o ring.o faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o g3file.o io.o gettydefs.o tio.o cnd.o getdisk.o goodies.o config.o conf_mg.o do_stat.o sms.o clean_line.o  -lutil					
make[1]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1'
cc -o mgetty mgetty.o logfile.o do_chat.o locks.o utmp.o logname.o login.o mg_m_init.o modem.o faxrec.o ring.o faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o g3file.o io.o gettydefs.o tio.o cnd.o getdisk.o goodies.o config.o conf_mg.o do_stat.o sms.o clean_line.o  -lutil					
sendfax.c: In function 'main':
sendfax.c:506:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      (void) write( fd, "AT", 2 );
             ^~~~~~~~~~~~~~~~~~~~
cc -Wall -O2 -pipe -I.. -D_GLIBCXX_USE_C99_MATH=1  -c -o run_tbl.o run_tbl.c
cc -o mgetty mgetty.o logfile.o do_chat.o locks.o utmp.o logname.o login.o mg_m_init.o modem.o faxrec.o ring.o faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o g3file.o io.o gettydefs.o tio.o cnd.o getdisk.o goodies.o config.o conf_mg.o do_stat.o sms.o clean_line.o  -lutil					
/usr/bin/ld: logfile.o: in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: mgetty.o: in function `main':
mgetty.c:(.text.startup+0x980): undefined reference to `get_statistics'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:359: mgetty] Error 1
make[1]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1'
make: *** [Makefile:692: vgetty] Error 2
make: *** Waiting for unfinished jobs....
cc -Wall -O2 -pipe -I.. -D_GLIBCXX_USE_C99_MATH=1  -c -o g3cat.o g3cat.c
/usr/bin/ld: logfile.o: in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: mgetty.o: in function `main':
mgetty.c:(.text.startup+0x980): undefined reference to `get_statistics'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:359: mgetty] Error 1
make[1]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1'
make: *** [Makefile:376: call-back] Error 2
cc -Wall -O2 -pipe -I.. -D_GLIBCXX_USE_C99_MATH=1  -c -o g32pbm.o g32pbm.c
pbm2g3.c: In function 'main':
pbm2g3.c:399:9: warning: variable 'digifax_header' set but not used [-Wunused-but-set-variable]
     int digifax_header = FALSE;
         ^~~~~~~~~~~~~~
pbm2g3.c: In function 'putcode':
pbm2g3.c:57:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write( 1, buf, buflen ); buflen = 0;
      ^~~~~~~~~~~~~~~~~~~~~~~
pbm2g3.c: In function 'main':
pbm2g3.c:511:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write( 1, buf, buflen );
     ^~~~~~~~~~~~~~~~~~~~~~~
cc -Wall -O2 -pipe -I.. -D_GLIBCXX_USE_C99_MATH=1  -c -o sff2g3.o sff2g3.c
/usr/bin/ld: logfile.o: in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
g3cat.c: In function 'main':
g3cat.c:513:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write( 1, buf, buflen );
     ^~~~~~~~~~~~~~~~~~~~~~~
g3cat.c: In function 'putcode':
g3cat.c:81:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write( 1, buf, buflen ); b_written += buflen; buflen = 0;
      ^~~~~~~~~~~~~~~~~~~~~~~
g32pbm.c: In function 'emitpbm':
g32pbm.c:520:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write( 1, rbuf, strlen( rbuf ));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g32pbm.c:523:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
         write( 1, bitmap, row * bperrow );
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g32pbm.c:529:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write( 1, &bitmap[ i*bperrow ], (hcol+7)/8 );
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g32pbm.c:534:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write( 1, &bitmap[ i*bperrow ], (hcol+7)/8 );
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g32pbm.c:535:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write( 1, &bitmap[ i*bperrow ], (hcol+7)/8 );
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sff2g3.c: In function 'main':
sff2g3.c:174:9: warning: variable 'digifax_header' set but not used [-Wunused-but-set-variable]
     int digifax_header = 0;
         ^~~~~~~~~~~~~~
cc -Wall -O2 -pipe -I..  -o sff2g3 sff2g3.o g3.o -lutil					
cc -Wall -O2 -pipe -I..  -o g32pbm g32pbm.o g3.o -lutil					
cc -Wall -O2 -pipe -I..  -o pbm2g3 pbm2g3.o g3.o run_tbl.o -lutil					
cc -Wall -O2 -pipe -I..  -o g3cat g3cat.o g3.o -lutil					
make[1]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/g3'
cd tools && make "CC=cc" "CFLAGS=-Wall -O2 -pipe -I.." "LDFLAGS=" "LIBS=-lutil					" all
make[1]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/tools'
cc -Wall -O2 -pipe -I.. -c -o ltest.o ltest.c
cc -Wall -O2 -pipe -I.. -c -o mid.o mid.c
cc -Wall -O2 -pipe -I.. -c -o microcom.o microcom.c
make[2]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1'
./mksed >sedscript
chmod +x sedscript
make[2]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1'
../sedscript <kvg.in >kvg
../sedscript <cutbl.in >cutbl
microcom.c: In function 'main':
microcom.c:122:49: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     len = read( STDIN, buf, 100 ); if ( len>0 ) write( fd, buf, len );
                                                 ^~~~~~~~~~~~~~~~~~~~~
microcom.c:126:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
         write( STDOUT, "*break*", 7 );
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
microcom.c:132:19: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      if ( len>0 ) write( STDOUT, buf, len );
                   ^~~~~~~~~~~~~~~~~~~~~~~~~
mid.c: In function 'test_modem':
mid.c:106:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write( fd, *query, strlen(*query) );
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mid.c:107:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write( fd, MODEM_CMD_SUFFIX, sizeof(MODEM_CMD_SUFFIX)-1 );
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wall -O2 -pipe -I.. -o microcom  microcom.o ../tio.o \
	../io.o ../locks.o -lutil					
cc -Wall -O2 -pipe -I.. -o ltest  ltest.o ../tio.o ../io.o -lutil					
cc -Wall -O2 -pipe -I.. -o mid  mid.o ../tio.o \
	../io.o ../locks.o -lutil					
make[1]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/tools'
cd fax &&   make "CC=cc" "CFLAGS=-Wall -O2 -pipe -I.." "LDFLAGS=" "LIBS=-lutil					" "FAX_SPOOL_OUT=/var/spool/fax/outgoing" "FAX_OUT_USER=fax" "CONFDIR=/etc/mgetty+sendfax" all
make[1]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/fax'
../sedscript <faxspool.in >faxspool
../sedscript <faxrunq.in >faxrunq
../sedscript <faxq.in >faxq
../sedscript <faxrm.in >faxrm
../sedscript <faxrunqd.in >faxrunqd
../sedscript <faxheader.in >faxheader
cc -Wall -O2 -pipe -I.. -DFAX_SPOOL_OUT=\"/var/spool/fax/outgoing\" \
	-DFAX_OUT_USER=\"fax\" \
	-DFAX_ALLOW=\"/etc/mgetty+sendfax/fax.allow\" \
	-DFAX_DENY=\"/etc/mgetty+sendfax/fax.deny\" \
	-c faxq-helper.c
faxq-helper.c: In function 'get_next_seq':
faxq-helper.c:271:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
      write( fd, "000000\n", 7 );
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
faxq-helper.c: In function 'do_activate':
faxq-helper.c:638:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write( fd, buf, strlen(buf) );
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wall -O2 -pipe -I.. -o faxq-helper faxq-helper.o
make[1]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/fax'
cc -Wall -O2 -pipe -DVARRUNDIR=\"/var/run\" -c mgetty.c
cc -Wall -O2 -pipe -D_GLIBCXX_USE_C99_MATH=1  -c -o logname.o logname.c
cc -Wall -O2 -pipe -DCONFDIR=\"/home/slitaz/wok/mgetty/install/etc/mgetty+sendfax\" -c login.c
cc -Wall -O2 -pipe -DCONFDIR=\"/home/slitaz/wok/mgetty/install/etc/mgetty+sendfax\" -c cnd.c
cc -Wall -O2 -pipe -DFAX_SPOOL_IN=\"/home/slitaz/wok/mgetty/install/var/spool/fax/incoming\" \
	-DCONFDIR=\"/home/slitaz/wok/mgetty/install/etc/mgetty+sendfax\" -c conf_mg.c
cc -Wall -O2 -pipe -DCONFDIR=\"/home/slitaz/wok/mgetty/install/etc/mgetty+sendfax\" -c conf_sf.c
cc -Wall -O2 -pipe -DBINDIR=\"/home/slitaz/wok/mgetty/install/usr/bin\" -DSBINDIR=\"/home/slitaz/wok/mgetty/install/usr/sbin\" \
	-DLIBDIR=\"/home/slitaz/wok/mgetty/install/usr/lib/mgetty+sendfax\" \
	-DCONFDIR=\"/home/slitaz/wok/mgetty/install/etc/mgetty+sendfax\" \
	-DFAX_SPOOL=\"/home/slitaz/wok/mgetty/install/var/spool/fax\" \
	-DFAX_SPOOL_IN=\"/home/slitaz/wok/mgetty/install/var/spool/fax/incoming\" \
	-DFAX_SPOOL_OUT=\"/home/slitaz/wok/mgetty/install/var/spool/fax/outgoing\" \
	-DFAX_OUT_USER=\"fax\" \
	-DVARRUNDIR=\"/var/run\" \
	-DAWK=\"awk\" \
	-DPERL=\""/usr/bin/perl -w"\" -DTKPERL=\"/usr/bin/tkperl\" \
	-DECHO=\""echo -e"\" \
	-DSHELL=\"/bin/sh\" \
	-DSHELL_TRAP_POSIX=1 \
-o mksed mksed.c
./mksed >sedscript
chmod +x sedscript
./sedscript <login.cfg.in >login.config
./sedscript <mgetty.cfg.in >mgetty.config
./sedscript <sendfax.cfg.in >sendfax.config
cd voice; make CFLAGS="-Wall -O2 -pipe" CC="cc" LDFLAGS="" \
BINDIR="/home/slitaz/wok/mgetty/install/usr/bin" SBINDIR="/home/slitaz/wok/mgetty/install/usr/sbin" LIBDIR="/home/slitaz/wok/mgetty/install/usr/lib/mgetty+sendfax" \
CONFDIR="/home/slitaz/wok/mgetty/install/etc/mgetty+sendfax" MAN1DIR="/home/slitaz/wok/mgetty/install/usr/share/man/man1" MAN8DIR="/home/slitaz/wok/mgetty/install/usr/share/man/man8" INSTALL="install -c -o root -g root" \
PHONE_GROUP="phone" PHONE_PERMS="770" \
LN="ln" MV="mv" RM="rm" \
LIBS="-lutil					" vgetty-install
make[1]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice'

  Building the voice extensions
  -----------------------------

In libpvf...
make[2]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/libpvf'
cc -Wall -O2 -pipe -c au.c
cc -Wall -O2 -pipe -c fft.c
cc -Wall -O2 -pipe -c lib.c
mgetty.c: In function 'main':
mgetty.c:470:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result]
     chown( devname, uid, gid );
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
mgetty.c:1116:17: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
                 system( c_string(issue_file)+1 );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -o sendfax sendfax.o logfile.o locks.o modem.o faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o g3file.o io.o tio.o getdisk.o config.o conf_sf.o goodies.o socket.o clean_line.o  -lutil					
cc -Wall -O2 -pipe -c linear.c
cc -Wall -O2 -pipe -c multitech.c
/usr/bin/ld: logfile.o: in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc -Wall -O2 -pipe -c rockwell.c
cc -Wall -O2 -pipe -c usr.c
cc -Wall -O2 -pipe -c voc.c
fft.c: In function 'pvffft':
fft.c:89:10: warning: variable 'data' set but not used [-Wunused-but-set-variable]
      int data;
          ^~~~
cc -Wall -O2 -pipe -c wav.c
cc -o mgetty mgetty.o logfile.o do_chat.o locks.o utmp.o logname.o login.o mg_m_init.o modem.o faxrec.o ring.o faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o g3file.o io.o gettydefs.o tio.o cnd.o getdisk.o goodies.o config.o conf_mg.o do_stat.o sms.o clean_line.o  -lutil					
/usr/bin/ld: logfile.o: in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc -Wall -O2 -pipe -c zyxel.c
cc -Wall -O2 -pipe -c zyxel-o56k.c
test -d /home/slitaz/wok/mgetty/install/usr/bin  || ( ./mkidirs /home/slitaz/wok/mgetty/install/usr/bin  ; chmod 755 /home/slitaz/wok/mgetty/install/usr/bin  )
/bin/sh: ./mkidirs: Permission denied
chmod: /home/slitaz/wok/mgetty/install/usr/bin: No such file or directory
make: [Makefile:595: install.bin] Error 1 (ignored)
install -c -o root -g root -m 755 newslock /home/slitaz/wok/mgetty/install/usr/bin
test -d /home/slitaz/wok/mgetty/install/usr/sbin || ( ./mkidirs /home/slitaz/wok/mgetty/install/usr/sbin ; chmod 755 /home/slitaz/wok/mgetty/install/usr/sbin )
/bin/sh: ./mkidirs: Permission denied
chmod: /home/slitaz/wok/mgetty/install/usr/sbin: No such file or directory
make: [Makefile:597: install.bin] Error 1 (ignored)
if [ -f /home/slitaz/wok/mgetty/install/usr/sbin/mgetty ] ; then \
	mv -f /home/slitaz/wok/mgetty/install/usr/sbin/mgetty /home/slitaz/wok/mgetty/install/usr/sbin/mgetty.old ; fi
if [ -f /home/slitaz/wok/mgetty/install/usr/sbin/sendfax ] ; then \
	mv -f /home/slitaz/wok/mgetty/install/usr/sbin/sendfax /home/slitaz/wok/mgetty/install/usr/sbin/sendfax.old ; fi
install -c -o root -g root -s -m 700 mgetty /home/slitaz/wok/mgetty/install/usr/sbin
install -c -o root -g root -s -m 755 sendfax /home/slitaz/wok/mgetty/install/usr/sbin
test -d /home/slitaz/wok/mgetty/install/usr/lib/mgetty+sendfax  || \
	( ./mkidirs /home/slitaz/wok/mgetty/install/usr/lib/mgetty+sendfax &&  chmod 755 /home/slitaz/wok/mgetty/install/usr/lib/mgetty+sendfax )
/bin/sh: ./mkidirs: Permission denied
make: *** [Makefile:602: install.bin] Error 126
voc.c: In function 'voctopvf':
voc.c:85:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
      fread(hdr, 1, 0x1a, fd_in);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
usr.c: In function 'usrgsmtopvf':
usr.c:142:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
           fread(&inbuf[33], 5, 1, fd_in);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zyxel-o56k.c: In function 'pvftozo56k':
zyxel-o56k.c:113:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for (i=1; i<4; i++) xni[i+1] = xni[i];  xni[1] = xn1;
    ^~~
zyxel-o56k.c:113:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    for (i=1; i<4; i++) xni[i+1] = xni[i];  xni[1] = xn1;
                                            ^~~
zyxel-o56k.c: In function 'zo56ktopvf':
zyxel-o56k.c:183:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
        for (i=1; i<4; i++) xni[i+1] = xni[i];  xni[1] = xn1;
        ^~~
zyxel-o56k.c:183:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
        for (i=1; i<4; i++) xni[i+1] = xni[i];  xni[1] = xn1;
                                                ^~~
rm -f libpvf.a
ar rc libpvf.a au.o fft.o lib.o linear.o multitech.o rockwell.o usr.o voc.o wav.o zyxel.o zyxel-o56k.o
ranlib libpvf.a
make[2]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/libpvf'
In libutil...
make[2]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/libutil'
cc -Wall -O2 -pipe -c check_system.c
cc -Wall -O2 -pipe -DCONF_DIR=\"/home/slitaz/wok/mgetty/install/etc/mgetty+sendfax\" -c config.c
cc -Wall -O2 -pipe -c no_modem.c
cc -Wall -O2 -pipe -c make_path.c
cc -Wall -O2 -pipe -c strsep.c
cc -Wall -O2 -pipe -c variables.c
cc -Wall -O2 -pipe -c access.c
cc -Wall -O2 -pipe -c wildmat.c
cc -Wall -O2 -pipe -c test_wildmat.c
cc  -o test_wildmat test_wildmat.o wildmat.o
rm -f libutil.a
ar rc libutil.a check_system.o config.o no_modem.o make_path.o strsep.o variables.o access.o wildmat.o ../../config.o ../../logfile.o
ranlib libutil.a
make[2]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/libutil'
In libvoice...
make[2]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/libvoice'
cc -Wall -O2 -pipe -c analyze.c
cc -Wall -O2 -pipe -c close.c
cc -Wall -O2 -pipe -c command.c
cc -Wall -O2 -pipe -c detect.c
cc -Wall -O2 -pipe -c event.c
cc -Wall -O2 -pipe -c flush.c
cc -Wall -O2 -pipe -c init.c
cc -Wall -O2 -pipe -c mode.c
cc -Wall -O2 -pipe -c open.c
cc -Wall -O2 -pipe -c play.c
cc -Wall -O2 -pipe -c read.c
cc -Wall -O2 -pipe -c record.c
cc -Wall -O2 -pipe -c shell.c
cc -Wall -O2 -pipe -c signal.c
cc -Wall -O2 -pipe -c write.c
cc -Wall -O2 -pipe -c voice_fax.c
cc -Wall -O2 -pipe -c device_mode_names.c
cc -Wall -O2 -pipe -c Cirrus_Logic.c
cc -Wall -O2 -pipe -c Digi_RAS.c
cc -Wall -O2 -pipe -c Dolphin.c
cc -Wall -O2 -pipe -c Dr_Neuhaus.c
cc -Wall -O2 -pipe -c Elsa.c
cc -Wall -O2 -pipe -c V253modem.c
cc -Wall -O2 -pipe -c IS_101.c
cc -Wall -O2 -pipe -c ISDN4Linux.c
cc -Wall -O2 -pipe -c Lucent.c
cc -Wall -O2 -pipe -c Multitech_2834.c
cc -Wall -O2 -pipe -c Rockwell.c
cc -Wall -O2 -pipe -c Sierra.c
cc -Wall -O2 -pipe -c Supra.c
cc -Wall -O2 -pipe -c UMC.c
cc -Wall -O2 -pipe -c US_Robotics.c
cc -Wall -O2 -pipe -c ZyXEL_1496.c
cc -Wall -O2 -pipe -c ZyXEL_2864.c
cc -Wall -O2 -pipe -c ZyXEL_Omni56K.c
cc -Wall -O2 -pipe -c Multitech_5634.c
cc -Wall -O2 -pipe -c Multitech_5634ZPX.c
cc -Wall -O2 -pipe -c Multitech_5634ZPX_ISA.c
cc -Wall -O2 -pipe -c Multitech_5600ZDXv.c
cc -Wall -O2 -pipe -c Supra56ePRO.c
cc -Wall -O2 -pipe -c V253ugly.c
rm -f libvoice.a
ar rc libvoice.a analyze.o close.o command.o detect.o event.o flush.o init.o mode.o open.o play.o read.o record.o shell.o signal.o write.o voice_fax.o device_mode_names.o Cirrus_Logic.o Digi_RAS.o Dolphin.o Dr_Neuhaus.o Elsa.o V253modem.o IS_101.o ISDN4Linux.o Lucent.o Multitech_2834.o Rockwell.o Sierra.o Supra.o UMC.o US_Robotics.o ZyXEL_1496.o ZyXEL_2864.o ZyXEL_Omni56K.o Multitech_5634.o Multitech_5634ZPX.o Multitech_5634ZPX_ISA.o Multitech_5600ZDXv.o Supra56ePRO.o V253ugly.o
ranlib libvoice.a
make[2]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/libvoice'
In libmgsm...
make[2]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/libmgsm'
cc -Wall -O2 -pipe -c code.c
cc -Wall -O2 -pipe -c decode.c
cc -Wall -O2 -pipe -c gsm_create.c
cc -Wall -O2 -pipe -c gsm_decode.c
cc -Wall -O2 -pipe -c gsm_destroy.c
cc -Wall -O2 -pipe -c gsm_encode.c
cc -Wall -O2 -pipe -c gsm_option.c
cc -Wall -O2 -pipe -c long_term.c
cc -Wall -O2 -pipe -c lpc.c
cc -Wall -O2 -pipe -c preprocess.c
cc -Wall -O2 -pipe -c rpe.c
cc -Wall -O2 -pipe -c short_term.c
cc -Wall -O2 -pipe -c add.c
cc -Wall -O2 -pipe -c table.c
rm -f libmgsm.a
ar rc libmgsm.a code.o decode.o gsm_create.o gsm_decode.o gsm_destroy.o gsm_encode.o gsm_option.o code.o decode.o long_term.o lpc.o preprocess.o rpe.o short_term.o add.o table.o
ranlib libmgsm.a
make[2]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/libmgsm'
In pvftools...
make[2]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/pvftools'
cc -Wall -O2 -pipe -c pvfamp.c
cc -Wall -O2 -pipe -c pvfcut.c
cc -Wall -O2 -pipe -c pvfecho.c
cc -Wall -O2 -pipe -c pvffile.c
cc -Wall -O2 -pipe -c pvffilter.c
cc -Wall -O2 -pipe -c pvffft.c
cc -Wall -O2 -pipe -c pvfmix.c
cc -Wall -O2 -pipe -c pvfnoise.c
pvffile.c: In function 'main':
pvffile.c:80:15: warning: variable 'data' set but not used [-Wunused-but-set-variable]
           int data;
               ^~~~
cc -Wall -O2 -pipe -c pvfreverse.c
cc -Wall -O2 -pipe -c pvfsine.c
cc -Wall -O2 -pipe -c pvfspeed.c
cc -Wall -O2 -pipe -c pvftormd.c
cc -Wall -O2 -pipe -c rmdtopvf.c
cc -Wall -O2 -pipe -c rmdfile.c
cc -Wall -O2 -pipe -c pvftovoc.c
cc -Wall -O2 -pipe -c voctopvf.c
cc -Wall -O2 -pipe -c pvftolin.c
cc -Wall -O2 -pipe -c lintopvf.c
cc -Wall -O2 -pipe -c pvftobasic.c
cc -Wall -O2 -pipe -c basictopvf.c
cc -Wall -O2 -pipe -c pvftoau.c
cc -Wall -O2 -pipe -c autopvf.c
cc -Wall -O2 -pipe -c pvftowav.c
cc -Wall -O2 -pipe -c wavtopvf.c
cc  -o pvfamp pvfamp.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
cc  -o pvfcut pvfcut.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
cc  -o pvfecho pvfecho.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o pvffile pvffile.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o pvffilter pvffilter.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 -lm
cc  -o pvffft pvffft.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 -lm
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o pvfmix pvfmix.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
cc  -o pvfnoise pvfnoise.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o pvfreverse pvfreverse.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o pvfsine pvfsine.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 -lm
cc  -o pvfspeed pvfspeed.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o pvftormd pvftormd.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 \
 ../libmgsm/libmgsm.a
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o rmdtopvf rmdtopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 \
 ../libmgsm/libmgsm.a
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o rmdfile rmdfile.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o pvftovoc pvftovoc.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
cc  -o voctopvf voctopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o pvftolin pvftolin.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
cc  -o lintopvf lintopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o pvftobasic pvftobasic.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o basictopvf basictopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
cc  -o pvftoau pvftoau.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
cc  -o autopvf autopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
cc  -o pvftowav pvftowav.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cc  -o wavtopvf wavtopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil					 
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
make[2]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/pvftools'
In vgetty...
make[2]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/vgetty'
cc -Wall -O2 -pipe -c answer.c
cc -Wall -O2 -pipe -c button.c
cc -Wall -O2 -pipe -c event.c
cc -Wall -O2 -pipe -c message.c
cc -Wall -O2 -pipe -c rings.c
cd ../.. ;\
cc -Wall -O2 -pipe -DVOICE -DFAX_SPOOL_IN=\"\" \
	-DVARRUNDIR=\"\" -c vgetty.c
answer.c: In function 'get_answer_mode':
answer.c:65:21: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
                     fscanf(answer_mode_file, "%s", answer_mode);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.c:77:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
                          fscanf(answer_mode_file, "%s", answer_mode);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.c: In function 'get_greeting_message':
answer.c:175:21: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
                     fgets(message_file_name, VOICE_BUF_LEN, list);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.c: In function 'vgetty_answer':
answer.c:57:53: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
                sprintf(answer_mode_file_name, "%s.%s",
                                                     ^
In file included from /usr/include/stdio.h:873,
                 from ../include/voice.h:18,
                 from answer.c:8:
/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rings.c: In function 'vgetty_rings':
rings.c:40:21: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
                     fscanf(ring_file, "%d", rings_wanted);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rings.c:53:26: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
                          fscanf(ring_file, "%d", rings_wanted);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vgetty.c: In function 'main':
vgetty.c:470:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result]
     chown( devname, uid, gid );
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
vgetty.c:1116:17: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
                 system( c_string(issue_file)+1 );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc  -o vgetty vgetty.o answer.o button.o event.o message.o rings.o ../../cnd.o ../../conf_mg.o ../../do_chat.o ../../do_stat.o ../../faxhng.o ../../faxlib.o ../../faxrec.o ../../faxrecp.o ../../faxsend.o ../../gettydefs.o ../../login.o ../../logname.o ../../mg_m_init.o ../../utmp.o ../../ring.o ../../getdisk.o ../../goodies.o ../../io.o ../../g3file.o ../../locks.o ../../tio.o ../../modem.o  ../../clean_line.o ../../class1.o ../../class1lib.o ../../hyla_nsf.o  ../libvoice/libvoice.a ../libutil/libutil.a \
 -lutil					
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
make[2]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/vgetty'
In vm...
make[2]: Entering directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/vm'
cc -Wall -O2 -pipe -c main.c
cc -Wall -O2 -pipe -c event.c
cc -Wall -O2 -pipe -c usage.c
cc  -o vm main.o event.o usage.o ../../cnd.o ../../faxhng.o ../../faxlib.o ../../faxrec.o ../../faxrecp.o ../../faxsend.o ../../gettydefs.o ../../login.o ../../logname.o ../../utmp.o ../../getdisk.o ../../goodies.o ../../io.o ../../g3file.o ../../locks.o ../../tio.o ../../modem.o  ../../clean_line.o ../../class1.o ../../class1lib.o ../../hyla_nsf.o  ../libvoice/libvoice.a ../libutil/libutil.a -lutil					
/usr/bin/ld: ../libutil/libutil.a(logfile.o): in function `lprintf':
logfile.c:(.text+0x29f): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/bin/ld: logfile.c:(.text+0x296): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
make[2]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice/vm'

  Installing the voice extensions
  -------------------------------

install -c -o root -g root -m 700 vgetty/vgetty /home/slitaz/wok/mgetty/install/usr/sbin
install -c -o root -g root -m 755 vm/vm /home/slitaz/wok/mgetty/install/usr/bin
for i in pvfamp pvfcut pvfecho pvffile pvffilter pvffft pvfmix pvfnoise pvfreverse pvfsine pvfspeed pvftormd rmdtopvf rmdfile pvftovoc voctopvf pvftolin lintopvf pvftobasic basictopvf pvftoau autopvf pvftowav wavtopvf; \
do \
     install -c -o root -g root -m 755 pvftools/$i /home/slitaz/wok/mgetty/install/usr/bin; \
done
install -c -o root -g root -m 644 man/man1/zplay.1 /home/slitaz/wok/mgetty/install/usr/share/man/man1
install -c -o root -g root -m 644 man/man1/pvf.1 /home/slitaz/wok/mgetty/install/usr/share/man/man1
install -c -o root -g root -m 644 man/man8/vgetty.8 /home/slitaz/wok/mgetty/install/usr/share/man/man8
cd /home/slitaz/wok/mgetty/install/usr/share/man/man1; \
for i in pvfamp pvfcut pvfecho pvffile pvffilter pvffft pvfmix pvfnoise pvfreverse pvfsine pvfspeed pvftormd rmdtopvf rmdfile pvftovoc voctopvf pvftolin lintopvf pvftobasic basictopvf pvftoau autopvf pvftowav wavtopvf; \
do \
     rm -f $i.1; ln -s pvf.1 $i.1; \
done
make[1]: Leaving directory '/home/slitaz/wok/mgetty/source/mgetty-1.2.1/voice'

Debug information ret1.
================================================================================
Cook date: 2022-07-22 14:11
Wasted time : 6s
129:mgetty.c:(.text.startup+0x980): undefined reference to `get_statistics'
130:collect2: error: ld returned 1 exit status
140:mgetty.c:(.text.startup+0x980): undefined reference to `get_statistics'
141:collect2: error: ld returned 1 exit status
323:chmod: /home/slitaz/wok/mgetty/install/usr/bin: No such file or directory
328:chmod: /home/slitaz/wok/mgetty/install/usr/sbin: No such file or directory
================================================================================


Post-check
================================================================================
Checking build...                                                      Failed
Updating activity log...                                               Done
================================================================================