NVIDIA / jetson-rdma-picoevb

Minimal HW-based demo of GPUDirect RDMA on NVIDIA Jetson AGX Xavier running L4T
Other
159 stars 44 forks source link

Build issue with 18.04 LTS on X86 PC #11

Closed shimeng-wang closed 1 year ago

shimeng-wang commented 1 year ago

FATAL: parse error in symbol dump file scripts/Makefile.modpost:93: recipe for target 'modpost' failed make[2]: *** [modpost] Error 1 Makefile:1675: recipe for target 'modules' failed make[1]: [modules] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-121-generic' Makefile:18: recipe for target 'modules' failed make: [modules] Error 2

I am getting these errors when I run the ./build-for-pc-native.sh script.

Environment is 18.04 LTS on X86 PC

shimeng-wang commented 1 year ago

I was able to build for 18.04 kernel by modifying the nvidia-ko-to-module-symvers script to add a "tab" to the end of every line in the generated Module.symvers.

apexintern1 commented 1 year ago

Can you explain in detail, on how you resolved the issue? Thank you

pateldipen1984-nv commented 1 year ago

For kernel > 4.9 it seems it requires tab, so you need to reflect that int he nvidia-ko-to-module-symvers script based on which kernel version you choose.

pyt-hnu commented 11 months ago

I was able to build for 18.04 kernel by modifying the nvidia-ko-to-module-symvers script to add a "tab" to the end of every line in the generated Module.symvers.

I meet same problem, can i ask how do you solve it.