Loading ...
Sorry, an error occurred while loading the content.

Tekkotsu newbie

Expand Messages
  • sxcandris
    Hello everyone. This is my first post here and I will try to make it as straightforward as I can, although it s been giving me trouble for a while now. After
    Message 1 of 7 , Jun 20, 2008
    View Source
    • 0 Attachment
      Hello everyone. This is my first post here and I will try to make it
      as straightforward as I can, although it's been giving me trouble for
      a while now.
      After what seems a successful installation of both OPEN-R and Tekkotsu
      on my Ubuntu 8 machine, I try to "make install" or "make update" in
      order to get my project files loaded on the mem-stick. The compilation
      starts and after a few lines I always get this:

      Compiling Wireless/Wireless.cc...
      In file included from Wireless/Wireless.cc:1:
      Wireless/Wireless.cc: In member function `int Wireless::listen(int
      , int)':
      Wireless/Wireless.cc:108: error: `Extra_Entry'
      undeclared (first use this function)
      Wireless/Wireless.cc:108: error: (Each undeclared identifier is r
      eported only once for each function it appears in.)
      Wireless/Wireless.cc:108: error: `entryListenCont
      ' undeclared (first use this function)
      Wireless/Wireless.cc: In member function `int Wireless::connect(int,
      const char*, int)':
      Wireless/Wireless.cc:155: error: `entryConnectCont
      ' undeclared (first use this function)
      Wireless/Wireless.cc: In member function `void Wireless::send(int)
      ':
      Wireless/Wireless.cc:294: error: `entrySendCont
      ' undeclared (first use this function)
      Wireless/Wireless.cc: In member function `void Wireless::receive(int)
      ':
      Wireless/Wireless.cc:404: error: `entryReceiveCont
      ' undeclared (first use this function)
      Wireless/Wireless.cc: In member function `void Wireless::close(int)
      ':
      Wireless/Wireless.cc:545: error: `entryCloseCont
      ' undeclared (first use this function)
      make[1]: ***
      [/usr/local/Tekkotsu_4.0/build/PLATFORM_APERIOS/TGT_ERS7/Wireless/Wireless.o]
      Error 1
      make[1]: Leaving directory `/usr/local/Tekkotsu_4.0'
      make: *** [buildLibs] Error 2


      ..and so nothing happens. I run this as root, so I don't suppose it's
      a permissions issue. Just for reference, I compile with both gcc and
      g++ set to v4.1
      Does anyone have any idea why this happens?
    • Ethan Tira-Thompson
      Hmm, this value Extra_Entry that it s complaining about should be found in Tekkotsu/aperios/MMCombo/entry.h This file (and a few others) is automatically
      Message 2 of 7 , Jun 20, 2008
      View Source
      • 0 Attachment
        Hmm, this value 'Extra_Entry' that it's complaining about should be found in Tekkotsu/aperios/MMCombo/entry.h

        This file (and a few others) is automatically generated from stub.cfg in the same directory by a script in the OPEN_R directory (OPEN_R_SDK/OPEN_R/bin/stubgen2).  I'd say try a clean recompile, and watch for errors regarding stub files (e.g. MMComboStub.*)

        -Ethan

        On Jun 20, 2008, at 12:33 PM, sxcandris wrote:

        Hello everyone. This is my first post here and I will try to make it
        as straightforward as I can, although it's been giving me trouble for
        a while now. 
        After what seems a successful installation of both OPEN-R and Tekkotsu
        on my Ubuntu 8 machine, I try to "make install" or "make update" in
        order to get my project files loaded on the mem-stick. The compilation
        starts and after a few lines I always get this: 

        Compiling Wireless/Wireless. cc...
        In file included from Wireless/Wireless. cc:1:
        Wireless/Wireless. cc: In member function `int Wireless::listen( int
        , int)':
        Wireless/Wireless. cc:108: error: `Extra_Entry'
        undeclared (first use this function)
        Wireless/Wireless. cc:108: error: (Each undeclared identifier is r
        eported only once for each function it appears in.)
        Wireless/Wireless. cc:108: error: `entryListenCont
        ' undeclared (first use this function)
        Wireless/Wireless. cc: In member function `int Wireless::connect( int, 
        const char*, int)':
        Wireless/Wireless. cc:155: error: `entryConnectCont
        ' undeclared (first use this function)
        Wireless/Wireless. cc: In member function `void Wireless::send( int)
        ':
        Wireless/Wireless. cc:294: error: `entrySendCont
        ' undeclared (first use this function)
        Wireless/Wireless. cc: In member function `void Wireless::receive( int)
        ':
        Wireless/Wireless. cc:404: error: `entryReceiveCont
        ' undeclared (first use this function)
        Wireless/Wireless. cc: In member function `void Wireless::close( int)
        ':
        Wireless/Wireless. cc:545: error: `entryCloseCont
        ' undeclared (first use this function)
        make[1]: ***
        [/usr/local/ Tekkotsu_ 4.0/build/ PLATFORM_ APERIOS/TGT_ ERS7/Wireless/ Wireless. o]
        Error 1
        make[1]: Leaving directory `/usr/local/ Tekkotsu_ 4.0'
        make: *** [buildLibs] Error 2

        ..and so nothing happens. I run this as root, so I don't suppose it's
        a permissions issue. Just for reference, I compile with both gcc and
        g++ set to v4.1 
        Does anyone have any idea why this happens?


      • SK
        No stub errors, but I noticed that there is something wrong with the OPEN-R installation. I removed everything and tried from scratch several times but this is
        Message 3 of 7 , Jun 23, 2008
        View Source
        • 0 Attachment
          No stub errors, but I noticed that there is something wrong with the
          OPEN-R installation. I removed everything and tried from scratch
          several times but this is what I keep getting near the end of OPEN-R
          installation:

          make[3]: Entering directory
          `/home/stamatis/aibo/installation/bld-newlib-1.15.0/etc'
          /home/stamatis/aibo/installation/newlib-1.15.0/missing makeinfo
          --split-size=5000000 --split-size=5000000 --no-split
          -I../../newlib-1.15.0/etc -o standards.info
          ../../newlib-1.15.0/etc/standards.texi
          WARNING: `makeinfo' is missing on your system. You should only need it if
          you modified a `.texi' or `.texinfo' file, or any other file
          indirectly affecting the aspect of the manual. The spurious
          call might also be the consequence of using a buggy `make' (AIX,
          DU, IRIX). You might want to install the `Texinfo' package or
          the `GNU make' package. Grab either from any GNU archive site.
          make[3]: *** [standards.info] Error 1
          make[3]: Leaving directory
          `/home/stamatis/aibo/installation/bld-newlib-1.15.0/etc'
          make[2]: *** [info] Error 1
          make[2]: Leaving directory
          `/home/stamatis/aibo/installation/bld-newlib-1.15.0/etc'
          make[1]: *** [all-etc] Error 2
          make[1]: Leaving directory
          `/home/stamatis/aibo/installation/bld-newlib-1.15.0'
          make: *** [all] Error 2


          Do u know what could be the cause of this?? The weird thing is that it
          is complaining for things that exist on my system, so I don't have a
          clue as to what I should be looking for :-\ ...
        • Filipe
          You have to install the packages Texinfo and GNU make like it s explained in the WARNING you got. If you can t tell me what is your distro and maybe I can
          Message 4 of 7 , Jun 24, 2008
          View Source
          • 0 Attachment
            You have to install the packages "Texinfo" and "GNU make" like it's
            explained in the WARNING you got. If you can't tell me what is your
            distro and maybe I can help.

            --- In tekkotsu_dev@yahoogroups.com, "SK" <sxcandris@...> wrote:
            >
            > No stub errors, but I noticed that there is something wrong with the
            > OPEN-R installation. I removed everything and tried from scratch
            > several times but this is what I keep getting near the end of OPEN-R
            > installation:
            >
            > make[3]: Entering directory
            > `/home/stamatis/aibo/installation/bld-newlib-1.15.0/etc'
            > /home/stamatis/aibo/installation/newlib-1.15.0/missing makeinfo
            > --split-size=5000000 --split-size=5000000 --no-split
            > -I../../newlib-1.15.0/etc -o standards.info
            > ../../newlib-1.15.0/etc/standards.texi
            > WARNING: `makeinfo' is missing on your system. You should only need
            it if
            > you modified a `.texi' or `.texinfo' file, or any other file
            > indirectly affecting the aspect of the manual. The spurious
            > call might also be the consequence of using a buggy `make'
            (AIX,
            > DU, IRIX). You might want to install the `Texinfo' package or
            > the `GNU make' package. Grab either from any GNU archive site.
            > make[3]: *** [standards.info] Error 1
            > make[3]: Leaving directory
            > `/home/stamatis/aibo/installation/bld-newlib-1.15.0/etc'
            > make[2]: *** [info] Error 1
            > make[2]: Leaving directory
            > `/home/stamatis/aibo/installation/bld-newlib-1.15.0/etc'
            > make[1]: *** [all-etc] Error 2
            > make[1]: Leaving directory
            > `/home/stamatis/aibo/installation/bld-newlib-1.15.0'
            > make: *** [all] Error 2
            >
            >
            > Do u know what could be the cause of this?? The weird thing is that it
            > is complaining for things that exist on my system, so I don't have a
            > clue as to what I should be looking for :-\ ...
            >
          • SK
            That s why I said it s weird. I have already installed all that stuff. I m using Ubuntu 8. Do u think apart from the gcc version conflict, that there might be
            Message 5 of 7 , Jun 24, 2008
            View Source
            • 0 Attachment
              That's why I said it's weird. I have already installed all that stuff.
              I'm using Ubuntu 8. Do u think apart from the gcc version conflict,
              that there might be some other problem with the "texinfo" and "GNU
              make" versions??
            • Michail G. Lagoudakis
              ... A solution around this problem is to enter into each directory shown in the error messages you get and issue manually the makeinfo command. That worked for
              Message 6 of 7 , Jun 25, 2008
              View Source
              • 0 Attachment

                Do u know what could be the cause of this?? The weird thing is that it
                is complaining for things that exist on my system, so I don't have a
                clue as to what I should be looking for :-\ ...





                A solution around this problem is to enter into each directory shown in the error messages you get and issue manually the makeinfo command. That worked for me. It's strange why this occurs. Just copy and paste the command, e.g.

                cd /home/stamatis/aibo/installation/bld-newlib-1.15.0/etc
                makeinfo --split-size=5000000 --split-size=5000000 --no-split -I../../newlib-1.15.0/etc -o standards.info ../../newlib-1.15.0/etc/standards.texi

                Michail
              • SK
                That did it Michail! Thanks a lot :-) It s funny however why a problem like that would appear? Do you think it is a matter of compiler versions or ubuntu? I
                Message 7 of 7 , Jun 26, 2008
                View Source
                • 0 Attachment
                  That did it Michail! Thanks a lot :-)

                  It's funny however why a problem like that would appear? Do you think
                  it is a matter of compiler versions or ubuntu? I ended up using
                  gcc-3.4 to get things done correctly, after trying with 3.3 .
                Your message has been successfully submitted and would be delivered to recipients shortly.