Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70

    mobile mesh protocol installation problem


    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 files downloaded from http://www.mitre.org/work/tech_transfer/mobilemesh/ . 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::operator 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::operator 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::operator+(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::operator+(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

  2. #2
    Just Joined!
    Join Date
    Jul 2006
    Posts
    70

    mobile mesh installation problem ( step 1 solved)

    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 Timeerator+(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 Timeerator+(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 ??

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Posts
    1
    Yes, i have the similar problems.
    But, i use Ubuntu 7.10
    when i want to install mobile mesh, there is a problem like this :
    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 ./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
    In file included from dbUnix.C:26:
    ./UtUnixSocket.h:34:23: error: strstream.h: No such file or directory
    make: *** [depends] Error 1

    any one give me the solution?
    Thank's

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •