Here is the install lines we are using...

scons install debug=no strip=no enable_tests=yes build=mips64-octeon-linux-gnu \
STRIP=mips64-octeon-linux-gnu-strip \
CC=mips64-octeon-linux-gnu-gcc \
CXX=mips64-octeon-linux-gnu-g++ \
RANLIB=mips64-octeon-linux-gnu-ranlib \
CFLAGS=-I/home/build/octeon-staging/include \
CXXFLAGS=-I/home/build/octeon-staging/include \
LINKFLAGS=-L/home/build/octeon-staging/lib


Tom Kuhn
Office: (407) 737-4953
Cell: (407) 721-0628
[email protected]<mailto:[email protected]>

From: [email protected] [mailto:[email protected]] On 
Behalf Of Farney, Kira (IS)
Sent: Monday, June 18, 2012 10:59 AM
To: [email protected]
Subject: EXT :[Xorp-hackers] problems running xorp_rtrmgr and xorpsh

Hi All,

We successfully cross compiled XORP and moved it to target board. We put all 
the libraries to /usr/lib directory and xorp to /usr/local. Here is what's 
happening when I am trying to run ./xorp_rtrmgr and ./xorpsh. I noticed that it 
has issues loading the libraries.

I am not an expert in Linux by any means, so I don't know why these errors 
being generated. Could anyone assist me please. Your help will be greatly 
appreciated.


/usr/local/xorp/sbin # ./xorp_rtrmgr -b static.boot
Not doing pidfile...
[ 1970/01/05 19:46:01.458317  INFO xorp_rtrmgr:1057 RTRMGR 
rtrmgr/main_rtrmgr.cc:718 main ]

XORP 1.8.5 BuildInfo:
git version: 00000000 built: Tue Jun 12 11:51:39 EDT 2012
By: root on machine: Linux embedded-dev 2.6.32-5-686 i686 unknown
Recent git changes:
Cannot detect, not a git repository
[ 1970/01/05 19:46:01.462235  INFO xorp_rtrmgr:1057 RTRMGR 
rtrmgr/main_rtrmgr.cc:754 main ]
Host Information:
Linux (none) 2.6.32.27-Cavium-Octeon #4 SMP Fri May 11 13:04:17 EDT 2012 mips64 
GNU/Linux

[ 1970/01/05 19:46:01.619398  INFO xorp_rtrmgr:1057 RTRMGR 
rtrmgr/master_conf_tree.cc:257 execute ] Changed modules: interfaces, firewall, 
fea, rib, policy, static_routes
[ 1970/01/05 19:46:01.622125  INFO xorp_rtrmgr:1057 RTRMGR 
rtrmgr/module_manager.cc:101 execute ] Executing module: interfaces (xorp_fea)
[ 1970/01/05 19:46:01.623088  WARNING xorp_rtrmgr:1057 XrlFinderTarget 
obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 
handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl 
failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not 
enabled.
[ 1970/01/05 19:46:01.623420  WARNING xorp_rtrmgr:1057 RTRMGR 
rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed 
 retries: 0  max_retries: 30
xorp_fea: error while loading shared libraries: libpcap.so.1: cannot open 
shared object file: No such file or directory
[ 1970/01/05 19:46:01.626264  ERROR xorp_rtrmgr:1057 RTRMGR 
rtrmgr/module_manager.cc:781 done_cb ] Command 
"/usr/local/xorp/lib/xorp/sbin/xorp_fea": exited with exit status 127.
[ 1970/01/05 19:46:01.626319  INFO xorp_rtrmgr:1057 RTRMGR 
rtrmgr/module_manager.cc:334 module_exited ] Module abnormal exit: interfaces
[ 1970/01/05 19:46:02.624563  WARNING xorp_rtrmgr:1057 XrlFinderTarget 
obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 
handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl 
failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not 
enabled.
[ 1970/01/05 19:46:02.624874  WARNING xorp_rtrmgr:1057 RTRMGR 
rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed 
 retries: 1  max_retries: 30
[ 1970/01/05 19:46:03.626023  WARNING xorp_rtrmgr:1057 XrlFinderTarget 
obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 
handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl 
failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not 
enabled.
[ 1970/01/05 19:46:03.626320  WARNING xorp_rtrmgr:1057 RTRMGR 
rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed 
 retries: 2  max_retries: 30
[ 1970/01/05 19:46:04.627482  WARNING xorp_rtrmgr:1057 XrlFinderTarget 
obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 
handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl 
failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not 
enabled.
[ 1970/01/05 19:46:04.627778  WARNING xorp_rtrmgr:1057 RTRMGR 
rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed 
 retries: 3  max_retries: 30
[ 1970/01/05 19:46:05.628939  WARNING xorp_rtrmgr:1057 XrlFinderTarget 
obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 
handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl 
failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not 
enabled.
[ 1970/01/05 19:46:05.629234  WARNING xorp_rtrmgr:1057 RTRMGR 
rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed 
 retries: 4  max_retries: 30
[ 1970/01/05 19:46:06.630289  WARNING xorp_rtrmgr:1057 XrlFinderTarget 
obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 
handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl 
failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not 
enabled.
[ 1970/01/05 19:46:06.630583  WARNING xorp_rtrmgr:1057 RTRMGR 
rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed 
 retries: 5  max_retries: 30
[ 1970/01/05 19:46:07.631747  WARNING xorp_rtrmgr:1057 XrlFinderTarget 
obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 
handle_finder_0_2_resolve_xrl ] Handling method for finder/0.2/resolve_xrl 
failed: XrlCmdError 102 Command failed Target "fea" does not exist or is not 
enabled.
[ 1970/01/05 19:46:07.632041  WARNING xorp_rtrmgr:1057 RTRMGR 
rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed 
 retries: 6  max_retries: 30
^C^C^C[ 1970/01/05 19:46:08.470369  INFO xorp_rtrmgr:1057 RTRMGR 
rtrmgr/task.cc:2242 run_task ] No more tasks to run
^C^C^C^C^CWARNING:  Process: 1057 has message from dflt_sig_handler: SIGINT 
received
/usr/local/xorp/sbin #


/usr/local/xorp/sbin # ./xorpsh
./xorpsh: error while loading shared libraries: libncurses.so.5: cannot open 
shared object file: No such file or directory



Thanks,

Kira
_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to