[OOR-Users] build errors

Saumya Dikshit (sadikshi) sadikshi at cisco.com
Fri Feb 5 10:03:52 CET 2016


Hi Albert,

I am compiling on linux kernel 2.6.18 (Red Hat Enterprise Linux Server release 5.6 (Tikanga)).

#uname -a
Linux host1 2.6.18-404.el5 #1 SMP Sat Mar 7 04:14:13 EST 2015 x86_64 x86_64 x86_64 GNU/Linux

Thanks
Saumya.

From: Albert López <alopez at ac.upc.edu<mailto:alopez at ac.upc.edu>>
Date: Friday, February 5, 2016 at 2:26 PM
To: sadikshi <sadikshi at cisco.com<mailto:sadikshi at cisco.com>>, "users at openoverlayrouter.org<mailto:users at openoverlayrouter.org>" <users at openoverlayrouter.org<mailto:users at openoverlayrouter.org>>
Subject: Re: [OOR-Users] build errors

Hi Saumya,

Thanks for trying OOR! Could you provide us with more details? Operating system, cpu architecture, etc. Were you compiling for linux or openwrt?

We have just tried to compile both the zipped release and the git version and both compile without problems. Any clue from your side will be welcome ;)

Regards

Albert

On 04/02/16 21:26, Saumya Dikshit (sadikshi) wrote:
Tried building but hitting dual references issues.

make-3.79.1-p7[1]: Entering directory `/nobackup/sadikshi/oor/oor/oor'
cc -Wall -std=gnu89 -g -I/usr/include/libxml2 -I. -Iliblisp -Ielibs -Ilib -Icontrol -Idata-tun -Ifwd_balancing -Ifwd_balancing/flow_balancing -c -o config/oor_config_functions.o config/oor_config_functions.c
In file included from config/../control/../liblisp/liblisp.h:23,
                 from config/../control/oor_ctrl_device.h:24,
                 from config/../control/lisp_ms.h:23,
                 from config/oor_config_functions.h:23,
                 from config/oor_config_functions.c:22:
config/../control/../liblisp/lisp_address.h:47: error: redefinition of typedef 'lisp_addr_t'
config/../control/../liblisp/lisp_lcaf.h:30: error: previous declaration of 'lisp_addr_t' was here
In file included from config/../control/../lib/timers.h:23,
                 from config/../control/../lib/map_cache_entry.h:23,
                 from config/../control/oor_map_cache.h:24,
                 from config/../control/oor_ctrl_device.h:26,
                 from config/../control/lisp_ms.h:23,
                 from config/oor_config_functions.h:23,
                 from config/oor_config_functions.c:22:
config/../control/../lib/sockets.h:73: error: redefinition of typedef 'sockmstr_t'
config/../control/../defs.h:49: error: previous declaration of 'sockmstr_t' was here
In file included from config/../control/oor_control.h:23,
                 from config/../control/oor_ctrl_device.h:27,
                 from config/../control/lisp_ms.h:23,
                 from config/oor_config_functions.h:23,
                 from config/oor_config_functions.c:22:
config/../control/../iface_list.h:46: error: redefinition of typedef 'iface_t'
config/../control/../lib/sockets.h:93: error: previous declaration of 'iface_t' was here
In file included from config/../control/oor_control.h:26,
                 from config/../control/oor_ctrl_device.h:27,
                 from config/../control/lisp_ms.h:23,
                 from config/oor_config_functions.h:23,
                 from config/oor_config_functions.c:22:
config/../control/control-data-plane/control-data-plane.h:25: error: redefinition of typedef 'iface_t'
config/../control/../iface_list.h:46: error: previous declaration of 'iface_t' was here
config/../control/control-data-plane/control-data-plane.h:26: error: redefinition of typedef 'uconn_t'
config/../control/../lib/sockets.h:64: error: previous declaration of 'uconn_t' was here
config/../control/control-data-plane/control-data-plane.h:27: error: redefinition of typedef 'sock_t'
config/../control/../lib/sockets.h:56: error: previous declaration of 'sock_t' was here
In file included from config/../control/oor_ctrl_device.h:27,
                 from config/../control/lisp_ms.h:23,
                 from config/oor_config_functions.h:23,
                 from config/oor_config_functions.c:22:
config/../control/oor_control.h:32: error: redefinition of typedef 'oor_ctrl_t'
config/../control/../defs.h:46: error: previous declaration of 'oor_ctrl_t' was here
In file included from config/../control/lisp_ms.h:23,
                 from config/oor_config_functions.h:23,
                 from config/oor_config_functions.c:22:
config/../control/oor_ctrl_device.h:29: error: redefinition of typedef 'oor_ctrl_dev_t'
config/../control/../defs.h:45: error: previous declaration of 'oor_ctrl_dev_t' was here
In file included from config/../control/../fwd_policies/fwd_policy.h:24,
                 from config/../control/lisp_xtr.h:26,
                 from config/oor_config_functions.h:24,
                 from config/oor_config_functions.c:22:
config/../control/../fwd_policies/../lib/shash.h:36: error: redefinition of typedef 'shash_t'
config/../control/../defs.h:47: error: previous declaration of 'shash_t' was here
In file included from config/../control/lisp_xtr.h:26,
                 from config/oor_config_functions.h:24,
                 from config/oor_config_functions.c:22:
config/../control/../fwd_policies/fwd_policy.h:27: error: redefinition of typedef 'packet_tuple_t'
config/../control/../lib/packets.h:50: error: previous declaration of 'packet_tuple_t' was here
config/../control/../fwd_policies/fwd_policy.h:65: error: redefinition of typedef 'fwd_info_t'
config/../control/../defs.h:48: error: previous declaration of 'fwd_info_t' was here
In file included from config/oor_config_functions.c:23:
config/../data-plane/data-plane.h:24: error: redefinition of typedef 'iface_t'
config/../control/control-data-plane/control-data-plane.h:25: error: previous declaration of 'iface_t' was here
config/../data-plane/data-plane.h:25: error: redefinition of typedef 'sock_t'
config/../control/control-data-plane/control-data-plane.h:27: error: previous declaration of 'sock_t' was here
config/../data-plane/data-plane.h:43: error: redefinition of typedef 'data_plane_struct_t'
config/../control/../defs.h:51: error: previous declaration of 'data_plane_struct_t' was here
make-3.79.1-p7[1]: *** [config/oor_config_functions.o] Error 1




_______________________________________________
Users mailing list
Users at openoverlayrouter.org<mailto:Users at openoverlayrouter.org>http://mail.openoverlayrouter.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openoverlayrouter.org/pipermail/users/attachments/20160205/2e8b732d/attachment.html>


More information about the Users mailing list