Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 811285 Details for
Bug 871375
net-analyzer/netwatch-1.3.0.1-r4 - dispdata.c: error: call to undeclared function uthread_wait; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:netwatch-1.3.0.1-r4:20220918-114039.log
net-analyzer:netwatch-1.3.0.1-r4:20220918-114039.log (text/plain), 21.07 KB, created by
Toralf Förster
on 2022-09-18 13:17:19 UTC
(
hide
)
Description:
net-analyzer:netwatch-1.3.0.1-r4:20220918-114039.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-18 13:17:19 UTC
Size:
21.07 KB
patch
obsolete
> * Package: net-analyzer/netwatch-1.3.0.1-r4:0 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking netwatch-1.3.0-1.tgz to /var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/work >>>> Preparing source in /var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/work/netwatch-1.3.0 ... > * Applying netwatch-1.3.0.1-append_ldflags.patch ... > [ ok ] > * Applying netwatch-1.3.0.1-open.patch ... > [ ok ] > * Applying netwatch-1.3.0.1-fix-fortify.patch ... > [ ok ] > * Applying netwatch-1.3.0.1-do-not-call.patch ... > [ ok ] > * Applying netwatch-1.3.0.1-includes.patch ... > [ ok ] > * Applying netwatch-1.3.0.1-tinfo.patch ... > [ ok ] > * Applying netwatch-1.3.0.1-fno-common.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/work/netwatch-1.3.0' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/temp/aclocal' ... > [ ok ] > * This package has a configure.in file which has long been deprecated. Please > * update it to use configure.ac instead as newer versions of autotools will die > * when it finds this file. See https://bugs.gentoo.org/426262 for details. > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ !! ] > * Running elibtoolize in: netwatch-1.3.0/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/work/netwatch-1.3.0 ... > * econf: updating netwatch-1.3.0/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating netwatch-1.3.0/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/netwatch-1.3.0.1-r4 --htmldir=/usr/share/doc/netwatch-1.3.0.1-r4/html --libdir=/usr/lib64 >checking for x86_64-pc-linux-gnu-gcc... clang >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 the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for ncurses... yes >checking for pthread_create in -lpthread... yes >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/time.h... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for fcntl.h... yes >checking for strings.h... (cached) yes >checking for sys/ioctl.h... yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking for netinet/ip_icmp.h... yes >checking for netinet/ip.h... yes >checking for netinet/tcp.h... yes >checking for netinet/ip_tcp.h... no >checking for netinet/udp.h... yes >checking for netinet/ip_udp.h... no >checking for netinet/if_ether.h... yes >checking for netinet/in.h... yes >checking for netinet/socket.h... no >checking for net/if.h... yes >checking for net/if_ppp.h... yes >checking for netinet/if_ether.h... (cached) yes >checking for netinet/in.h... (cached) yes >checking for pthread.h... yes >checking for sys/if_packet.h... no >checking for linux/if_packet.h... yes >checking for net/if_packet.h... yes >checking how to run the C preprocessor... clang -E >checking for pid_t... yes >checking whether clang needs -traditional... no >checking for working memcmp... yes >checking return type of signal handlers... void >checking for select... yes >checking for socket... yes >checking for strstr... yes >checking for uname... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating Make.common >config.status: creating config.h >>>> Source configured. >'/var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/temp/clang14.log' -> '/var/tmp/clang/net-analyzer/netwatch-1.3.0.1-r4/clang14.log' >'/var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/temp/clang15.log' -> '/var/tmp/clang/net-analyzer/netwatch-1.3.0.1-r4/clang15.log' >>>> Compiling source in /var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/work/netwatch-1.3.0 ... >make -j4 >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c curs.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c dispdata.c >clang -g -c services.c >clang -DVERSION='"1.3.0"' -DRELEASE='"1"' -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c netwatch.c >dispdata.c:43:8: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >extern destroy_program; >~~~~~~ ^ >int >dispdata.c:303:44: warning: passing arguments to 'inet_ntoa' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > ntohs (p->un.echo.sequence), inet_ntoa (p->un.gateway), > ^ >dispdata.c:327:17: warning: passing arguments to 'inet_ntoa' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > w = inet_ntoa (*pa); > ^ >dispdata.c:330:17: warning: passing arguments to 'inet_ntoa' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > w = inet_ntoa (*pa); > ^ >dispdata.c:410:5: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > p = &b->buf[magnaoffs]; > ^ ~~~~~~~~~~~~~~~~~~ >dispdata.c:641:2: error: clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c processinetrc.c >call to undeclared function 'dokeyin'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > dokeyin ('l'); > ^ >dispdata.c:724:7: error: call to undeclared function 'uthread_wait'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > uthread_wait(1000); > ^ >dispdata.c:724:7: note: did you mean 'pthread_exit'? >/usr/include/pthread.h:211:13: note: 'pthread_exit' declared here >extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); > ^ >netwatch.c:677:4: error: call to undeclared function 'dokeyin'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > dokeyin (keycomm[i]); > ^ >netwatch.c:955:31: warning: format specifies type 'long' but the argument has > type 'pid_t' (aka 'int') [-Wformat] > WEXITSTATUS (status), killpid); > ^~~~~~~ >netwatch.c:963:28: warning: format specifies type 'long' but the argument has > type 'pid_t' (aka 'int') [-Wformat] > WTERMSIG (status), killpid); > ^~~~~~~ >netwatch.c:1170:5: error: call to undeclared function 'gh'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > gh (3); > ^ >netwatch.c:1174:3: error: call to undeclared function 'gh'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > gh (1); > ^ >dispdata.c:1398:18: warning: passing 'unsigned char[4]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > makeaddr (current->addr, thost); > ^~~~~~~~~~~~~ >dispdata.c:220:21: note: passing argument to parameter 'naddr' here >void makeaddr (char naddr[], char ascii[]); > ^ >dispdata.c:1475:31: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > mvprintw (yact, xleft, ttt); > ^~~ >dispdata.c:1475:31: note: treat the string as an argument to avoid this > mvprintw (yact, xleft, ttt); > ^ > "%s", >netwatch.c:1695:35: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > fileclk = getoneeth (simfp, buf, &length); > ^~~ >netwatch.c:1608:37: note: passing argument to parameter 'buf' here >clock_t getoneeth (FILE * fp, char *buf, int *plen) > ^ >dispdata.c:1654:18: warning: passing 'unsigned char[4]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > makeaddr (current->addr, thost); > ^~~~~~~~~~~~~ >dispdata.c:220:21: note: passing argument to parameter 'naddr' here >void makeaddr (char naddr[], char ascii[]); > ^ >netwatch.c:1721:10: error: call to undeclared function 'dokeyin'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (dokeyin (0) < 0) > ^ >dispdata.c:1723:32: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > mvprintw (yact, xright, ttt); > ^~~ >dispdata.c:1723:32: note: treat the string as an argument to avoid this > mvprintw (yact, xright, ttt); > ^ > "%s", >netwatch.c:1750:31: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > fileclk = getoneeth (simfp, buf, &length); > ^~~ >netwatch.c:1608:37: note: passing argument to parameter 'buf' here >clock_t getoneeth (FILE * fp, char *buf, int *plen) > ^ >netwatch.c:1786:31: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts betweendispdata.c :pointers1762 :to5 :integer error: typescall whereto oneundeclared isfunction of'uthread_wait'; theISO > C99unique > plainand 'char'later typedo andnot thesupport otherimplicit isfunction notdeclarations >[-Wpointer-sign] >[-Werror,-Wimplicit-function-declaration] > uthread_wait(1000); > ^ > fileclk = putoneeth (simfp, buf, &length); > ^~~ >netwatch.c:1561:37: note: passing argument to parameter 'buf' here >clock_t putoneeth (FILE * fp, char *buf, int *plen) > ^ >8 warnings and 4 errors generated. >netwatch.c:1816:12: error: call to undeclared function 'dokeyin'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (dokeyin (0) < 0) > ^ >netwatch.c:1830:8: error: call to undeclared function 'dokeyin'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (dokeyin (0) < 0) > ^ >netwatch.c:1847:1: warning: non-void function does not return a value in all > control paths [-Wreturn-type] >} >^ >netwatch.c:1863:15: error: call to undeclared function 'dokeyin'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > while ((stat=dokeyin(0))>=0) > ^ >netwatch.c:1884:12: error: call to undeclared function 'doeth'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > while (doeth()>=0) > ^ >netwatch.c:1919:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >netwatch.c:1964:5: error: call to undeclared function 'gh'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > gh (0); > ^ >netwatch.c:2187:51: warning: format specifies type 'unsigned int *' but the > argument has type 'u_int16_t *' (aka 'unsigned short *') [-Wformat] > ...if (sscanf(ssh_env,"%s %u %u",ssh_orig_addr_asc,&ssh_orig_port,&ssh_dest... > ~~ ^~~~~~~~~~~~~~ > %hu >netwatch.c:2187:66: warning: format specifies type 'unsigned int *' but the > argument has type 'u_int16_t *' (aka 'unsigned short *') [-Wformat] > ...%u %u",ssh_orig_addr_asc,&ssh_orig_port,&ssh_dest_port)!=3) > ~~ ^~~~~~~~~~~~~~ > %hu >netwatch.c:2389:12: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > sprintf (buf, "%s.%03d", speclogfile, speclogext); > ^~~ >/usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here >extern int sprintf (char *__restrict __s, > ^ >netwatch.c:2390:22: warning: passing 'unsigned char[2049]' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > fpspeclog = fopen (buf, "w"); > ^~~ >/usr/include/stdio.h:258:44: note: passing argument to parameter '__filename' > here >extern FILE *fopen (const char *__restrict __filename, > ^ >netwatch.c:2493:7: error: call to undeclared function 'gh'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > gh (3); > ^ >netwatch.c:2498:3: error: call to undeclared function 'gh'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > gh (1); > ^ >make: *** [Makefile:40: dispdata.o] Error 1 >make: *** Waiting for unfinished jobs.... >netwatch.c:3285:34: warning: passing 'char *' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > mygethostbyaddr (work->name, (char *) key, 4, AF_INET); > ^~~~~~~~~~~~ >netwatch.c:1065:51: note: passing argument to parameter 'p' here >void mygethostbyaddr (char *where, unsigned char *p, int len, int proto) > ^ >netwatch.c:3785:3: error: call to undeclared function 'gh'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > gh (2); > ^ >netwatch.c:3816:31: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > (struct sockaddr *) &saddr, &sizeaddr); > ^~~~~~~~~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >netwatch.c:4338:34: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > (fileclk = getoneeth (simfp, buf, &length)) >= 0) > ^~~ >netwatch.c:1608:37: note: passing argument to parameter 'buf' here >clock_t getoneeth (FILE * fp, char *buf, int *plen) > ^ >netwatch.c:4344:28: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > putoneeth (simfp, buf, &length) >= 0) > ^~~ >netwatch.c:1561:37: note: passing argument to parameter 'buf' here >clock_t putoneeth (FILE * fp, char *buf, int *plen) > ^ >netwatch.c:4538:34: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > fileclk = getoneeth (simfp, buf, &length); > ^~~ >netwatch.c:1608:37: note: passing argument to parameter 'buf' here >clock_t getoneeth (FILE * fp, char *buf, int *plen) > ^ >netwatch.c:4543:34: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > fileclk = putoneeth (simfp, buf, &length); > ^~~ >netwatch.c:1561:37: note: passing argument to parameter 'buf' here >clock_t putoneeth (FILE * fp, char *buf, int *plen) > ^ >netwatch.c:4547:34: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > fileclk = getoneeth (simfp, buf, &length); > ^~~ >netwatch.c:1608:37: note: passing argument to parameter 'buf' here >clock_t getoneeth (FILE * fp, char *buf, int *plen) > ^ >netwatch.c:4576:34: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > fileclk = putoneeth (simfp, buf, &length); > ^~~ >netwatch.c:1561:37: note: passing argument to parameter 'buf' here >clock_t putoneeth (FILE * fp, char *buf, int *plen) > ^ >netwatch.c:4581:34: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > fileclk = getoneeth (simfp, buf, &length); > ^~~ >netwatch.c:1608:37: note: passing argument to parameter 'buf' here >clock_t getoneeth (FILE * fp, char *buf, int *plen) > ^ >netwatch.c:4585:34: warning: passing 'unsigned char[2049]' to parameter of type > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > fileclk = putoneeth (simfp, buf, &length); > ^~~ >netwatch.c:1561:37: note: passing argument to parameter 'buf' here >clock_t putoneeth (FILE * fp, char *buf, int *plen) > ^ >netwatch.c:4259:14: warning: multiple unsequenced modifications to 'bpsflag' > [-Wunsequenced] > bpsflag = ++bpsflag & 1; > ~ ^ >22 warnings and 12 errors generated. >make: *** [Makefile:47: netwatch.o] Error 1 > * ERROR: net-analyzer/netwatch-1.3.0.1-r4::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/netwatch-1.3.0.1-r4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/netwatch-1.3.0.1-r4::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:netwatch-1.3.0.1-r4:20220918-114039.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/work/netwatch-1.3.0' > * S: '/var/tmp/portage/net-analyzer/netwatch-1.3.0.1-r4/work/netwatch-1.3.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 871375
:
811267
|
811270
|
811273
|
811276
|
811279
|
811282
| 811285 |
811288