Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877812 Details for
Bug 919358
net-analyzer/raddump-0.3.1 - pktrecord.c: error: passing argument 3 of pcap_next_ex 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:raddump-0.3.1:20231206-080244.log
net-analyzer:raddump-0.3.1:20231206-080244.log (text/plain), 7.82 KB, created by
Toralf Förster
on 2023-12-06 17:02:17 UTC
(
hide
)
Description:
net-analyzer:raddump-0.3.1:20231206-080244.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-06 17:02:17 UTC
Size:
7.82 KB
patch
obsolete
> * Package: net-analyzer/raddump-0.3.1:0 > * Repository: gentoo > * Maintainer: robbat2@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking raddump-0.3.1.tar.gz to /var/tmp/portage/net-analyzer/raddump-0.3.1/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/raddump-0.3.1/work >>>> Preparing source in /var/tmp/portage/net-analyzer/raddump-0.3.1/work/raddump-0.3.1 ... > * Running eautoreconf in '/var/tmp/portage/net-analyzer/raddump-0.3.1/work/raddump-0.3.1' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/raddump-0.3.1/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: raddump-0.3.1/ > * Applying portage/1.5.10 patch ... > * Applying max_cmd_len/1.5.20 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/1.5 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/raddump-0.3.1/work/raddump-0.3.1 ... > * econf: updating raddump-0.3.1/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating raddump-0.3.1/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/raddump-0.3.1 --htmldir=/usr/share/doc/raddump-0.3.1/html --libdir=/usr/lib64 >configure: loading site script /usr/share/config.site >checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether the compiler supports GNU C++... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking whether ln -s works... yes >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/time.h... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for stdlib.h... (cached) yes >checking for unistd.h... (cached) yes >checking for netinet/in.h... yes >checking for sys/time.h... (cached) yes >checking for net/ethernet.h... yes >checking for arpa/inet.h... yes >checking for netdb.h... yes >checking for sys/socket.h... yes >checking for sys/types.h... (cached) yes >checking for sys/ethernet.h... no >checking for net/if.h... yes >checking for netinet/udp.h... yes >checking for netinet/if_ether.h... yes >checking for sys/vlan_if.h... no >checking for linux/if_ether.h... yes >checking for linux/if_vlan.h... yes >checking for pcap.h... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking for struct udphdr.uh_sport... yes >checking for struct udphdr.source... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for GNU libc compatible malloc... yes >checking for library containing inet_ntoa... none required >checking for library containing pcap_open_offline... -lpcap >checking for pcap_next_ex... yes >checking for localtime_r... yes >checking for gethostbyaddr... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/raddump-0.3.1/work/raddump-0.3.1 ... >make -j4 >make all-am >make[1]: Entering directory '/var/tmp/portage/net-analyzer/raddump-0.3.1/work/raddump-0.3.1' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o raddump.o raddump.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o pktrecord.o pktrecord.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o radius.o radius.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -c -o vsa.o vsa.c >pktrecord.c: In function âtcpdump_nextâ: >pktrecord.c:172:20: error: passing argument 3 of âpcap_next_exâ from incompatible pointer type [-Wincompatible-pointer-types] > 172 | &(p->pkt_data)) != 1) return 0; > | ^~~~~~~~~~~~~~ > | | > | unsigned char ** >In file included from /usr/include/pcap.h:43, > from pktrecord.c:42: >/usr/include/pcap/pcap.h:574:63: note: expected âconst u_char **â {aka âconst unsigned char **â} but argument is of type âunsigned char **â > 574 | AP_API int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **); > | ^~~~~~~~~~~~~~~ > >make[1]: *** [Makefile:472: pktrecord.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >raddump.c: In function âmainâ: >raddump.c:202:31: warning: format â%dâ expects argument of type âintâ, but argument 5 has type â__suseconds_tâ {aka âlong intâ} [-Wformat=] > 202 | printf("%02d:%02d:%02d.%06d radius %s%s:%d > %s:%d %s %u\n", > | ~~~^ > | | > | int > | %06ld > 203 | localt.tm_hour, localt.tm_min, localt.tm_sec, > 204 | tstamp.tv_usec, > | ~~~~~~~~~~~~~~ > | | > | __suseconds_t {aka long int} >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/raddump-0.3.1/work/raddump-0.3.1' >make: *** [Makefile:349: all] Error 2 > * ERROR: net-analyzer/raddump-0.3.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/raddump-0.3.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/raddump-0.3.1::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:raddump-0.3.1:20231206-080244.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/raddump-0.3.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/raddump-0.3.1/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/raddump-0.3.1/work/raddump-0.3.1' > * S: '/var/tmp/portage/net-analyzer/raddump-0.3.1/work/raddump-0.3.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 919358
:
877806
|
877807
|
877808
|
877809
|
877810
|
877811
| 877812 |
877813
|
877814