Error while creating executable file for the testbench VHDL

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am trying to make an executable file for the testbench file of an VHDL project (just an halfadder in VHDL). The name of the entity in the testbench file is HALFADDER_TB and, after compiling the vhd file called HALFADDER and the testbench file called HALFADDER_TB, when I type ghdl -e HALFADDER_TB I get the following error:




/usr/bin/x86_64-linux-gnu-ld: impossibile trovare -lz collect2: error:
ld returned 1 exit status ghdl: compilation error




How can I solve? Some libraries missing? Thanks.







share|improve this question























    up vote
    0
    down vote

    favorite












    I am trying to make an executable file for the testbench file of an VHDL project (just an halfadder in VHDL). The name of the entity in the testbench file is HALFADDER_TB and, after compiling the vhd file called HALFADDER and the testbench file called HALFADDER_TB, when I type ghdl -e HALFADDER_TB I get the following error:




    /usr/bin/x86_64-linux-gnu-ld: impossibile trovare -lz collect2: error:
    ld returned 1 exit status ghdl: compilation error




    How can I solve? Some libraries missing? Thanks.







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to make an executable file for the testbench file of an VHDL project (just an halfadder in VHDL). The name of the entity in the testbench file is HALFADDER_TB and, after compiling the vhd file called HALFADDER and the testbench file called HALFADDER_TB, when I type ghdl -e HALFADDER_TB I get the following error:




      /usr/bin/x86_64-linux-gnu-ld: impossibile trovare -lz collect2: error:
      ld returned 1 exit status ghdl: compilation error




      How can I solve? Some libraries missing? Thanks.







      share|improve this question











      I am trying to make an executable file for the testbench file of an VHDL project (just an halfadder in VHDL). The name of the entity in the testbench file is HALFADDER_TB and, after compiling the vhd file called HALFADDER and the testbench file called HALFADDER_TB, when I type ghdl -e HALFADDER_TB I get the following error:




      /usr/bin/x86_64-linux-gnu-ld: impossibile trovare -lz collect2: error:
      ld returned 1 exit status ghdl: compilation error




      How can I solve? Some libraries missing? Thanks.









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 5 at 16:32









      michele_ub

      10017




      10017

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043866%2ferror-while-creating-executable-file-for-the-testbench-vhdl%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043866%2ferror-while-creating-executable-file-for-the-testbench-vhdl%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error