OFSwitch13 4.0.0 released

84 views
Skip to first unread message

asma sarabandi

unread,
Aug 19, 2020, 1:53:17 PM8/19/20
to ofswitch13-users
Hello all
ubunto 20.04
ns-3.31.0
ofswitch13  release 4.0.0
i 'll be able to a integrate ofswitch13 releas 4.0.0 of to the  write make in terminall
make  all-recursive
make[1]: Entering directory '/home/ah/Desktop/NS3/ns-allinone-3.31/ns-3.31/src/ofswitch13/lib/ofsoftswitch13'
make[2]: Entering directory '/home/ah/Desktop/NS3/ns-allinone-3.31/ns-3.31/src/ofswitch13/lib/ofsoftswitch13'
depbase=`echo lib/netdev.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I.   -g -I ./include -I ./lib  -fPIC -DOFL_LOG_VLOG -DOFL_LOG_VLOG  -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:495,
                 from lib/netdev.c:111:
In function ‘strncpy’,
    inlined from ‘restore_flags’ at lib/netdev.c:1714:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘do_ethtool’ at lib/netdev.c:546:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘get_flags’ at lib/netdev.c:1747:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘set_flags’ at lib/netdev.c:1761:5,
    inlined from ‘do_update_flags’ at lib/netdev.c:1399:17:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘do_open_netdev’ at lib/netdev.c:794:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘open_queue_socket’ at lib/netdev.c:376:5,
    inlined from ‘netdev_setup_slicing’ at lib/netdev.c:524:17:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘netdev_open_tap’ at lib/netdev.c:703:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘netdev_set_etheraddr’ at lib/netdev.c:1199:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘netdev_get_in4’ at lib/netdev.c:1265:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘do_set_addr’ at lib/netdev.c:1300:5,
    inlined from ‘netdev_set_in4’ at lib/netdev.c:1317:13:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘do_set_addr’ at lib/netdev.c:1300:5,
    inlined from ‘netdev_set_in4’ at lib/netdev.c:1320:17:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘netdev_arp_lookup’ at lib/netdev.c:1456:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:2079: lib/netdev.o] Error 1
make[2]: Leaving directory '/home/ah/Desktop/NS3/ns-allinone-3.31/ns-3.31/src/ofswitch13/lib/ofsoftswitch13'
make[1]: *** [Makefile:2972: all-recursive] Error 1
make[1]: Leaving directory '/home/ah/Desktop/NS3/ns-allinone-3.31/ns-3.31/src/ofswitch13/lib/ofsoftswitch13'

Hessam Alizadeh

unread,
Aug 24, 2020, 1:39:32 PM8/24/20
to ofswitch13-users
ns-3.30 went through some structural changes. Therefore, the available patches mentioned in the documentation of ofswitch13 4.0.0 don't work. I am not sure if any compatibility patch is released lately. I suggest you use ns-3.29.

asma sarabandi

unread,
Aug 31, 2020, 10:55:14 PM8/31/20
to ofswitch...@googlegroups.com
thank you very much
 ubuntu 20.04 it did not support ns3.31  and ns3.30.1 , but ubuntu 18.04 supported.  

--
You received this message because you are subscribed to a topic in the Google Groups "ofswitch13-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ofswitch13-users/1D4-XLMhcMQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ofswitch13-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/fb44f3e6-1259-409e-927f-f93db939fdf3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages