Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 627416 Details for
Bug 715462
net-analyzer/bwmon-1.3-r2 : ../.../bwmon.h: error: unknown type name ulong
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:bwmon-1.3-r2:20200330-135612.log
net-analyzer:bwmon-1.3-r2:20200330-135612.log (text/plain), 5.05 KB, created by
Toralf Förster
on 2020-03-30 15:04:16 UTC
(
hide
)
Description:
net-analyzer:bwmon-1.3-r2:20200330-135612.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-30 15:04:16 UTC
Size:
5.05 KB
patch
obsolete
> * Package: net-analyzer/bwmon-1.3-r2 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking bwmon-1.3.tar.gz to /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work >>>> Preparing source in /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3 ... > * Applying bwmon-1.3-build.patch ... > [ ok ] > * Applying bwmon-1.3-typo-fix.patch ... > [ ok ] > * Applying bwmon-1.3-overflow.patch ... > [ ok ] > * Applying bwmon-1.3-tinfo.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3 ... >make -j1 -C src CC=x86_64-gentoo-linux-musl-gcc PKG_CONFIG=x86_64-gentoo-linux-musl-pkg-config >make: Entering directory '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3/src' >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I../include -Wall -D__THREADS -c -o bwmon.o bwmon.c >In file included from bwmon.c:2: >../include/bwmon.h:53:5: error: unknown type name âulongâ > 53 | ulong tx_rate_whole, rx_rate_whole, tot_rate_whole; > | ^~~~~ >../include/bwmon.h:54:5: error: unknown type name âulongâ > 54 | ulong tx_bytes_old, rx_bytes_old, tx_bytes_new; > | ^~~~~ >../include/bwmon.h:55:5: error: unknown type name âulongâ > 55 | ulong rx_bytes_new, tx_kbytes_dif, rx_kbytes_dif; > | ^~~~~ >../include/bwmon.h:56:5: error: unknown type name âulongâ > 56 | ulong time_diff_ms; > | ^~~~~ >../include/bwmon.h:60:5: error: unknown type name âulongâ > 60 | ulong rx_max_whole, rx_max_part, tx_max_whole, tx_max_part; > | ^~~~~ >../include/bwmon.h:64:5: error: unknown type name âulongâ > 64 | ulong rx_bw_total_whole, tx_bw_total_whole, tot_bw_total_whole; > | ^~~~~ >../include/bwmon.h:74:1: error: unknown type name âulongâ; did you mean âlongâ? > 74 | ulong bwm_calc_remainder(ulong, ulong); > | ^~~~~ > | long >../include/bwmon.h:74:1: warning: parameter names (without types) in function declaration >bwmon.c: In function âmainâ: >bwmon.c:108:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 108 | if (pthread_create(&exit_thread, NULL, wait_for_exit, (void *) getpid())) > | ^ >bwmon.c: In function âdo_interfaceâ: >bwmon.c:211:32: error: âulongâ undeclared (first use in this function) > 211 | (*interface)->time_diff_ms = (ulong) > | ^~~~~ >bwmon.c:211:32: note: each undeclared identifier is reported only once for each function it appears in >bwmon.c: In function âprint_maxâ: >bwmon.c:300:2: error: unknown type name âulongâ; did you mean âlongâ? > 300 | ulong max_whole = (*interface)->rx_max_whole + (*interface)->tx_max_whole; > | ^~~~~ > | long >bwmon.c:301:2: error: unknown type name âulongâ; did you mean âlongâ? > 301 | ulong max_part = (*interface)->rx_max_part + (*interface)->tx_max_part; > | ^~~~~ > | long >bwmon.c: At top level: >bwmon.c:356:1: error: conflicting types for âbwm_calc_remainderâ > 356 | bwm_calc_remainder(unsigned long num, unsigned long den) > | ^~~~~~~~~~~~~~~~~~ >In file included from bwmon.c:2: >../include/bwmon.h:74:7: note: previous declaration of âbwm_calc_remainderâ was here > 74 | ulong bwm_calc_remainder(ulong, ulong); > | ^~~~~~~~~~~~~~~~~~ >bwmon.c: In function âprint_uptimeâ: >bwmon.c:413:9: error: âuintâ undeclared (first use in this function); did you mean âintâ? > 413 | tmp = (uint)(*uptime); > | ^~~~ > | int >bwmon.c: In function âwait_for_exitâ: >bwmon.c:471:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 471 | kill((int)pid, SIGALRM); > | ^ >bwmon.c:475:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 475 | kill((int)pid, SIGINT); > | ^ >make: *** [<builtin>: bwmon.o] Error 1 >make: Leaving directory '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3/src' > * ERROR: net-analyzer/bwmon-1.3-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/bwmon-1.3-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/bwmon-1.3-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:bwmon-1.3-r2:20200330-135612.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3' > * S: '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3'
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 715462
:
627408
|
627410
|
627412
|
627414
| 627416 |
627418