[Xorp-users] Build failures on Ubuntu 14.04

Richard Rothwell Richard.Rothwell at aarnet.edu.au
Thu May 4 15:40:13 PDT 2017


Hi Guys,

I download xorp versions:
1.8.3
1.8.4
1.8.5
1.8.6

None of them build.

stderr and stdout attached as a zip file.

Placed the xorp directory in /usr/local entered the directory and ran scons.
Different failures for each version seen during compilation:

1.8.3 ============================================================
scons: warning: Two different environments were specified for target aspath.os,
                but they appear to have the same action: $SHCXX -o $TARGET -c $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
File "/usr/local/xorp_1.8.3/bgp/SConscript", line 167, in <module>
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
scons: *** [obj/x86_64-unknown-linux-gnu/cli/tools/cli_generic.o] Error 1

1.8.4 ============================================================
scons: warning: Two different environments were specified for target aspath.os,
                but they appear to have the same action: $SHCXX -o $TARGET -c $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
File "/usr/local/xorp_1.8.4/bgp/SConscript", line 169, in <module>
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
scons: *** [obj/x86_64-unknown-linux-gnu/cli/tools/cli_generic.o] Error 1

1.8.5 ============================================================
fatal: Not a git repository (or any of the parent directories): .git

scons: warning: Two different environments were specified for target aspath.os,
                but they appear to have the same action: $SHCXX -o $TARGET -c $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
File "/usr/local/xorp_1.8.5/bgp/SConscript", line 169, in <module>
scons: *** [obj/x86_64-unknown-linux-gnu/xrl/interfaces/cli_processor_xif.cc] Error 1

1.8.6 ============================================================
fatal: Not a git repository (or any of the parent directories): .git

scons: warning: Two different environments were specified for target dummy_register_server.o,
                but they appear to have the same action: $CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/usr/local/xorp/site_scons/site_tools/autotest.py", line 85, in _UnitTest

scons: warning: Two different environments were specified for target /usr/local/xorp/obj/x86_64-unknown-linux-gnu/rib/parser.o,
                but they appear to have the same action: $CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/usr/local/xorp/site_scons/site_tools/autotest.py", line 85, in _UnitTest

scons: warning: Two different environments were specified for target dummy_register_server.o,
                but they appear to have the same action: $CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/usr/local/xorp/site_scons/site_tools/autotest.py", line 85, in _UnitTest

scons: warning: Two different environments were specified for target aspath.os,
                but they appear to have the same action: $SHCXX -o $TARGET -c $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
File "/usr/local/xorp/bgp/SConscript", line 169, in <module>
policy/backend/backend.ll:13:42: fatal error: y.policy_backend_parser_tab.hh: No such file or directory
#include "y.policy_backend_parser_tab.hh"
                                          ^
compilation terminated.
scons: *** [obj/x86_64-unknown-linux-gnu/policy/backend/lex.policy_backend_parser.os] Error 1


\\\\ ============================================================

Is there anything I can do to fix this?

Regards


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20170504/7b23c7f5/attachment.html 


More information about the Xorp-users mailing list