[chord] p2psim

sosesca pereira sosesca at hotmail.com
Tue Nov 4 18:04:11 EST 2003


Hi!

I am with problems in executing make.
I exetuted the following steps:

==========================================================================================
[root at localhost p2psim]# ./setup
++ aclocal
++ autoheader
++ automake --foreign --add-missing --copy
vis/Makefile.am:5: INCLUDES multiply defined in condition TRUE
  INCLUDES (User, where = vis/Makefile.am:5) =
  {
    TRUE => -I/usr/local/include/sfs-0.7.2/ -I/usr/local/include 
$(EXTRA_INCLUDES) $(GTKINCLUDES)
  }
++ autoconf

=============================================================================================

[root at localhost p2psim]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for gm4... no
checking for gnum4... no
checking for m4... /usr/bin/m4
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.0... yes
checking GSTUFF_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include 
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GSTUFF_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure: WARNING: Found GTK...
checking whether the compiler implements namespaces... yes
checking whether the compiler has ext/hash_map... yes
checking if malloc debugging is wanted... no
checking if Thomer's malloc debugging is wanted... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vis/Makefile
config.status: creating eventgenerators/Makefile
config.status: creating p2psim/Makefile
config.status: creating observers/Makefile
config.status: creating protocols/Makefile
config.status: creating failuremodels/Makefile
config.status: creating topologies/Makefile
config.status: creating events/Makefile
config.status: creating misc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

=====================================================================================
[root at localhost p2psim]# make
cd . && /bin/sh /root/p2psim/missing --run autoheader
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entrando no diretório `/root/p2psim'
Making all in observers
make[2]: Entrando no diretório `/root/p2psim/observers'
source='kademliaobserver.C' object='kademliaobserver.o' libtool=no \
depfile='.deps/kademliaobserver.Po' tmpdepfile='.deps/kademliaobserver.TPo' 
\
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include/sfs-0.7.2/ 
-I/usr/local/include      -g -Wall -fno-exceptions  -c -o kademliaobserver.o 
`test -f 'kademliaobserver.C' || echo './'`kademliaobserver.C
In file included from ../p2psim/eventqueue.h:29,
                 from ../p2psim/protocol.h:29,
                 from ../p2psim/p2protocol.h:28,
                 from ../protocols/kademlia.h:29,
                 from kademliaobserver.h:29,
                 from kademliaobserver.C:25:
../p2psim/threaded.h:28:18: lib9.h: Arquivo ou diretório não encontrado
../p2psim/threaded.h:29:20: thread.h: Arquivo ou diretório não encontrado
In file included from ../p2psim/rpchandle.h:28,
                 from ../p2psim/node.h:29,
                 from ../p2psim/event.h:29,
                 from ../p2psim/eventqueue.h:30,
                 from ../p2psim/protocol.h:29,
                 from ../p2psim/p2protocol.h:28,
                 from ../protocols/kademlia.h:29,
                 from kademliaobserver.h:29,
                 from kademliaobserver.C:25:
../p2psim/packet.h:29:18: lib9.h: Arquivo ou diretório não encontrado
../p2psim/packet.h:30:20: thread.h: Arquivo ou diretório não encontrado
In file included from ../p2psim/rpchandle.h:28,
                 from ../p2psim/node.h:29,
                 from ../p2psim/event.h:29,
                 from ../p2psim/eventqueue.h:30,
                 from ../p2psim/protocol.h:29,
                 from ../p2psim/p2protocol.h:28,
                 from ../protocols/kademlia.h:29,
                 from kademliaobserver.h:29,
                 from kademliaobserver.C:25:
../p2psim/packet.h:43: syntax error before `*' token
../p2psim/packet.h:44: semicolon missing after declaration of `Packet'
../p2psim/packet.h: In member function `IPAddress Packet::src()':
../p2psim/packet.h:41: `_src' undeclared (first use this function)
../p2psim/packet.h:41: (Each undeclared identifier is reported only once for
   each function it appears in.)
../p2psim/packet.h: In member function `IPAddress Packet::dst()':
../p2psim/packet.h:42: `_dst' undeclared (first use this function)
../p2psim/packet.h: At global scope:
../p2psim/packet.h:44: ISO C++ forbids defining types within return type
../p2psim/packet.h:44: `bool' is now a keyword
../p2psim/packet.h:44: semicolon missing after declaration of `class Packet'
../p2psim/packet.h: In function `int reply()':
../p2psim/packet.h:44: `_fn' undeclared (first use this function)
../p2psim/packet.h: In function `unsigned int id()':
../p2psim/packet.h:45: `_id' undeclared (first use this function)
../p2psim/packet.h: In function `bool ok()':
../p2psim/packet.h:46: `_ok' undeclared (first use this function)
../p2psim/packet.h: At global scope:
../p2psim/packet.h:48: parse error before `private'
../p2psim/packet.h:55: `friend' can only be specified inside a class
../p2psim/packet.h:56: syntax error before `*' token
../p2psim/packet.h:57: `IPAddress _src' used prior to declaration
../p2psim/packet.h:58: `IPAddress _dst' used prior to declaration
../p2psim/packet.h:59: `bool _ok' used prior to declaration
../p2psim/packet.h:60: `unsigned int _id' used prior to declaration
../p2psim/packet.h:62: parse error before `}' token
In file included from ../p2psim/node.h:29,
                 from ../p2psim/event.h:29,
                 from ../p2psim/eventqueue.h:30,
                 from ../p2psim/protocol.h:29,
                 from ../p2psim/p2protocol.h:28,
                 from ../protocols/kademlia.h:29,
                 from kademliaobserver.h:29,
                 from kademliaobserver.C:25:
../p2psim/rpchandle.h:31: parse error before `*' token
../p2psim/rpchandle.h:34: syntax error before `*' token
../p2psim/rpchandle.h:35: ISO C++ forbids defining types within return type
../p2psim/rpchandle.h:35: syntax error before `*' token
../p2psim/rpchandle.h:41: parse error before `}' token
In file included from ../p2psim/protocol.h:29,
                 from ../p2psim/p2protocol.h:28,
                 from ../protocols/kademlia.h:29,
                 from kademliaobserver.h:29,
                 from kademliaobserver.C:25:
../p2psim/eventqueue.h:32:31: ../utils/skiplist.h: Arquivo ou diretório não 
encontrado
In file included from ../p2psim/protocol.h:29,
                 from ../p2psim/p2protocol.h:28,
                 from ../protocols/kademlia.h:29,
                 from kademliaobserver.h:29,
                 from kademliaobserver.C:25:
../p2psim/eventqueue.h:57: 'sklist_entry' is used as a type, but is not 
defined
   as a type.
../p2psim/eventqueue.h:59: `_sortlink' is not a member of type `
   EventQueue::eq_entry'
../p2psim/eventqueue.h:59: 'skiplist' is used as a type, but is not defined 
as
   a type.
../p2psim/eventqueue.h:63: syntax error before `*' token
In file included from kademliaobserver.C:26:
../p2psim/network.h:39: syntax error before `*' token
../p2psim/network.h:40: semicolon missing after declaration of `Network'
../p2psim/network.h:40: two or more data types in declaration of `send'
../p2psim/network.h:40: invalid return type for function `Network 
send(Packet*)
   '
../p2psim/network.h:40:   because the following virtual functions are 
abstract:
../p2psim/threaded.h:43:        virtual void Threaded::run()
../p2psim/network.h: In function `Node* getnode(unsigned int)':
../p2psim/network.h:43: `_nodes' undeclared (first use this function)
../p2psim/network.h: In function `Topology* gettopology()':
../p2psim/network.h:44: `_top' undeclared (first use this function)
../p2psim/network.h: At global scope:
../p2psim/network.h:48: destructors must be member functions
../p2psim/network.h:50: parse error before `private'
../p2psim/network.h:53: virtual outside class declaration
../p2psim/network.h:55: syntax error before `*' token
../p2psim/network.h:58: `NM _nodes' used prior to declaration
../p2psim/network.h:59: `Topology*_top' used prior to declaration
../p2psim/network.h:62: syntax error before `*' token
kademliaobserver.C: In constructor 
`KademliaObserver::KademliaObserver(Args*)':
kademliaobserver.C:33: no matching function for call to `Network::
   getallprotocols(std::string&)'
kademliaobserver.C: In member function `virtual bool
   KademliaObserver::stabilized()':
kademliaobserver.C:56: no matching function for call to `Network::
   getallprotocols(std::string&)'
/usr/include/c++/3.2.2/bits/stl_set.h: At top level:
../p2psim/packet.h:61: warning: `unsigned int _unique' defined but not used
make[2]: ** [kademliaobserver.o] Erro 1
make[2]: Saindo do diretório `/root/p2psim/observers'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/root/p2psim'
make: ** [all] Erro 2

You should me help?
Which must be the problem?

Thanks,
         Luciana.

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com



More information about the chord mailing list