Re: [Rstplib-users] Question on rstp simulator
Status: Alpha
Brought to you by:
ralex
From: Alex R. <ar...@mr...> - 2008-09-17 05:58:08
|
> Below is an output of my compilation: alex RSTPLib/rstplib.1.2.beta.05c>make clean > cd IPC; make clean > make[1]: Entering directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/IPC' > rm -f all *.o *.a *.so *~ libipc.so *.bak make.depend > make[1]: Leaving directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/IPC' > cd CLI; make clean > make[1]: Entering directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/CLI' > rm -f all *.o *.a *.so *~ libcli.a *.bak make.depend > make[1]: Leaving directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/CLI' > cd RSTP; make clean > make[1]: Entering directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/RSTP' > rm -f *.o *.a *.so *~ *.bak make.depend > make[1]: Leaving directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/RSTP' > rm -f all *.o *.a *.so *~ bridge mngr *.bak make.depend > alex RSTPLib/rstplib.1.2.beta.05c>make > cd RSTP; make > make[1]: Entering directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/RSTP' > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c statmch.c -o statmch.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c stpm.c -o stpm.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c port.c -o port.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c stp_in.c -o stp_in.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c rolesel.c -o rolesel.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c vector.c -o vector.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c times.c -o times.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c portinfo.c -o portinfo.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c roletrns.c -o roletrns.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c sttrans.c -o sttrans.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c topoch.c -o topoch.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c migrate.c -o migrate.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c transmit.c -o transmit.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c p2p.c -o p2p.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c edge.c -o edge.o > gcc -I. -I../BITMAP -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -I../BITMAP > -c pcost.c -o pcost.o > rm -f librstp.a > ar cru librstp.a statmch.o stpm.o port.o stp_in.o rolesel.o vector.o > times.o portinfo.o roletrns.o sttrans.o topoch.o migrate.o transmit.o > p2p.o edge.o pcost.o > ranlib librstp.a > make[1]: Leaving directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/RSTP' > cd IPC; make > make[1]: Entering directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/IPC' > gcc -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -c -o ipc.o ipc.c > gcc -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -c -o ipc_client.o > ipc_client.c > gcc -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -c -o ipc_server.o > ipc_server.c > rm -f libipc.a > ar cru libipc.a ipc.o ipc_client.o ipc_server.o > ranlib libipc.a > make[1]: Leaving directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/IPC' > cd CLI; make > make[1]: Entering directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/CLI' > gcc -g -Wall -D__LINUX__ -DSTP_DBG=1 -I. -c -o cli.o cli.c > cli.c: In function ‘cli_private_completion’: > cli.c:513: warning: implicit declaration of function > ‘completion_matches’ > cli.c:513: warning: assignment makes pointer from integer without a > cast > cli.c: In function ‘rl_init’: > cli.c:525: warning: passing argument 2 of ‘rl_bind_key’ from > incompatible pointer type > cli.c:526: warning: assignment from incompatible pointer type > rm -f libcli.a > ar cru libcli.a cli.o > ranlib libcli.a > make[1]: Leaving directory > `/home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/CLI' > gcc -g -Wall -D__LINUX__ -DSTP_DBG=1 -IBITMAP -IRSTP -IIPC -ICLI -I. > -c -o bridge.o bridge.c > bridge.c: In function ‘bridge_start’: > bridge.c:69: warning: passing argument 2 of > ‘rl_callback_handler_install’ from incompatible pointer type > gcc -g -Wall -D__LINUX__ -DSTP_DBG=1 -IBITMAP -IRSTP -IIPC -ICLI -I. > -c -o stp_cli.o stp_cli.c > gcc -g -Wall -D__LINUX__ -DSTP_DBG=1 -IBITMAP -IRSTP -IIPC -ICLI -I. > -c -o stp_to.o stp_to.c > gcc bridge.o stp_cli.o stp_to.o RSTP/librstp.a -lutil -lpthread > -lreadline -lncurses \ > -LIPC -lipc -LCLI -lcli -o bridge > IPC/libipc.a(ipc.o): In function `IPC_SocketInit': > /home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/IPC/ipc.c:99: warning: > the use of `tmpnam' is dangerous, better use `mkstemp' > gcc -g -Wall -D__LINUX__ -DSTP_DBG=1 -IBITMAP -IRSTP -IIPC -ICLI -I. > -c -o mngr.o mngr.c > mngr.c: In function ‘main_loop’: > mngr.c:527: warning: passing argument 2 of > ‘rl_callback_handler_install’ from incompatible pointer type > gcc mngr.o -lutil -lpthread -lreadline -lncurses \ > -LIPC -lipc -LCLI -lcli -o mngr > IPC/libipc.a(ipc.o): In function `IPC_SocketInit': > /home/alex/Games/RSTPLib/rstplib.1.2.beta.05c/IPC/ipc.c:99: warning: > the use of `tmpnam' is dangerous, better use `mkstemp' > alex RSTPLib/rstplib.1.2.beta.05c> > > Send my your one. > Regards, Alex > > On Wed, 2008-09-17 at 10:25 +0400, waikyuen3 wrote: > > > Alex, > > Thankyou for replying me. > > My problem is that when I trying to "make" the simulator, it warns me that the "limits.h" is not found. In fact, I have checked that the header file is there. Therefore, I don't know whats wrong with my installation. My platform are Ubuntu 8.4(hardy) Debian and installed build-essentialds. On the other hand, I do not have the beta version of the simulator. In addition, I am trying to install it on fedora. I am very grateful if you could send me the beta ver. of the simulator. > > > > Regards, > > Nick. > > > > ----- Original Message ----- > > From: Alex Rozin <ar...@mr...> > > Date: Wednesday, September 17, 2008 9:41 am > > Subject: Re: [Rstplib-users] Question on rstp simulator > > To: waikyuen3 <wai...@st...> > > Cc: rst...@li... > > > > > > > Nick, > > > What kind of installation problems do you have (let's say on fedora)? > > > Do you have last release rstplib.1.2.beta.05c.tar.gz (source forge does > > > not contain it)? > > > Regards, Alex > > > > > > On Wed, 2008-09-17 at 01:17 +0800, waikyuen3 wrote: > > > > SIr/Madam, > > > > I am a year 3 student in the City University of Hong Kong, doing > > > my final year project which is to design a new protocol based on the > > > rstp. I am trying to use the rstp simulator and found that there are > > > some problems in installation. Would you please suggest me a platform > > > (e.g. fedora or some compiler must be installed?)that could completely > > > install the simulator? > > > > > > > > Thanks. > > > > Regard, > > > > Nick. > > > > > > |