SPARC-RTEMS5-GCC ignores or don't find librariesCompiler Error on code with GCC that worked on WindowsCannot find include for limits.h when building a GCC Cross-CompilerWhat is this weird error when I compile my source code with android-ndk-10d?RTEMS compilation and installation errorUndefined reference to `nfsInit`glibc Cross Compile Configure ErrorCompiler errors for GCC (via CUDA) intrinsic functions, but I'm not using anygccgo-gcc510-cross-compile-for-sparc error: 1. libgcc_s.so.1: version `GCC_4.2.0' not found 2. libgcc_s.so.1: wrong ELF type: ELFCLASS32Compile Cython Extensions Error - Pycharm IDEHow to Build RTEMS 4.11 environment properly in a Linux Mint

Is it possible to measure lightning discharges as Nikola Tesla?

Why the difference in metal between 銀行 and お金?

get exit status from system() call

Do I have an "anti-research" personality?

What word means to make something obsolete?

What is the difference between `a[bc]d` (brackets) and `ab,cd` (braces)?

Why didn't this hurt this character as badly?

Why are the 2nd/3rd singular forms of present of « potere » irregular?

When and why did journal article titles become descriptive, rather than creatively allusive?

gnu parallel how to use with ffmpeg

Phrase for the opposite of "foolproof"

What is the point of Germany's 299 "party seats" in the Bundestag?

Can a creature tell when it has been "Portented"?

Can my Warlock be invisible and attack with its familiar?

Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?

Reverse the word in a string with the same order in javascript

Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?

Pulling the rope with one hand is as heavy as with two hands?

Can not tell colimits from limits

How to set the font color of quantity objects (Version 11.3 vs version 12)?

What does "rf" mean in "rfkill"?

In gnome-terminal only 2 out of 3 zoom keys work

Any examples of headwear for races with animal ears?

Can solid acids and bases have pH values? If not, how are they classified as acids or bases?



SPARC-RTEMS5-GCC ignores or don't find libraries


Compiler Error on code with GCC that worked on WindowsCannot find include for limits.h when building a GCC Cross-CompilerWhat is this weird error when I compile my source code with android-ndk-10d?RTEMS compilation and installation errorUndefined reference to `nfsInit`glibc Cross Compile Configure ErrorCompiler errors for GCC (via CUDA) intrinsic functions, but I'm not using anygccgo-gcc510-cross-compile-for-sparc error: 1. libgcc_s.so.1: version `GCC_4.2.0' not found 2. libgcc_s.so.1: wrong ELF type: ELFCLASS32Compile Cython Extensions Error - Pycharm IDEHow to Build RTEMS 4.11 environment properly in a Linux Mint






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with
linux mint. The environment comes with sample applications. I'm trying to compile the
sample from "hello" (init.c) using sparc-rtems5-gcc, here's the command line:



sparc-rtems5-gcc -g -O2 /home/michel/masters_project/src/rtems/testsuites/samples/hello/init.c -o /home/michel/masters_project/compile_test/hello2.exe


but it returns the following error:



fatal error: rtems.h: No such file or directory
#include <rtems.h>
^~~~~~~~~
compilation terminated.


So I tried to comment rtems.h in the init.c code and leave the next library of the code,
tmacros.h, so I tried to compile again and had the following error:



fatal error: tmacros.h: No such file or directory
#include <tmacros.h>
^~~~~~~~~~~
compilation terminated.


I have used the locate command and found these libraries in the envinronment tree.
As far as I perceived the sparc-rtems5-gcc does not find or ignore the libraries.
I added the bin folder to the PATH variable.
command line:



export PATH=$HOME/masters_project/rtems/5/bin:"$PATH"


Also I have created the variable
RTEMS_MAKEFILE_PATH based in older versions instructions. I found
that RTEMS_MAKEFILE_PATH variable should point to where the BSP files are. But
I'm not sure if in the present version of RTEMS it is still necessary to create this environment variable since I have not found any instructions for this in the main docs.



command line:



export RTEMS_MAKEFILE_PATH=/home/michel/masters_project/build/b-erc32


Could someone help ? Also if you have a working environment could you copy your project
tree for me ?



my uname -a command output:



Linux michel-COM 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux









share|improve this question




























    0















    I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with
    linux mint. The environment comes with sample applications. I'm trying to compile the
    sample from "hello" (init.c) using sparc-rtems5-gcc, here's the command line:



    sparc-rtems5-gcc -g -O2 /home/michel/masters_project/src/rtems/testsuites/samples/hello/init.c -o /home/michel/masters_project/compile_test/hello2.exe


    but it returns the following error:



    fatal error: rtems.h: No such file or directory
    #include <rtems.h>
    ^~~~~~~~~
    compilation terminated.


    So I tried to comment rtems.h in the init.c code and leave the next library of the code,
    tmacros.h, so I tried to compile again and had the following error:



    fatal error: tmacros.h: No such file or directory
    #include <tmacros.h>
    ^~~~~~~~~~~
    compilation terminated.


    I have used the locate command and found these libraries in the envinronment tree.
    As far as I perceived the sparc-rtems5-gcc does not find or ignore the libraries.
    I added the bin folder to the PATH variable.
    command line:



    export PATH=$HOME/masters_project/rtems/5/bin:"$PATH"


    Also I have created the variable
    RTEMS_MAKEFILE_PATH based in older versions instructions. I found
    that RTEMS_MAKEFILE_PATH variable should point to where the BSP files are. But
    I'm not sure if in the present version of RTEMS it is still necessary to create this environment variable since I have not found any instructions for this in the main docs.



    command line:



    export RTEMS_MAKEFILE_PATH=/home/michel/masters_project/build/b-erc32


    Could someone help ? Also if you have a working environment could you copy your project
    tree for me ?



    my uname -a command output:



    Linux michel-COM 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux









    share|improve this question
























      0












      0








      0








      I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with
      linux mint. The environment comes with sample applications. I'm trying to compile the
      sample from "hello" (init.c) using sparc-rtems5-gcc, here's the command line:



      sparc-rtems5-gcc -g -O2 /home/michel/masters_project/src/rtems/testsuites/samples/hello/init.c -o /home/michel/masters_project/compile_test/hello2.exe


      but it returns the following error:



      fatal error: rtems.h: No such file or directory
      #include <rtems.h>
      ^~~~~~~~~
      compilation terminated.


      So I tried to comment rtems.h in the init.c code and leave the next library of the code,
      tmacros.h, so I tried to compile again and had the following error:



      fatal error: tmacros.h: No such file or directory
      #include <tmacros.h>
      ^~~~~~~~~~~
      compilation terminated.


      I have used the locate command and found these libraries in the envinronment tree.
      As far as I perceived the sparc-rtems5-gcc does not find or ignore the libraries.
      I added the bin folder to the PATH variable.
      command line:



      export PATH=$HOME/masters_project/rtems/5/bin:"$PATH"


      Also I have created the variable
      RTEMS_MAKEFILE_PATH based in older versions instructions. I found
      that RTEMS_MAKEFILE_PATH variable should point to where the BSP files are. But
      I'm not sure if in the present version of RTEMS it is still necessary to create this environment variable since I have not found any instructions for this in the main docs.



      command line:



      export RTEMS_MAKEFILE_PATH=/home/michel/masters_project/build/b-erc32


      Could someone help ? Also if you have a working environment could you copy your project
      tree for me ?



      my uname -a command output:



      Linux michel-COM 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux









      share|improve this question














      I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with
      linux mint. The environment comes with sample applications. I'm trying to compile the
      sample from "hello" (init.c) using sparc-rtems5-gcc, here's the command line:



      sparc-rtems5-gcc -g -O2 /home/michel/masters_project/src/rtems/testsuites/samples/hello/init.c -o /home/michel/masters_project/compile_test/hello2.exe


      but it returns the following error:



      fatal error: rtems.h: No such file or directory
      #include <rtems.h>
      ^~~~~~~~~
      compilation terminated.


      So I tried to comment rtems.h in the init.c code and leave the next library of the code,
      tmacros.h, so I tried to compile again and had the following error:



      fatal error: tmacros.h: No such file or directory
      #include <tmacros.h>
      ^~~~~~~~~~~
      compilation terminated.


      I have used the locate command and found these libraries in the envinronment tree.
      As far as I perceived the sparc-rtems5-gcc does not find or ignore the libraries.
      I added the bin folder to the PATH variable.
      command line:



      export PATH=$HOME/masters_project/rtems/5/bin:"$PATH"


      Also I have created the variable
      RTEMS_MAKEFILE_PATH based in older versions instructions. I found
      that RTEMS_MAKEFILE_PATH variable should point to where the BSP files are. But
      I'm not sure if in the present version of RTEMS it is still necessary to create this environment variable since I have not found any instructions for this in the main docs.



      command line:



      export RTEMS_MAKEFILE_PATH=/home/michel/masters_project/build/b-erc32


      Could someone help ? Also if you have a working environment could you copy your project
      tree for me ?



      my uname -a command output:



      Linux michel-COM 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux






      compiler-errors sparc rtems






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 18:47









      MacenaMacena

      164




      164






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55306034%2fsparc-rtems5-gcc-ignores-or-dont-find-libraries%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid …


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55306034%2fsparc-rtems5-gcc-ignores-or-dont-find-libraries%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

          Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?