Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 879566 Details for
Bug 920107
net-analyzer/httping-2.9 - http.c: error: implicit declaration of function malloc [-Wimplicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:httping-2.9:20231215-232349.log
net-analyzer:httping-2.9:20231215-232349.log (text/plain), 5.16 KB, created by
Toralf Förster
on 2023-12-16 10:43:47 UTC
(
hide
)
Description:
net-analyzer:httping-2.9:20231215-232349.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-16 10:43:47 UTC
Size:
5.16 KB
patch
obsolete
> * Package: net-analyzer/httping-2.9: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 httping-2.9.tar.gz to /var/tmp/portage/net-analyzer/httping-2.9/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/httping-2.9/work >>>> Preparing source in /var/tmp/portage/net-analyzer/httping-2.9/work/HTTPing-2.9 ... > * Applying httping-2.2.1-flags.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/httping-2.9/work/HTTPing-2.9 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/httping-2.9/work/HTTPing-2.9 ... >make -j4 CC=x86_64-pc-linux-gnu-gcc FW=no DEBUG=no NC=no SSL=no TFO=no >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -W -Wextra -pedantic -DVERSION=\"2.9\" -DLOCALEDIR=\"/usr/share/locale\" -DNO_SSL -c -o gen.o gen.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -W -Wextra -pedantic -DVERSION=\"2.9\" -DLOCALEDIR=\"/usr/share/locale\" -DNO_SSL -c -o http.o http.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -W -Wextra -pedantic -DVERSION=\"2.9\" -DLOCALEDIR=\"/usr/share/locale\" -DNO_SSL -c -o io.o io.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -W -Wextra -pedantic -DVERSION=\"2.9\" -DLOCALEDIR=\"/usr/share/locale\" -DNO_SSL -c -o error.o error.c >http.c: In function âget_HTTP_headersâ: >http.c:21:32: error: implicit declaration of function âmallocâ [-Wimplicit-function-declaration] > 21 | char *buffer = (char *)malloc(len + 1); > | ^~~~~~ >http.c:16:1: note: include â<stdlib.h>â or provide a declaration of âmallocâ > 15 | #include "utils.h" > +++ |+#include <stdlib.h> > 16 | >http.c:21:32: warning: incompatible implicit declaration of built-in function âmallocâ [-Wbuiltin-declaration-mismatch] > 21 | char *buffer = (char *)malloc(len + 1); > | ^~~~~~ >http.c:21:32: note: include â<stdlib.h>â or provide a declaration of âmallocâ >http.c:47:25: error: implicit declaration of function âfreeâ [-Wimplicit-function-declaration] > 47 | free(buffer); > | ^~~~ >http.c:47:25: note: include â<stdlib.h>â or provide a declaration of âfreeâ >http.c:47:25: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] >http.c:47:25: note: include â<stdlib.h>â or provide a declaration of âfreeâ >http.c:64:42: error: implicit declaration of function âreallocâ [-Wimplicit-function-declaration] > 64 | buffer = (char *)realloc(buffer, len + 1); > | ^~~~~~~ >http.c:64:42: note: include â<stdlib.h>â or provide a declaration of âreallocâ >http.c:64:42: warning: incompatible implicit declaration of built-in function âreallocâ [-Wbuiltin-declaration-mismatch] >http.c:64:42: note: include â<stdlib.h>â or provide a declaration of âreallocâ >http.c:17:41: warning: unused parameter âssl_hâ [-Wunused-parameter] > 17 | int get_HTTP_headers(int socket_h, SSL *ssl_h, char **headers, int *overflow, double timeout) >http.c: In function âdumb_get_HTTP_headersâ: >http.c:82:32: warning: incompatible implicit declaration of built-in function âmallocâ [-Wbuiltin-declaration-mismatch] > 82 | char *buffer = (char *)malloc(len); > | ^~~~~~ >http.c:82:32: note: include â<stdlib.h>â or provide a declaration of âmallocâ >http.c:97:25: warning: incompatible implicit declaration of built-in function âfreeâ [-Wbuiltin-declaration-mismatch] > 97 | free(buffer); > | ^~~~ >http.c:97:25: note: include â<stdlib.h>â or provide a declaration of âfreeâ >http.c:112:42: warning: incompatible implicit declaration of built-in function âreallocâ [-Wbuiltin-declaration-mismatch] > 112 | buffer = (char *)realloc(buffer, len); > | ^~~~~~~ >http.c:112:42: note: include â<stdlib.h>â or provide a declaration of âreallocâ >make: *** [<builtin>: http.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: net-analyzer/httping-2.9::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/httping-2.9::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/httping-2.9::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:httping-2.9:20231215-232349.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/httping-2.9/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/httping-2.9/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/httping-2.9/work/HTTPing-2.9' > * S: '/var/tmp/portage/net-analyzer/httping-2.9/work/HTTPing-2.9' >
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 920107
:
879562
|
879563
|
879564
|
879565
| 879566 |
879567
|
879568