Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 879382 Details for
Bug 919877
net-misc/taptap-1.0-r1 - taptap-1.0.c: error: implicit declaration of function memset [-Wimplicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:taptap-1.0-r1:20231214-102659.log
net-misc:taptap-1.0-r1:20231214-102659.log (text/plain), 3.79 KB, created by
Toralf Förster
on 2023-12-14 10:37:48 UTC
(
hide
)
Description:
net-misc:taptap-1.0-r1:20231214-102659.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-14 10:37:48 UTC
Size:
3.79 KB
patch
obsolete
> * Package: net-misc/taptap-1.0-r1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Source unpacked in /var/tmp/portage/net-misc/taptap-1.0-r1/work >>>> Preparing source in /var/tmp/portage/net-misc/taptap-1.0-r1/work ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/taptap-1.0-r1/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/taptap-1.0-r1/work ... > * x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o taptap taptap-1.0.c >taptap-1.0.c: In function âmainâ: >taptap-1.0.c:65:9: error: implicit declaration of function âmemsetâ [-Wimplicit-function-declaration] > 65 | memset(&ifr, 0, sizeof(ifr)); > | ^~~~~~ >taptap-1.0.c:43:1: note: include â<string.h>â or provide a declaration of âmemsetâ > 42 | #include <sys/ioctl.h> > +++ |+#include <string.h> > 43 | >taptap-1.0.c:65:9: warning: incompatible implicit declaration of built-in function âmemsetâ [-Wbuiltin-declaration-mismatch] > 65 | memset(&ifr, 0, sizeof(ifr)); > | ^~~~~~ >taptap-1.0.c:65:9: note: include â<string.h>â or provide a declaration of âmemsetâ >taptap-1.0.c:68:9: error: implicit declaration of function âstrncpyâ [-Wimplicit-function-declaration] > 68 | strncpy(ifr.ifr_name, "tun%d", IFNAMSIZ); > | ^~~~~~~ >taptap-1.0.c:68:9: note: include â<string.h>â or provide a declaration of âstrncpyâ >taptap-1.0.c:68:9: warning: incompatible implicit declaration of built-in function âstrncpyâ [-Wbuiltin-declaration-mismatch] >taptap-1.0.c:68:9: note: include â<string.h>â or provide a declaration of âstrncpyâ >taptap-1.0.c:81:9: warning: ignoring return value of âdaemonâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 81 | daemon(0,0); > | ^~~~~~~~~~~ >taptap-1.0.c:86:25: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 86 | write(dev2,(void*)&buf,cnt); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >taptap-1.0.c:91:25: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 91 | write(dev1,(void*)&buf,cnt); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > * ERROR: net-misc/taptap-1.0-r1::gentoo failed (compile phase): > * Failed to run command: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o taptap taptap-1.0.c > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 1248: Called edo 'x86_64-pc-linux-gnu-gcc' '-O2' '-pipe' '-march=native' '-fno-diagnostics-color' '-Wl,-O1' '-Wl,--as-needed' '-Wl,--defsym=__gentoo_check_ldflags__=0' '-o' 'taptap' 'taptap-1.0.c' > * environment, line 601: Called die > * The specific snippet of code: > * "$@" || die -n "Failed to run command: $@" > * > * If you need support, post the output of `emerge --info '=net-misc/taptap-1.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/taptap-1.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:taptap-1.0-r1:20231214-102659.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/taptap-1.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/taptap-1.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/taptap-1.0-r1/work' > * S: '/var/tmp/portage/net-misc/taptap-1.0-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 919877
:
879377
|
879378
|
879379
|
879380
|
879381
| 879382 |
879383