Uploaded image for project: 'ROGUE'
  1. ROGUE
  2. ESROGUE-654

data_gpu: failed to build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: resolved
    • Icon: Major Major
    • None
    • None

      In general, I think the README.md for the aes-stream-driver repo needs some "TLC". But either the driver is broken or instructions need to include the necessary packages to be installed on the host computer.

      ruckman@rdsrv403:~/projects/aes-stream-drivers/data_gpu/driver$ make
      5.19.3-1-g993ff07
      make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.5.0-15-generic/build M=/afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver modules
      make[1]: Entering directory '/usr/src/linux-headers-6.5.0-15-generic'
      warning: the compiler differs from the one used to build the kernel
        The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
        You are using:           gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
        CC [M]  /afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver/src/dma_buffer.o
        CC [M]  /afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver/src/dma_common.o
        CC [M]  /afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver/src/axi_version.o
        CC [M]  /afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver/src/axis_gen2.o
        CC [M]  /afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver/src/gpu_async.o
      In file included from /afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver/src/gpu_async.c:1:
      /afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver/src/gpu_async.h:25:10: fatal error: nv-p2p.h: No such file or directory
         25 | #include <nv-p2p.h>
            |          ^~~~~~~~~~
      compilation terminated.
      make[3]: *** [scripts/Makefile.build:251: /afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver/src/gpu_async.o] Error 1
      make[2]: *** [/usr/src/linux-headers-6.5.0-15-generic/Makefile:2037: /afs/slac.stanford.edu/u/re/ruckman/projects/aes-stream-drivers/data_gpu/driver] Error 2
      make[1]: *** [Makefile:234: __sub-make] Error 2
      make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-15-generic'
      make: *** [Makefile:41: all] Error 2
      

              rherbst Ryan Herbst
              ruckman Larry Ruckman
              Larry Ruckman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: