From Richard.Rothwell at aarnet.edu.au Thu May 4 15:40:13 2017 From: Richard.Rothwell at aarnet.edu.au (Richard Rothwell) Date: Thu, 4 May 2017 22:40:13 +0000 Subject: [Xorp-users] Build failures on Ubuntu 14.04 Message-ID: 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 :0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] :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 :0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] :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 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 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 From greearb at candelatech.com Fri May 5 07:50:22 2017 From: greearb at candelatech.com (Ben Greear) Date: Fri, 5 May 2017 07:50:22 -0700 Subject: [Xorp-users] Build failures on Ubuntu 14.04 In-Reply-To: References: Message-ID: <1180dfce-3ca4-2cd5-b759-e4ee38ec0c65@candelatech.com> Please try the latest code in git, I don't really have time to do official releases any more, but latest git should be stable and it has some build fixes for newer distributions. Thanks, Ben On 05/04/2017 03:40 PM, Richard Rothwell wrote: > 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 > > :0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] > > :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 > > :0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] > > :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 > > 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 > > 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 > > > > > > > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > -- Ben Greear Candela Technologies Inc http://www.candelatech.com