Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 876839 Details for
Bug 919189
net-analyzer/gensink-4.1-r2 - tub4.c: error: passing argument 2 of bind from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:gensink-4.1-r2:20231204-185447.log
net-analyzer:gensink-4.1-r2:20231204-185447.log (text/plain), 3.84 KB, created by
Toralf Förster
on 2023-12-04 19:02:07 UTC
(
hide
)
Description:
net-analyzer:gensink-4.1-r2:20231204-185447.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-04 19:02:07 UTC
Size:
3.84 KB
patch
obsolete
> * Package: net-analyzer/gensink-4.1-r2:0 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking gensink-4.1.tar.gz to /var/tmp/portage/net-analyzer/gensink-4.1-r2/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/gensink-4.1-r2/work >>>> Preparing source in /var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1 ... > * Applying gensink-4.1-make.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1 ... >make -j4 >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c gen4.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c report.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c sink4.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c tub4.c >tub4.c: In function âmainâ: >tub4.c:133:15: error: passing argument 2 of âbindâ from incompatible pointer type [-Wincompatible-pointer-types] > 133 | if (bind(s, &saddr, sizeof(saddr)) != 0) > | ^~~~~~ > | | > | struct sockaddr_in * >In file included from tub4.c:22: >/usr/include/sys/socket.h:112:49: note: expected âconst struct sockaddr *â but argument is of type âstruct sockaddr_in *â > 112 | extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) > | ^ >sink4.c: In function âmainâ: >sink4.c:125:21: error: passing argument 2 of âbindâ from incompatible pointer type [-Wincompatible-pointer-types] > 125 | if (bind(s, &saddr, sizeof(saddr)) != 0) > | ^~~~~~ > | | > | struct sockaddr_in * >In file included from sink4.c:19: >/usr/include/sys/socket.h:112:49: note: expected âconst struct sockaddr *â but argument is of type âstruct sockaddr_in *â > 112 | extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) > | ^ >make: *** [Makefile:6: tub4.o] Error 1 >make: *** Waiting for unfinished jobs.... >make: *** [Makefile:6: sink4.o] Error 1 >gen4.c: In function âmainâ: >gen4.c:116:24: error: passing argument 2 of âconnectâ from incompatible pointer type [-Wincompatible-pointer-types] > 116 | if (connect(s, &saddr, sizeof(saddr)) != 0) > | ^~~~~~ > | | > | struct sockaddr_in * >In file included from gen4.c:19: >/usr/include/sys/socket.h:126:52: note: expected âconst struct sockaddr *â but argument is of type âstruct sockaddr_in *â > 126 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); > | ^ >make: *** [Makefile:6: gen4.o] Error 1 > * ERROR: net-analyzer/gensink-4.1-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/gensink-4.1-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/gensink-4.1-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:gensink-4.1-r2:20231204-185447.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/gensink-4.1-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/gensink-4.1-r2/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1' > * S: '/var/tmp/portage/net-analyzer/gensink-4.1-r2/work/gensink-4.1' >
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 919189
:
876834
|
876835
|
876836
|
876837
|
876838
| 876839 |
876840
|
876841