Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 810460 Details for
Bug 871207
app-misc/irtrans-irclient-6.01.05-r1 - client.c: error: call to undeclared function close; ISO C99 and later
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-misc:irtrans-irclient-6.01.05-r1:20220918-092006.log
app-misc:irtrans-irclient-6.01.05-r1:20220918-092006.log (text/plain), 17.67 KB, created by
Toralf Förster
on 2022-09-18 09:21:04 UTC
(
hide
)
Description:
app-misc:irtrans-irclient-6.01.05-r1:20220918-092006.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-18 09:21:04 UTC
Size:
17.67 KB
patch
obsolete
> * Package: app-misc/irtrans-irclient-6.01.05-r1:0 > * Repository: gentoo > * Maintainer: mario.fetka@gmail.com proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking irclient-src-6.01.05.tar.gz to /var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/work >>>> Unpacking irtrans-irclient-5.11.04-ip_assign-1.patch.bz2 to /var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/work >>>> Source unpacked in /var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/work >>>> Preparing source in /var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/work ... > * Applying irtrans-irclient-5.11.04-ip_assign-1.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/work ... > * Please use append-cppflags for preprocessor flags >make -j4 CXX=clang++ CC=clang 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'CXXFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DLINUX' irclient64 >clang -DLINUX -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -DX64 -m64 -c client.c -o x64/client.o >client.c:51:10: warning: the current #pragma pack alignment value is modified in > the included file [-Wpragma-pack] >#include "remote.h" > ^ >./remote.h:61:9: note: previous '#pragma pack' directive that modifies alignment > is here >#pragma pack(1) > ^ >client.c:93:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >main (int argc,char *argv[]) >^ >int >client.c:165:59: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > ...< rem.count_buffer;i++) printf ("%s\n",trim (rem.remotes[i].name,80)); > ^~~~~~~~~~~~~~~~~~~ >client.c:62:18: note: passing argument to parameter 'st' here >char *trim (char st[],int i); > ^ >client.c:190:59: warning: passing 'int8_t[20]' (aka 'signed char[20]') 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] > ...(i=0;i < cmd.count_buffer;i++) printf ("%s\n",trim (cmd.commands[i],20)); > ^~~~~~~~~~~~~~~ >client.c:62:18: note: passing argument to parameter 'st' here >char *trim (char st[],int i); > ^ >client.c:221:10: warning: passing 'uint8_t[81]' (aka 'unsigned char[81]') 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] > strcpy (tim.remote,"irtrans"); > ^~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:222:10: warning: passing 'uint8_t[21]' (aka 'unsigned char[21]') 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] > strcpy (tim.ircommand,"1"); > ^~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:423:58: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > ...(mode) printf ("RCV: %s.%s - %d [%d: %s]\n",trim (rcv->remote,80),trim (... > ^~~~~~~~~~~ >client.c:62:18: note: passing argument to parameter 'st' here >char *trim (char st[],int i); > ^ >client.c:423:80: warning: passing 'int8_t[20]' (aka 'signed char[20]') 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] > ...%s.%s - %d [%d: %s]\n",trim (rcv->remote,80),trim (rcv->command,20),rcv-... > ^~~~~~~~~~~~ >client.c:62:18: note: passing argument to parameter 'st' here >char *trim (char st[],int i); > ^ >client.c:423:129: warning: passing 'int8_t[200]' (aka 'signed char[200]') 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] > ...(rcv->command,20),rcv->adress,rcv->clientid,trim (rcv->data,200)); > ^~~~~~~~~ >client.c:62:18: note: passing argument to parameter 'st' here >char *trim (char st[],int i); > ^ >client.c:513:10: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > strcpy (com.remote,"XXXshutdownXXX"); > ^~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:703:14: warning: passing 'int8_t *' (aka 'signed char *') 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] > if (strcmp (status->stat[bus][adr].version+1,"3.02.10") >= 0) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:156:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >client.c:709:14: warning: passing 'int8_t *' (aka 'signed char *') 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] > if (strcmp (status->stat[bus][adr].version+1,"4.04.01") >= 0) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:156:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >client.c:717:15: warning: passing 'int8_t *' (aka 'signed char *') 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] > if (strcmp (status->stat[bus][adr].version+1,"4.04.35") >= 0) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:156:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >client.c:721:14: warning: passing 'int8_t *' (aka 'signed char *') 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] > if (strcmp (status->stat[bus][adr].version+1,"4.05.01") >= 0) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:156:32: note: passing argument to parameter '__s1' here >extern int strcmp (const char *__s1, const char *__s2) > ^ >client.c:1582:13: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > strcpy (mod.hotremote_2,"_"); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1664:12: warning: passing 'int8_t[20]' (aka 'signed char[20]') 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] > strcpy (command.command,status->stat[bus][adr].command); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1664:28: warning: passing 'int8_t[20]' (aka 'signed char[20]') 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] > strcpy (command.command,status->stat[bus][adr].command); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:141:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1665:12: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > strcpy (command.remote,status->stat[bus][adr].remote); > ^~~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1665:27: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > strcpy (command.remote,status->stat[bus][adr].remote); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:141:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1681:13: warning: passing 'int8_t[20]' (aka 'signed char[20]') 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] > strcpy (command.command,status->stat[bus... > ^~~~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1681:29: warning: passing 'int8_t[20]' (aka 'signed char[20]') 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] > ...strcpy (command.command,status->stat[bus][adr].command2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:141:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1682:13: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > strcpy (command.remote,status->stat[bus]... > ^~~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1682:28: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > ...strcpy (command.remote,status->stat[bus][adr].remote2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:141:70: note: passing argument to parameter '__src' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1924:12: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > strcpy (irdbcom->remote,remote); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1929:12: warning: passing 'uint8_t[100]' (aka 'unsigned char[100]') 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] > strcpy (irdb.default_action,command); > ^~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1938:11: warning: passing 'int8_t[200]' (aka 'signed char[200]') 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] > strcpy (lcd->framebuffer,remote); > ^~~~~~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1949:11: warning: passing 'uint8_t[256]' (aka 'unsigned char[256]') 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] > strcpy (ser->data,remote); > ^~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1952:11: warning: passing 'int8_t[80]' (aka 'signed char[80]') 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] > strcpy (com->remote,remote); > ^~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1953:24: warning: passing 'int8_t[20]' (aka 'signed char[20]') 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] > if (command) strcpy (com->command,command); > ^~~~~~~~~~~~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >client.c:1984:3: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > closesocket (serv); > ^ >client.c:47:21: note: expanded from macro 'closesocket' >#define closesocket close > ^ >28 warnings and 2 errors generated. >make: *** [makefile:64: x64/client.o] Error 1 > * ERROR: app-misc/irtrans-irclient-6.01.05-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-misc/irtrans-irclient-6.01.05-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-misc/irtrans-irclient-6.01.05-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-misc:irtrans-irclient-6.01.05-r1:20220918-092006.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/work' > * S: '/var/tmp/portage/app-misc/irtrans-irclient-6.01.05-r1/work' >
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 871207
:
810457
| 810460 |
810463
|
810466
|
810469
|
810472