radeon_trace.h: No such file or directory When trying to build radeon











up vote
0
down vote

favorite












The full error message from make:



In file included from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace.h:209,
from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace_points.c:10:
./include/trace/define_trace.h:89:42: fatal error: ../../drivers/gpu/drm/radeon/radeon_trace.h: No such file or directory
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^
compilation terminated.
make[1]: *** [scripts/Makefile.build:327: /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace_points.o] Error 1
make: *** [Makefile:1546: _module_/home/username/linux-4.18.0/drivers/gpu/drm/radeon] Error 2


(replace username with my home folder name above)



I've been trying to follow this to modify, build, and insert the radeon module into the already built kernel without having to build the whole kernel as I do always because of this bug.



It happens when I run make -C /lib/modules/$(uname -r)/build M=$(pwd) modules from the directory ~/linux-4.18.0/drivers/gpu/drm/radeon.










share|improve this question




























    up vote
    0
    down vote

    favorite












    The full error message from make:



    In file included from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace.h:209,
    from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace_points.c:10:
    ./include/trace/define_trace.h:89:42: fatal error: ../../drivers/gpu/drm/radeon/radeon_trace.h: No such file or directory
    #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
    ^
    compilation terminated.
    make[1]: *** [scripts/Makefile.build:327: /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace_points.o] Error 1
    make: *** [Makefile:1546: _module_/home/username/linux-4.18.0/drivers/gpu/drm/radeon] Error 2


    (replace username with my home folder name above)



    I've been trying to follow this to modify, build, and insert the radeon module into the already built kernel without having to build the whole kernel as I do always because of this bug.



    It happens when I run make -C /lib/modules/$(uname -r)/build M=$(pwd) modules from the directory ~/linux-4.18.0/drivers/gpu/drm/radeon.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      The full error message from make:



      In file included from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace.h:209,
      from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace_points.c:10:
      ./include/trace/define_trace.h:89:42: fatal error: ../../drivers/gpu/drm/radeon/radeon_trace.h: No such file or directory
      #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
      ^
      compilation terminated.
      make[1]: *** [scripts/Makefile.build:327: /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace_points.o] Error 1
      make: *** [Makefile:1546: _module_/home/username/linux-4.18.0/drivers/gpu/drm/radeon] Error 2


      (replace username with my home folder name above)



      I've been trying to follow this to modify, build, and insert the radeon module into the already built kernel without having to build the whole kernel as I do always because of this bug.



      It happens when I run make -C /lib/modules/$(uname -r)/build M=$(pwd) modules from the directory ~/linux-4.18.0/drivers/gpu/drm/radeon.










      share|improve this question















      The full error message from make:



      In file included from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace.h:209,
      from /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace_points.c:10:
      ./include/trace/define_trace.h:89:42: fatal error: ../../drivers/gpu/drm/radeon/radeon_trace.h: No such file or directory
      #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
      ^
      compilation terminated.
      make[1]: *** [scripts/Makefile.build:327: /home/username/linux-4.18.0/drivers/gpu/drm/radeon/radeon_trace_points.o] Error 1
      make: *** [Makefile:1546: _module_/home/username/linux-4.18.0/drivers/gpu/drm/radeon] Error 2


      (replace username with my home folder name above)



      I've been trying to follow this to modify, build, and insert the radeon module into the already built kernel without having to build the whole kernel as I do always because of this bug.



      It happens when I run make -C /lib/modules/$(uname -r)/build M=$(pwd) modules from the directory ~/linux-4.18.0/drivers/gpu/drm/radeon.







      drivers kernel compiling radeon make






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 17 at 13:20

























      asked Nov 17 at 13:15









      Tooniis

      412526




      412526



























          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: 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%2faskubuntu.com%2fquestions%2f1093718%2fradeon-trace-h-no-such-file-or-directory-when-trying-to-build-radeon%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          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%2f1093718%2fradeon-trace-h-no-such-file-or-directory-when-trying-to-build-radeon%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

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei