[OLSR-users] Multicast OLSR build problems

John Zavgren (spam-protected)
Thu Feb 15 19:10:14 CET 2007


Greetings:

I am trying to build molsr on a "vanilla" Fedora Core 5 Linux host. I
read the README file, changed directories to "src" and entered the make
command. 

I get the following error... has anyone else seen this?

[(spam-protected) src]$ make
g++ -fpic -g3 -Wall -I../include -I.  -DMPR_OPT -DMORE_OPT
-DREPR_ROUTE_LAST_HOP -DLINK_MONITORING -DLINK_IWEVENT_MONITORING
-DNEWRAND -DAUTOCONF_IPV4_NETFILTER -I/usr/include/linux/netfilter_ipv4
-DWITH_SECURITY -DWITH_HTTPSERVER -DMULTICAST_COMMON -DMOOLSR -IMOOLSR
-DSYSTEMlinux -DWITH_IPV4  -DWITH_MULTICAST_ENCAPSULATION  -c -o
general_plugin.o general_plugin.cc
../include/packet.h:537: warning: ‘class PacketManager’ has virtual
functions but non-virtual destructor
MOOLSR/mdfp_generic.h:17: warning: ‘class IMDFP’ has virtual functions
but non-virtual destructor
general_plugin.cc: In function ‘void* createNode(void*, int, void**,
int*, void*, int)’:
general_plugin.cc:192: error: invalid use of undefined type ‘struct
ClassNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
ClassNode’
general_plugin.cc:194: error: no matching function for call to
‘PacketManager::PacketManager(ClassNode*&)’
../include/packet.h:542: note: candidates are:
PacketManager::PacketManager(Node*)
../include/packet.h:537: note:                
PacketManager::PacketManager(const PacketManager&)
general_plugin.cc:235: error: cannot dynamic_cast ‘node’ (of type
‘struct ClassNode*’) to type ‘class IPacketReceiver*’ (source is a
pointer to incomplete type)
general_plugin.cc:240: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc:257: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc:258: error: no matching function for call to
‘EMMessageHandler::EMMessageHandler(ClassNode*&, void*&)’
../include/general_encapsulation.h:71: note: candidates are:
EMMessageHandler::EMMessageHandler(Node*, void*)
../include/general_encapsulation.h:69: note:                
EMMessageHandler::EMMessageHandler(const EMMessageHandler&)
general_plugin.cc: In function ‘void nodeStart(void*)’:
general_plugin.cc:267: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc: In function ‘void nodeWrite(void*, char**)’:
general_plugin.cc:311: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc:315: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc:316: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc:317: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc: In function ‘void nodeOutput(void*, char*)’:
general_plugin.cc:340: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc:344: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc:345: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
general_plugin.cc:346: error: invalid use of undefined type ‘struct
MOOLSRNode’
../include/node_inheritance.h:19: error: forward declaration of ‘struct
MOOLSRNode’
make: *** [general_plugin.o] Error 1

John Zavgren
(spam-protected)
603-371-0513 (home)
603-801-2094 (mobile)
Four out of three people have difficulties with fractions.







More information about the Olsr-users mailing list