Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 860578 Details for
Bug 904858
net-dialup/rp-pppoe-3.15-r2 - plugin.c: error: VERSION undeclared here (not in a function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-dialup:rp-pppoe-3.15-r2:20230423-063956.log
net-dialup:rp-pppoe-3.15-r2:20230423-063956.log (text/plain), 30.85 KB, created by
Toralf Förster
on 2023-04-23 07:24:34 UTC
(
hide
)
Description:
net-dialup:rp-pppoe-3.15-r2:20230423-063956.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-04-23 07:24:34 UTC
Size:
30.85 KB
patch
obsolete
> * Package: net-dialup/rp-pppoe-3.15-r2:0 > * Repository: gentoo > * Maintainer: jaco@uls.co.za proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking rp-pppoe-3.15.tar.gz to /var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work >>>> Unpacking rp-pppoe-3.14-patches-01.tar.xz to /var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work >>>> Source unpacked in /var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work >>>> Preparing source in /var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work/rp-pppoe-3.15 ... > * Applying patches from /var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work/patches ... > * rp-pppoe-3.10-plugin-options.patch ... > [ ok ] > * rp-pppoe-3.10-posix-source-sigaction.patch ... > [ ok ] > * rp-pppoe-3.11-gentoo.patch ... > [ ok ] > * rp-pppoe-3.11-kmode.patch ... > [ ok ] > * rp-pppoe-3.13-linux-headers.patch ... > [ ok ] > * rp-pppoe-3.14-autotools.patch ... > [ ok ] > * rp-pppoe-3.14-gentoo-netscripts.patch ... > [ ok ] > * rp-pppoe-3.14-username-charset.patch ... > [ ok ] > * Applying rp-pppoe-3.15-no_max_interfaces.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work/rp-pppoe-3.15/src' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/temp/aclocal' ... > [ ok ] > * This package has a configure.in file which has long been deprecated. Please > * update it to use configure.ac instead as newer versions of autotools will die > * when it finds this file. See https://bugs.gentoo.org/426262 for details. > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running elibtoolize in: rp-pppoe-3.15/src/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work/rp-pppoe-3.15 ... > * econf: updating rp-pppoe-3.15/src/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating rp-pppoe-3.15/src/config.guess with /usr/share/gnuconfig/config.guess >./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 --docdir=/usr/share/doc/rp-pppoe-3.15-r2 --htmldir=/usr/share/doc/rp-pppoe-3.15-r2/html --libdir=/usr/lib64 --enable-plugin=/usr/include/pppd >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 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 sys/wait.h that is POSIX.1 compatible... yes >checking for fcntl.h... yes >checking for sys/dlpi.h... no >checking for sys/ioctl.h... yes >checking for sys/time.h... (cached) yes >checking for syslog.h... yes >checking for unistd.h... (cached) yes >checking for net/if_arp.h... yes >checking for netinet/if_ether.h... yes >checking for getopt.h... yes >checking for sys/uio.h... yes >checking for sys/param.h... yes >checking for fcntl.h... (cached) yes >checking for net/bpf.h... no >checking for netpacket/packet.h... yes >checking for net/ethernet.h... yes >checking for asm/types.h... yes >checking for linux/if_packet.h... yes >checking for linux/if_ether.h... yes >checking for sys/socket.h... yes >checking for net/if.h... yes >checking for net/if_dl.h... no >checking for net/if_ether.h... no >checking for net/if_types.h... no >checking for netinet/if_ether.h... (cached) yes >checking for net/if_types.h... (cached) no >checking for net/if_dl.h... (cached) no >checking for linux/if.h... yes >checking for linux/if_pppox.h... yes >checking for an ANSI C-conforming const... yes >checking for pid_t... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking for struct sockaddr_ll... yes >checking for N_HDLC line discipline... yes >checking for working memcmp... yes >checking return type of signal handlers... void >checking for select... yes >checking for socket... yes >checking for strerror... yes >checking for strtol... yes >checking for strlcpy... no >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking size of unsigned short... 2 >checking size of unsigned int... 4 >checking size of unsigned long... 8 >checking for ip... /bin/ip >checking for pppd... /usr/sbin/pppd >checking for setsid... /usr/bin/setsid >checking for id... /usr/bin/id >checking for Linux 2.4.X kernel-mode PPPoE support... no >*** Your kernel does not appear to have built-in PPPoE support, >*** but I will build the kernel-mode plugin anyway. >configure: creating ./config.status >config.status: creating Makefile >config.status: creating libevent/Makefile >config.status: creating ../scripts/pppoe-connect >config.status: creating ../scripts/pppoe-start >config.status: creating ../scripts/pppoe-stop >config.status: creating ../scripts/pppoe-init >config.status: creating ../scripts/pppoe-init-suse >config.status: creating ../scripts/pppoe-setup >config.status: creating ../gui/Makefile >config.status: creating ../gui/tkpppoe >config.status: creating config.h >On this platform, the following targets will be built: >pppoe pppoe-server pppoe-sniff pppoe-relay rp-pppoe.so >Type 'make' to compile the software. >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work/rp-pppoe-3.15 ... >make -j4 AR=x86_64-pc-linux-gnu-ar PLUGIN_PATH=rp-pppoe.so PLUGIN_DIR=/usr/lib64/pppd/2.5.0 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o pppoe.o pppoe.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o if.o if.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o debug.o debug.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o common.o common.c >common.c: In function âdropPrivsâ: >common.c:230:9: warning: ignoring return value of âsetegidâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 230 | setegid(getgid()); > | ^~~~~~~~~~~~~~~~~ >common.c:231:9: warning: ignoring return value of âseteuidâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 231 | seteuid(getuid()); > | ^~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o ppp.o ppp.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o discovery.o discovery.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o pppoe-server.o pppoe-server.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o md5.o md5.c >discovery.c: In function âsendPADRâ: >discovery.c:570:8: warning: array subscript âPPPoETag {aka struct PPPoETagStruct}[0]â is partly outside array bounds of âPPPoEPacket[1]â {aka âstruct PPPoEPacketStruct[1]â} [-Warray-bounds=] > 570 | svc->type = TAG_SERVICE_NAME; > | ^~ >discovery.c:549:17: note: at offset 20 into object âpacketâ of size 1528 > 549 | PPPoEPacket packet; > | ^~~~~~ >discovery.c:571:8: warning: array subscript âPPPoETag {aka struct PPPoETagStruct}[0]â is partly outside array bounds of âPPPoEPacket[1]â {aka âstruct PPPoEPacketStruct[1]â} [-Warray-bounds=] > 571 | svc->length = htons(namelen); > | ^~ >discovery.c:549:17: note: at offset 20 into object âpacketâ of size 1528 > 549 | PPPoEPacket packet; > | ^~~~~~ >cd libevent && make DEFINES="" >make[1]: Entering directory '/var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work/rp-pppoe-3.15/src/libevent' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event.o event.c >discovery.c: In function âsendPADIâ: >discovery.c:354:12: warning: array subscript âPPPoETag {aka struct PPPoETagStruct}[0]â is partly outside array bounds of âPPPoEPacket[1]â {aka âstruct PPPoEPacketStruct[1]â} [-Warray-bounds=] > 354 | svc->type = TAG_SERVICE_NAME; > | ^~ >discovery.c:327:17: note: at offset 20 into object âpacketâ of size 1528 > 327 | PPPoEPacket packet; > | ^~~~~~ >discovery.c:355:12: warning: array subscript âPPPoETag {aka struct PPPoETagStruct}[0]â is partly outside array bounds of âPPPoEPacket[1]â {aka âstruct PPPoEPacketStruct[1]â} [-Warray-bounds=] > 355 | svc->length = htons(namelen); > | ^~ >discovery.c:327:17: note: at offset 20 into object âpacketâ of size 1528 > 327 | PPPoEPacket packet; > | ^~~~~~ >pppoe-server.c: In function âmainâ: >pppoe-server.c:1573:9: warning: ignoring return value of âfreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1573 | fread(&x, 1, sizeof(x), fp); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >pppoe-server.c:1575:9: warning: ignoring return value of âfreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1575 | fread(&CookieSeed, 1, SEED_LEN, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pppoe-server.c:1749:9: warning: ignoring return value of âchdirâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1749 | chdir("/"); > | ^~~~~~~~~~ >pppoe-server.c:1789:9: warning: ignoring return value of âftruncateâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1789 | ftruncate(LockFD, 0); > | ^~~~~~~~~~~~~~~~~~~~ >pppoe-server.c:1791:9: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1791 | write(LockFD, buf, strlen(buf)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pppoe-server.c:1803:9: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1803 | write(KidPipe[1], "X", 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o pppoe-sniff.o pppoe-sniff.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="3.15"' -c -o relay.o relay.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_tcp.o event_tcp.c >relay.c: In function âmainâ: >relay.c:343:9: warning: ignoring return value of âchdirâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 343 | chdir("/"); > | ^~~~~~~~~~ >relay.c: In function ârelayLoopâ: >relay.c:806:13: warning: ignoring return value of âreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 806 | read(CleanPipe[0], &dummy, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >relay.c: In function âalarmHandlerâ: >relay.c:1532:9: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1532 | write(CleanPipe[1], "", 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DPLUGIN=1 '-DRP_VERSION="3.15"' -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent -I/usr/include/pppd -c -o plugin/plugin.o -fPIC plugin.c >plugin.c:65:23: error: âVERSIONâ undeclared here (not in a function); did you mean âRP_VERSIONâ? > 65 | char pppd_version[] = VERSION; > | ^~~~~~~ > | RP_VERSION >plugin.c:79:8: error: unknown type name âoption_tâ > 79 | static option_t Options[] = { > | ^~~~~~~~ >plugin.c:80:5: warning: braces around scalar initializer > 80 | { "device name", o_wild, (void *) &PPPoEDevnameHook, > | ^ >plugin.c:80:5: note: (near initialization for âOptions[0]â) >plugin.c:80:7: warning: initialization of âintâ from âchar *â makes integer from pointer without a cast [-Wint-conversion] > 80 | { "device name", o_wild, (void *) &PPPoEDevnameHook, > | ^~~~~~~~~~~~~ >plugin.c:80:7: note: (near initialization for âOptions[0]â) >plugin.c:80:7: error: initializer element is not computable at load time >plugin.c:80:7: note: (near initialization for âOptions[0]â) >plugin.c:80:22: error: âo_wildâ undeclared here (not in a function) > 80 | { "device name", o_wild, (void *) &PPPoEDevnameHook, > | ^~~~~~ >plugin.c:80:22: warning: excess elements in scalar initializer >plugin.c:80:22: note: (near initialization for âOptions[0]â) >plugin.c:80:30: warning: excess elements in scalar initializer > 80 | { "device name", o_wild, (void *) &PPPoEDevnameHook, > | ^ >plugin.c:80:30: note: (near initialization for âOptions[0]â) >plugin.c:81:7: warning: excess elements in scalar initializer > 81 | "PPPoE device name", > | ^~~~~~~~~~~~~~~~~~~ >plugin.c:81:7: note: (near initialization for âOptions[0]â) >plugin.c:82:7: error: âOPT_DEVNAMâ undeclared here (not in a function) > 82 | OPT_DEVNAM | OPT_PRIVFIX | OPT_NOARG | OPT_A2STRVAL | OPT_STATIC, > | ^~~~~~~~~~ >plugin.c:82:20: error: âOPT_PRIVFIXâ undeclared here (not in a function) > 82 | OPT_DEVNAM | OPT_PRIVFIX | OPT_NOARG | OPT_A2STRVAL | OPT_STATIC, > | ^~~~~~~~~~~ >plugin.c:82:34: error: âOPT_NOARGâ undeclared here (not in a function) > 82 | OPT_DEVNAM | OPT_PRIVFIX | OPT_NOARG | OPT_A2STRVAL | OPT_STATIC, > | ^~~~~~~~~ >plugin.c:82:47: error: âOPT_A2STRVALâ undeclared here (not in a function) > 82 | OPT_DEVNAM | OPT_PRIVFIX | OPT_NOARG | OPT_A2STRVAL | OPT_STATIC, > | ^~~~~~~~~~~~ >plugin.c:82:62: error: âOPT_STATICâ undeclared here (not in a function) > 82 | OPT_DEVNAM | OPT_PRIVFIX | OPT_NOARG | OPT_A2STRVAL | OPT_STATIC, > | ^~~~~~~~~~ > >plugin.c:82:7: warning: excess elements in scalar initializer > 82 | OPT_DEVNAM | OPT_PRIVFIX | OPT_NOARG | OPT_A2STRVAL | OPT_STATIC, > | ^~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o hash.o hash.c >plugin.c:82:7: note: (near initialization for âOptions[0]â) >plugin.c:83:7: error: âdevnamâ undeclared here (not in a function) > 83 | devnam}, > | ^~~~~~ >plugin.c:83:7: warning: excess elements in scalar initializer >plugin.c:83:7: note: (near initialization for âOptions[0]â) >plugin.c:84:5: warning: braces around scalar initializer > 84 | { "rp_pppoe_service", o_string, &pppd_pppoe_service, > | ^ >plugin.c:84:5: note: (near initialization for âOptions[1]â) >plugin.c:84:7: warning: initialization of âintâ from âchar *â makes integer from pointer without a cast [-Wint-conversion] > 84 | { "rp_pppoe_service", o_string, &pppd_pppoe_service, > | ^~~~~~~~~~~~~~~~~~ >plugin.c:84:7: note: (near initialization for âOptions[1]â) >plugin.c:84:7: error: initializer element is not computable at load time >plugin.c:84:7: note: (near initialization for âOptions[1]â) >plugin.c:84:27: error: âo_stringâ undeclared here (not in a function) > 84 | { "rp_pppoe_service", o_string, &pppd_pppoe_service, > | ^~~~~~~~ >plugin.c:84:27: warning: excess elements in scalar initializer >plugin.c:84:27: note: (near initialization for âOptions[1]â) >plugin.c:84:37: warning: excess elements in scalar initializer > 84 | { "rp_pppoe_service", o_string, &pppd_pppoe_service, > | ^ >plugin.c:84:37: note: (near initialization for âOptions[1]â) >plugin.c:85:7: warning: excess elements in scalar initializer > 85 | "Desired PPPoE service name" }, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >plugin.c:85:7: note: (near initialization for âOptions[1]â) >plugin.c:86:5: warning: braces around scalar initializer > 86 | { "rp_pppoe_ac", o_string, &acName, > | ^ >plugin.c:86:5: note: (near initialization for âOptions[2]â) >plugin.c:86:7: warning: initialization of âintâ from âchar *â makes integer from pointer without a cast [-Wint-conversion] > 86 | { "rp_pppoe_ac", o_string, &acName, > | ^~~~~~~~~~~~~ >plugin.c:86:7: note: (near initialization for âOptions[2]â) >plugin.c:86:7: error: initializer element is not computable at load time >plugin.c:86:7: note: (near initialization for âOptions[2]â) >plugin.c:86:27: warning: excess elements in scalar initializer > 86 | { "rp_pppoe_ac", o_string, &acName, > | ^~~~~~~~ >plugin.c:86:27: note: (near initialization for âOptions[2]â) >plugin.c:86:37: warning: excess elements in scalar initializer > 86 | { "rp_pppoe_ac", o_string, &acName, > | ^ >plugin.c:86:37: note: (near initialization for âOptions[2]â) >plugin.c:87:7: warning: excess elements in scalar initializer > 87 | "Desired PPPoE access concentrator name" }, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >plugin.c:87:7: note: (near initialization for âOptions[2]â) >plugin.c:88:5: warning: braces around scalar initializer > 88 | { "rp_pppoe_sess", o_string, &existingSession, > | ^ >plugin.c:88:5: note: (near initialization for âOptions[3]â) >plugin.c:88:7: warning: initialization of âintâ from âchar *â makes integer from pointer without a cast [-Wint-conversion] > 88 | { "rp_pppoe_sess", o_string, &existingSession, > | ^~~~~~~~~~~~~~~ >plugin.c:88:7: note: (near initialization for âOptions[3]â) >plugin.c:88:7: error: initializer element is not computable at load time >plugin.c:88:7: note: (near initialization for âOptions[3]â) >plugin.c:88:27: warning: excess elements in scalar initializer > 88 | { "rp_pppoe_sess", o_string, &existingSession, > | ^~~~~~~~ >plugin.c:88:27: note: (near initialization for âOptions[3]â) >plugin.c:88:37: warning: excess elements in scalar initializer > 88 | { "rp_pppoe_sess", o_string, &existingSession, > | ^ >plugin.c:88:37: note: (near initialization for âOptions[3]â) >plugin.c:89:7: warning: excess elements in scalar initializer > 89 | "Attach to existing session (sessid:macaddr)" }, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >plugin.c:89:7: note: (near initialization for âOptions[3]â) >plugin.c:90:5: warning: braces around scalar initializer > 90 | { "rp_pppoe_verbose", o_int, &printACNames, > | ^ >plugin.c:90:5: note: (near initialization for âOptions[4]â) >plugin.c:90:7: warning: initialization of âintâ from âchar *â makes integer from pointer without a cast [-Wint-conversion] > 90 | { "rp_pppoe_verbose", o_int, &printACNames, > | ^~~~~~~~~~~~~~~~~~ >plugin.c:90:7: note: (near initialization for âOptions[4]â) >plugin.c:90:7: error: initializer element is not computable at load time >plugin.c:90:7: note: (near initialization for âOptions[4]â) >plugin.c:90:27: error: âo_intâ undeclared here (not in a function); did you mean âu_intâ? > 90 | { "rp_pppoe_verbose", o_int, &printACNames, > | ^~~~~ > | u_int >plugin.c:90:27: warning: excess elements in scalar initializer >plugin.c:90:27: note: (near initialization for âOptions[4]â) >plugin.c:90:34: warning: excess elements in scalar initializer > 90 | { "rp_pppoe_verbose", o_int, &printACNames, > | ^ >plugin.c:90:34: note: (near initialization for âOptions[4]â) >plugin.c:91:7: warning: excess elements in scalar initializer > 91 | "Be verbose about discovered access concentrators"}, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >plugin.c:91:7: note: (near initialization for âOptions[4]â) >plugin.c:92:5: warning: braces around scalar initializer > 92 | { "rp_pppoe_mac", o_string, &pppoe_reqd_mac, > | ^ >plugin.c:92:5: note: (near initialization for âOptions[5]â) >plugin.c:92:7: warning: initialization of âintâ from âchar *â makes integer from pointer without a cast [-Wint-conversion] > 92 | { "rp_pppoe_mac", o_string, &pppoe_reqd_mac, > | ^~~~~~~~~~~~~~ >plugin.c:92:7: note: (near initialization for âOptions[5]â) >plugin.c:92:7: error: initializer element is not computable at load time >plugin.c:92:7: note: (near initialization for âOptions[5]â) >plugin.c:92:23: warning: excess elements in scalar initializer > 92 | { "rp_pppoe_mac", o_string, &pppoe_reqd_mac, > | ^~~~~~~~ >plugin.c:92:23: note: (near initialization for âOptions[5]â) >plugin.c:92:33: warning: excess elements in scalar initializer > 92 | { "rp_pppoe_mac", o_string, &pppoe_reqd_mac, > | ^ >plugin.c:92:33: note: (near initialization for âOptions[5]â) >plugin.c:93:7: warning: excess elements in scalar initializer > 93 | "Only connect to specified MAC address" }, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >plugin.c:93:7: note: (near initialization for âOptions[5]â) >plugin.c:94:5: warning: braces around scalar initializer > 94 | { NULL } > | ^ >plugin.c:94:5: note: (near initialization for âOptions[6]â) >plugin.c:94:7: warning: initialization of âintâ from âvoid *â makes integer from pointer without a cast [-Wint-conversion] > 94 | { NULL } > | ^~~~ >plugin.c:94:7: note: (near initialization for âOptions[6]â) >plugin.c: In function âPPPOEConnectDeviceâ: >plugin.c:199:13: warning: passing argument 1 of âstrlcpyâ from incompatible pointer type [-Wincompatible-pointer-types] > 199 | strlcpy(ppp_devnam, devnam, sizeof(ppp_devnam)); > | ^~~~~~~~~~ > | | > | const char * (*)() >In file included from plugin.c:28: >pppoe.h:339:22: note: expected âchar *â but argument is of type âconst char * (*)()â > 339 | size_t strlcpy(char *dst, const char *src, size_t size); > | ~~~~~~^~~ >plugin.c:225:5: error: âppp_session_numberâ undeclared (first use in this function); did you mean âppp_get_session_numberâ? > 225 | ppp_session_number = ntohs(conn->session); > | ^~~~~~~~~~~~~~~~~~ > | ppp_get_session_number >plugin.c:225:5: note: each undeclared identifier is reported only once for each function it appears in >plugin.c:235:13: error: âremote_numberâ undeclared (first use in this function) > 235 | sprintf(remote_number, "%02X:%02X:%02X:%02X:%02X:%02X", > | ^~~~~~~~~~~~~ >plugin.c:252:5: warning: implicit declaration of function âscript_setenvâ; did you mean âppp_script_setenvâ? [-Wimplicit-function-declaration] > 252 | script_setenv("MACREMOTE", remote_number, 0); > | ^~~~~~~~~~~~~ > | ppp_script_setenv >plugin.c:255:31: warning: converting a packed âstruct sockaddr_pppoxâ pointer (alignment 1) to a âconst struct sockaddrâ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] > 255 | sizeof(struct sockaddr_pppox)) < 0) { > | ^~~~~~~~~~~~~~ >In file included from plugin.c:57: >/usr/include/linux/if_pppox.h:65:8: note: defined here > 65 | struct sockaddr_pppox { > | ^~~~~~~~~~~~~~ >plugin.c: In function âPPPOESendConfigâ: >plugin.c:281:27: error: âifnameâ undeclared (first use in this function); did you mean ârenameâ? > 281 | strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); > | ^~~~~~ > | rename >plugin.c: In function âPPPOEDisconnectDeviceâ: >plugin.c:323:31: warning: converting a packed âstruct sockaddr_pppoxâ pointer (alignment 1) to a âconst struct sockaddrâ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] > 323 | sizeof(struct sockaddr_pppox)) < 0 && errno != EALREADY) { > | ^~~~~~~~~~~~~~ >/usr/include/linux/if_pppox.h:65:8: note: defined here > 65 | struct sockaddr_pppox { > | ^~~~~~~~~~~~~~ >plugin.c: In function âPPPOEDeviceOptionsâ: >plugin.c:339:14: error: âMAXPATHLENâ undeclared (first use in this function); did you mean âMAXNAMELENâ? > 339 | char buf[MAXPATHLEN]; > | ^~~~~~~~~~ > | MAXNAMELEN >plugin.c:343:9: warning: implicit declaration of function âoptions_from_fileâ [-Wimplicit-function-declaration] > 343 | if(!options_from_file(buf, 0, 0, 1)) > | ^~~~~~~~~~~~~~~~~ >plugin.c:339:10: warning: unused variable âbufâ [-Wunused-variable] > 339 | char buf[MAXPATHLEN]; > | ^~~ >plugin.c: In function âPPPoEDevnameHookâ: >plugin.c:426:17: error: âmodemâ undeclared (first use in this function); did you mean âmode_tâ? > 426 | modem = 0; > | ^~~~~ > | mode_t >plugin.c: In function âplugin_initâ: >plugin.c:468:10: warning: implicit declaration of function âppp_availableâ [-Wimplicit-function-declaration] > 468 | if (!ppp_available() && !new_style_driver) { > | ^~~~~~~~~~~~~ >plugin.c:472:5: warning: implicit declaration of function âadd_optionsâ [-Wimplicit-function-declaration] > 472 | add_options(Options); > | ^~~~~~~~~~~ >plugin.c: In function âpppoe_check_optionsâ: >plugin.c:541:13: warning: implicit declaration of function âoption_errorâ [-Wimplicit-function-declaration] > 541 | option_error("cannot parse pppoe-mac option value"); > | ^~~~~~~~~~~~ >plugin.c: At top level: >plugin.c:580:16: warning: initialization of âstruct option *â from incompatible pointer type âint *â [-Wincompatible-pointer-types] > 580 | .options = Options, > | ^~~~~~~ >plugin.c:580:16: note: (near initialization for âpppoe_channel.optionsâ) >plugin.c:585:23: error: âgeneric_establish_pppâ undeclared here (not in a function) > 585 | .establish_ppp = &generic_establish_ppp, > | ^~~~~~~~~~~~~~~~~~~~~ >plugin.c:586:26: error: âgeneric_disestablish_pppâ undeclared here (not in a function); did you mean âppp_generic_disestablishâ? > 586 | .disestablish_ppp = &generic_disestablish_ppp, > | ^~~~~~~~~~~~~~~~~~~~~~~~ > | ppp_generic_disestablish >make: *** [Makefile:141: plugin/plugin.o] Error 1 >make: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_sig.o event_sig.c >event_sig.c: In function âsig_handlerâ: >event_sig.c:146:5: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 146 | write(Pipe[1], &sig, 1); > | ^~~~~~~~~~~~~~~~~~~~~~~ >rm -f libevent.a >x86_64-pc-linux-gnu-ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o >x86_64-pc-linux-gnu-ranlib libevent.a >make[1]: Leaving directory '/var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work/rp-pppoe-3.15/src/libevent' > * ERROR: net-dialup/rp-pppoe-3.15-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-dialup/rp-pppoe-3.15-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-dialup/rp-pppoe-3.15-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-dialup:rp-pppoe-3.15-r2:20230423-063956.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/temp/environment'. > * Working directory: '/var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work/rp-pppoe-3.15/src' > * S: '/var/tmp/portage/net-dialup/rp-pppoe-3.15-r2/work/rp-pppoe-3.15' >
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 904858
:
860572
|
860573
|
860574
|
860575
|
860576
|
860577
| 860578