[Xorp-users] Build failures on Ubuntu 14.04

Ben Greear greearb at candelatech.com
Fri May 5 07:50:22 PDT 2017


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 <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
>
>
>
>
>
>
>
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list