LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Thread Tools
Old 07-09-2006, 11:09 AM   #1
wahaha
Member
 
Registered: Jul 2006
Posts: 128
Thanked: 0
mobile mesh protocol installation problem


[Log in to get rid of this advertisement]
halo...i am new to linux and recently i wanan install a protocol called mobile mesh into my fedora core 4. I saved the file in desktop and tried to follow the instructions of installation provided inside the downloaded file. Unfortunately, i am not able to install the program even on the first step. The programme is directly download from the website without did any changes or delete any stuffs. If u know the solutions pls drop ur suggestions and ideas here. Thx a lot.
Below are the commands sequence commands required to install and error messages:
1) when i type " make depends ", the error message is :

g++ -M -g -Wall -I. -Iinclude-fixes -D_GNU_SOURCE *.C > depends.mk
In file included from ./UtChild.h:34,
from ./BoBorder.h:57,
from BoMain.C:26:
./UtSequence.h:26:17: error: stl.h: No such file or directory
In file included from ./BoBorder.h:60,
from BoMain.C:26:
./UtUdpSocket.h:33:23: error: strstream.h: No such file or directory
In file included from dbUnix.C:26:
./UtUnixSocket.h:34:23: error: strstream.h: No such file or directory
In file included from ./LnDiscover.h:80,
from LnMain.C:26:
./UtUdpSocket.h:33:23: error: strstream.h: No such file or directory
In file included from MmMain.C:26:
./MmRouter.h:56:23: error: strstream.h: No such file or directory
In file included from ToMain.C:26:
./ToDot.h:56:23: error: strstream.h: No such file or directory
UtDebug.C:17:17: error: stl.h: No such file or directory
UtDebug.C:22:23: error: strstream.h: No such file or directory
make: *** [depends] Error 1

2) when i type "make" , the error message is :

g++ -g -Wall -I. -Iinclude-fixes -D_GNU_SOURCE -c -o MmMain.o MmMain.C
In file included from /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/backward/fstream.h:31,
from ./MmRouter.h:55,
from MmMain.C:26:
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from MmMain.C:26:
./MmRouter.h:56:23: error: strstream.h: No such file or directory
In file included from ./UtReport.h:29,
from ./UtInterface.h:44,
from ./MmMsg.h:29,
from ./MmRouter.h:75,
from MmMain.C:26:
./UtString.h:29:8: warning: extra tokens at end of #endif directive
./UtUdpSocket.h: In member function ‘InetAddr:perator String() const’:
./UtUdpSocket.h:72: error: ‘ostrstream’ was not declared in this scope
./UtUdpSocket.h:72: error: expected `;' before ‘tmp’
./UtUdpSocket.h:73: error: ‘tmp’ was not declared in this scope
./UtUnixSocket.h: In member function ‘UnixAddr:perator String() const’:
./UtUnixSocket.h:61: error: ‘ostrstream’ was not declared in this scope
./UtUnixSocket.h:61: error: expected `;' before ‘tmp’
./UtUnixSocket.h:62: error: ‘tmp’ was not declared in this scope
./MmRouter.h: In member function ‘void Router::HandleLsp(Lsp&, const InetAddr&, Interface*)’:
./MmRouter.h:1465: warning: comparison is always true due to limited range of data type
./MmRouter.h: In member function ‘void Router::Run()’:
./MmRouter.h:2237: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
./UtTime.h:180: note: candidate 1: Time Time:perator+(double) const
./MmRouter.h:2237: note: candidate 2: operator+(double, unsigned int) <built-in>./MmRouter.h:2318: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
./UtTime.h:180: note: candidate 1: Time Time:perator+(double) const
./MmRouter.h:2318: note: candidate 2: operator+(double, unsigned int) <built-in>make: *** [MmMain.o] Error 1

3) when i type " make install", the error message is :

install -d /etc/mobilemesh
install -d /var/run/mobilemesh
install -m 644 *.conf *.debug /etc/mobilemesh
install -m 550 mmdiscover mmrp mmborder mmtodot mmrpviz mmtunnel /usr/bin
install: cannot stat `mmdiscover': No such file or directory
install: cannot stat `mmrp': No such file or directory
install: cannot stat `mmborder': No such file or directory
install: cannot stat `mmtodot': No such file or directory
wahaha is offline     Reply With Quote
Old 07-09-2006, 12:34 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Thanked: 6
First I don't know if a moderator wil close which of your post. Rules here is not to double post.

Now where can one get the mobile mesh file you are describing?

Also looking at your other post http://www.linuxquestions.org/questi...d.php?t=462268 the software is for 2.2 kernels and FC4 uses 2.6 kernels. There are some mightly big differences between the two levels. 2.2 kernels are proablaby 4 yaers old or older. The structure of the kernel has been radiaclly modified over the years. Reason I say this since it mentions kernel version then I assume it builds modules based on the kernel it runs on. With and FC4 install kernel headers are not installed so it will not be able to build modules based on that kernel. You need to install the matching kernel version of the kernel-devel.*.rpm file. Example if you have kernel-2.6.14.2345.rpm you need to install kernel-devel-2.6.14.2345.rpm to build modules with.

Search here or also on google about FC and kernel-devel to learn about it and how to get them installed.

Maybe once they are installed then it might work. Only other way I know that should work is to install an older distro like Rdhat 7. I would check to see what kernel it installs first before doing that. It may install 2.4 kernel which again may not work with what you have. May have to get Redhat 6 or 5 to get going. Cladera 2.4 used 2.2 kernels.

Brian1
Brian1 is offline     Reply With Quote
Old 07-09-2006, 01:22 PM   #3
wahaha
Member
 
Registered: Jul 2006
Posts: 128
Thanked: 0

Original Poster
Sorry for that i had uploaded 2 same files at different coz i am new to this forum.
The mobile mesh can be obtained from this website:
http://www.mitre.org/work/tech_transfer/mobilemesh
Because i had to posted at least 3 times only can put the url in message, so i din put the link at the beginning previous message.
If u have any ideas to solve the problems, pls let me know.
Thx a lot.
wahaha is offline     Reply With Quote
Old 07-09-2006, 05:20 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Thanked: 6
have you tried contacing the developer by email to see if they know whether it will work with 2.6 kernels? Thats about all I can say to try other than installing and old distro of linux.

Good luck. If you get it going please post back.
Brian1
Brian1 is offline     Reply With Quote
Old 07-10-2006, 11:08 AM   #5
wahaha
Member
 
Registered: Jul 2006
Posts: 128
Thanked: 0

Original Poster
halo.. i have found out a link which able to download the mobile mesh software, http://ftp.debian.org/debian/pool/main/m/mobilemesh/ . But i am using fedora core 4 2.6.11-1.1369_FC4 , is it possible able to run in fedora since it is a debian linux ?
wahaha is offline     Reply With Quote
Old 07-10-2006, 06:34 PM   #6
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Thanked: 6
You can convert a deb file to rpm file using a program called Alien I believe. never tried but you can search google for convert deb to rpm or to a tar.

Brian1
Brian1 is offline     Reply With Quote
Old 07-11-2006, 08:26 AM   #7
wahaha
Member
 
Registered: Jul 2006
Posts: 128
Thanked: 0

Original Poster
halo...i must use the fedora core 4, 2.6.11-1.1369_FC4 and the mobile mesh software as my project, is it modify the source code of mobile mesh software(http://www.mitre.org/work/tech_transfer/mobilemesh) to make it able to run in fedora core 4 is the only way ?? Do you have any suggestions ?
( If anyone have ideas and suggestions to solve this problem, please drop a message to me.... Thanks.)
wahaha is offline     Reply With Quote
Old 07-11-2006, 02:31 PM   #8
wahaha
Member
 
Registered: Jul 2006
Posts: 128
Thanked: 0

Original Poster
halo... for the error message there show that " No such file or directory " , it means dun have such files to support the software to run it ?

if yes how to related to it by fixing the existed codes since it dun have such file ??
wahaha is offline     Reply With Quote
Old 07-13-2006, 02:01 PM   #9
wahaha
Member
 
Registered: Jul 2006
Posts: 128
Thanked: 0

Original Poster
Dear Brian1,

As you said that in previous message: "Example if you have kernel-2.6.14.2345.rpm you need to install kernel-devel-2.6.14.2345.rpm to build modules with."

Now my fedora core 4 kernel is 2.6.11-1.1369_FC4, and the kernel devel package i should install is it on this link: http://www.linuxant.com/driverloader...ernel-i686.php ?

If yes, but my fedora core 4 is i386, is that i can use the kernel-2.6.11-1.1369_FC4.stk16.i686.rpm.zip ?

Is that 2.6.11-1.1369_FC4 and 2.6.11-1.1369_FC4.rpm is same ?
wahaha is offline     Reply With Quote
Old 07-14-2006, 07:17 AM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 16,716
Blog Entries: 30
Thanked: 283
halo...i am new to linux and recently i wanan install a protocol called mobile mesh into my fedora core 4.
Even though MITRE states their (userland-only) code has no dependencies except iproute2 and GraphViz it's old news. It may be interesting to take a look at more recent (2004) developments from Wireless Mesh Networking, like for instance Roofnet which is based on Madwifi. Just an idea...
unSpawn is offline     Reply With Quote
Old 07-15-2006, 12:07 PM   #11
wahaha
Member
 
Registered: Jul 2006
Posts: 128
Thanked: 0

Original Poster
halo... did u able to install the mobile mesh software in ur fedora core 4 ??
Because i am facing the problem not able to install and i am using the fedora core 4, 2.6.11-1.1369_FC4. Someone told me in forum that it is due to different version of kernel so i am not able to install it. Did u have any experience can share with me or u got any methods how to solve the problem? I need ur suggestions and ideas for me because i am using it for my final year project. It is very urgent to me because i still stuck on the installation and still cannot start to learn how to run the mobile mesh software.
Before is the questions i posted in forum and saw ur idea there.

http://www.linuxquestions.org/questi...d.php?t=462328
wahaha is offline     Reply With Quote
Old 07-16-2006, 06:59 AM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 16,716
Blog Entries: 30
Thanked: 283
halo... did u able to install the mobile mesh software in ur fedora core 4 ?? / I need ur suggestions and ideas for me because i am using it for my final year project.
No. I posted leads for you to research. Since this is your project you should do the research. Also note the LQ Rules on homework, so you do the research and we will try to help you with specific technical problems. Read, download and try to install.


u got any methods how to solve the problem?
If you have problems, please post what sources you use (URI's), chronologically the steps you took and *exact* error messages. With respect to those you already posted: please take note of what Brian1 helped you with.


Here's another link: Wireless Mesh Networking which points to LocustWorld, which seems to be multi-platform and has complete ISO's.
unSpawn is offline     Reply With Quote
Old 07-16-2006, 07:13 AM   #13
wahaha
Member
 
Registered: Jul 2006
Posts: 128
Thanked: 0

Original Poster
halo...sorry for done some dumb mistakes. I had able to solve the first type of "make depends" by importing the missing file from fedora core 4 filesystem, which are "stl.h" and "strstream.h"

But when i come to 2nd step of installation by type "make", the error message come out as below:

g++ -g -Wall -I. -Iinclude-fixes -D_GNU_SOURCE -c -o MmMain.o MmMain.C
In file included from /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/backward/fstream.h:31,
from ./MmRouter.h:55,
from MmMain.C:26:
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from ./UtReport.h:29,
from ./UtInterface.h:44,
from ./MmMsg.h:29,
from ./MmRouter.h:75,
from MmMain.C:26:
./UtString.h:29:8: warning: extra tokens at end of #endif directive
./MmRouter.h: In member function ‘void Router::HandleLsp(Lsp&, const InetAddr&, Interface*)’:
./MmRouter.h:1465: warning: comparison is always true due to limited range of data type
./MmRouter.h: In member function ‘void Router::Run()’:
./MmRouter.h:2237: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
./UtTime.h:180: note: candidate 1: Time Time:perator+(double) const
./MmRouter.h:2237: note: candidate 2: operator+(double, unsigned int) <built-in>
./MmRouter.h:2318: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
./UtTime.h:180: note: candidate 1: Time Time:perator+(double) const
./MmRouter.h:2318: note: candidate 2: operator+(double, unsigned int) <built-in>
make: *** [MmMain.o] Error 1

I am not really understand what is the meaning of the error message above.

The installation method for step 2 inside the mobile mesh downloaded file is below:


2) make

This step will build all the Mobile Mesh binaries including:
mmdiscover
mmrp
mmborder
mmtodot

You may want to edit the Makefile. My system's include file
<asm/socket.h> does not define SO_ATTACH_FILTER which is needed by the
Mobile Mesh software. I have provided a newer version of this header
file (taken from the kernel sources) under the "include-fixes"
directory that does define SO_ATTACH_FILTER. If you wish to use your
own system's header file, edit the Makefile and remove the
"-Iinclude-fixes" part of the CXXFLAGS statement.

Did anyone know what is the meaning of error message as shown above ??
wahaha is offline     Reply With Quote
Old 07-16-2006, 09:37 AM   #14
unSpawn
Moderator
 
Registered: May 2001
Posts: 16,716
Blog Entries: 30
Thanked: 283
Last call for alcohol

This file includes at least one deprecated or antiquated header.
Like both MITRE and Brain1 already said this code is out of date and it will not work on 2.6.x kernels.

I'll try to lay your choices on the table:
- Muck with this code until you're past your project date. Chance of success: about nil,
- Try the Debian code. Chance of success: unknown,
- Install Qemu, install kernel 2.2 Guest O.S. distro, then much with this code. Chance of success: unknown,
+ Research Roofnet or MeshAP or check for anything else that uses AODV (Ad Hoc On Demand Distance Vector) Routing or O(F)LSR. Here's some more leads: http://en.wikipedia.org/wiki/Wireless_mesh_network (links at bottom), http://freshmeat.net/projects/sisela/, http://sixmesh.sourceforge.net/index.orig.html, http://plexusap.sourceforge.net/. Chance of success: good, since you're dealing with recent, maintained and supported code.
HTH
unSpawn is offline     Reply With Quote
Old 07-16-2006, 10:37 AM   #15
wahaha
Member
 
Registered: Jul 2006
Posts: 128
Thanked: 0

Original Poster
I must use the mobile mesh software for my project. Is it change to use the linux OS 2.2.X kernel is the only way ??
wahaha is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mobile mesh installation problem wahaha Linux - Software 1 07-16-2006 08:58 AM
mobile mesh protocol installation problem wahaha Linux - Software 1 07-16-2006 08:57 AM
Where to turn SSHv1 protocol and SSHv2 protocol on and off Minnie Nguyen Linux - Enterprise 3 07-05-2006 03:12 PM
Charlotte Church's mobile phone Oops! Topless photo jumps through mobile phones in UK furfurdemon666 General 3 05-03-2005 09:03 AM
Unsupported protocol 'Compression Control Protocol' (0x80fd) received RKris Linux - Software 0 08-21-2002 09:24 AM


All times are GMT -5. The time now is 08:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration