We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
I have found an error in the installation of switch bofuss (of13). Attached is the command executed with the options for the installation:
of13
sudo util/install.sh -W3lnfv
and the end of the output generated with the error:
checking build number... none checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for g++... g++ 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 g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... gcc3 checking for gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for perl... /usr/bin/perl 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 wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for linux/netlink.h... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for dladdr in -ldl... yes checking for connect in -lsocket... no checking for library containing gethostbyname... none required checking whether libc supports hooks for malloc and related functions... no checking for strlcpy... no checking for net/if_packet.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for nbGetLastError in -lnbee... yes checking for strsignal... yes checking for dpkg-buildpackage... yes checking whether gcc accepts -Wall... yes checking whether gcc accepts -Wno-sign-compare... yes checking whether gcc accepts -Wpointer-arith... yes checking whether gcc accepts -Wdeclaration-after-statement... yes checking whether gcc accepts -Wformat-security... yes checking whether gcc accepts -Wswitch-enum... yes checking whether gcc accepts -Wunused-parameter... yes checking whether gcc accepts -Wstrict-aliasing... yes checking whether gcc accepts -Wbad-function-cast... yes checking whether gcc accepts -Wcast-align... yes checking whether gcc accepts -Wstrict-prototypes... yes checking whether gcc accepts -Wold-style-definition... yes checking whether gcc accepts -Wmissing-prototypes... yes checking whether gcc accepts -Wmissing-field-initializers... yes checking whether gcc accepts -Wno-override-init... 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 make all-recursive make[1]: Entering directory '/home/vagrant/ofsoftswitch13' make[2]: Entering directory '/home/vagrant/ofsoftswitch13' depbase=`echo secchan/discovery.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -g -I ./include -I ./lib -DOFL_LOG_VLOG -DOFL_LOG_VLOG -DNETPDLDIR='"/usr/local/share/openflow"' -Wstrict-prototypes -Werror -g -O2 -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -Wno-override-init -MT secchan/discovery.o -MD -MP -MF $depbase.Tpo -c -o secchan/discovery.o secchan/discovery.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo secchan/failover.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -g -I ./include -I ./lib -DOFL_LOG_VLOG -DOFL_LOG_VLOG -DNETPDLDIR='"/usr/local/share/openflow"' -Wstrict-prototypes -Werror -g -O2 -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -Wno-override-init -MT secchan/failover.o -MD -MP -MF $depbase.Tpo -c -o secchan/failover.o secchan/failover.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo secchan/in-band.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -g -I ./include -I ./lib -DOFL_LOG_VLOG -DOFL_LOG_VLOG -DNETPDLDIR='"/usr/local/share/openflow"' -Wstrict-prototypes -Werror -g -O2 -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -Wno-override-init -MT secchan/in-band.o -MD -MP -MF $depbase.Tpo -c -o secchan/in-band.o secchan/in-band.c &&\ .... depbase=`echo lib/list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -g -I ./include -I ./lib -DOFL_LOG_VLOG -DOFL_LOG_VLOG -DNETPDLDIR='"/usr/local/share/openflow"' -Wstrict-prototypes -Werror -g -O2 -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -Wno-override-init -MT lib/list.o -MD -MP -MF $depbase.Tpo -c -o lib/list.o lib/list.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo lib/mac-learning.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -g -I ./include -I ./lib -DOFL_LOG_VLOG -DOFL_LOG_VLOG -DNETPDLDIR='"/usr/local/share/openflow"' -Wstrict-prototypes -Werror -g -O2 -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -Wno-override-init -MT lib/mac-learning.o -MD -MP -MF $depbase.Tpo -c -o lib/mac-learning.o lib/mac-learning.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo lib/netdev.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -g -I ./include -I ./lib -DOFL_LOG_VLOG -DOFL_LOG_VLOG -DNETPDLDIR='"/usr/local/share/openflow"' -Wstrict-prototypes -Werror -g -O2 -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -Wno-override-init -MT lib/netdev.o -MD -MP -MF $depbase.Tpo -c -o lib/netdev.o lib/netdev.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/string.h:535, from lib/netdev.c:111: In function ‘strncpy’, inlined from ‘netdev_arp_lookup’ at lib/netdev.c:1456:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:1852: lib/netdev.o] Error 1 make[2]: Leaving directory '/home/vagrant/ofsoftswitch13' make[1]: *** [Makefile:2474: all-recursive] Error 1 make[1]: Leaving directory '/home/vagrant/ofsoftswitch13' make: *** [Makefile:1177: all] Error 2
About VM information:
vagrant@mininetWifiTest:~/mininet-wifi$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy vagrant@mininetWifiTest:~/mininet-wifi$ uname -a Linux mininetWifiTest 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux vagrant@mininetWifiTest:~/mininet-wifi$
The text was updated successfully, but these errors were encountered:
You can go through https://github.com/CPqD/ofsoftswitch13
Sorry, something went wrong.
In case someone has the same problem as me, here is the solution I have followed: #495
No branches or pull requests
Hi there,
I have found an error in the installation of switch bofuss (
of13
). Attached is the command executed with the options for the installation:and the end of the output generated with the error:
About VM information:
The text was updated successfully, but these errors were encountered: