bondagit / ravenna-alsa-lkm

RAVENNA ALSA LKM
20 stars 9 forks source link

fail to build driver #15

Closed TotalSonic closed 8 months ago

TotalSonic commented 10 months ago

Greetings - in attempting to build the driver on Ubuntu 23.10 I get this error: | ^~~~ CC [M] /home/steveb/ravenna-alsa-lkm/driver/module_interface.o CC [M] /home/steveb/ravenna-alsa-lkm/driver/module_netlink.o CC [M] /home/steveb/ravenna-alsa-lkm/driver/module_timer.o CC [M] /home/steveb/ravenna-alsa-lkm/driver/EtherTubeNetfilter.o CC [M] /home/steveb/ravenna-alsa-lkm/driver/RTP_streams_manager.o CC [M] /home/steveb/ravenna-alsa-lkm/driver/RTP_audio_stream.o CC [M] /home/steveb/ravenna-alsa-lkm/driver/RTP_stream.o CC [M] /home/steveb/ravenna-alsa-lkm/driver/RTP_stream_info.o CC [M] /home/steveb/ravenna-alsa-lkm/driver/MTAL_EthUtils.o CC [M] /home/steveb/ravenna-alsa-lkm/driver/MTAL_LKernelAPI.o /home/steveb/ravenna-alsa-lkm/driver/MTAL_LKernelAPI.c:94:10: fatal error: stdarg.h: No such file or directory 94 | #include | ^~~~~~ compilation terminated. make[3]: [scripts/Makefile.build:251: /home/steveb/ravenna-alsa-lkm/driver/MTAL_LKernelAPI.o] Error 1 make[2]: [/usr/src/linux-headers-6.5.0-14-generic/Makefile:2037: /home/steveb/ravenna-alsa-lkm/driver] Error 2 make[1]: [Makefile:234: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-14-generic' make: [Makefile:14: modules] Error 2 steveb@TSM-i7-UB:~/ravenna-alsa-lkm/driver$

bondagit commented 8 months ago

check your toolchain.

TotalSonic commented 8 months ago

Andrea - thanks so much for your reply. How do I check my toolchain? What am I checking for in it?

Best regards, Steve Berson Total Sonic Media digital & analog audio mastering http://totalsonic.net +1-718-594-0859

Mar 23, 2024 9:46:52 AM Andrea Bondavalli @.***>:

check your toolchain.

— Reply to this email directly, view it on GitHub[https://github.com/bondagit/ravenna-alsa-lkm/issues/15#issuecomment-2016514400], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ATDNYCSGVVONTHYSLVVC7ELYZWIVBAVCNFSM6AAAAABBT3HLQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGUYTINBQGA]. You are receiving this because you authored the thread. [Tracking image][https://github.com/notifications/beacon/ATDNYCXM525MPIWNMBSCLBLYZWIVBA5CNFSM6AAAAABBT3HLQGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTYGGIWA.gif]

bondagit commented 8 months ago

Hi Steve,

Check if the following helps you. https://stackoverflow.com/questions/54480765/how-can-i-solve-stdarg-h-no-such-file-or-directory-while-compiling-out-of-tree-l How can I solve stdarg.h No such file or directory while compiling out-of-tree Linux kernel module? stackoverflow.com

Kind regards, Andrea

On 23 Mar 2024, at 16:26, TotalSonic @.***> wrote:

Andrea - thanks so much for your reply. How do I check my toolchain? What am I checking for in it?

Best regards, Steve Berson Total Sonic Media digital & analog audio mastering http://totalsonic.net +1-718-594-0859

Mar 23, 2024 9:46:52 AM Andrea Bondavalli @.***>:

check your toolchain.

— Reply to this email directly, view it on GitHub[https://github.com/bondagit/ravenna-alsa-lkm/issues/15#issuecomment-2016514400], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ATDNYCSGVVONTHYSLVVC7ELYZWIVBAVCNFSM6AAAAABBT3HLQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGUYTINBQGA]. You are receiving this because you authored the thread. [Tracking image][https://github.com/notifications/beacon/ATDNYCXM525MPIWNMBSCLBLYZWIVBA5CNFSM6AAAAABBT3HLQGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTYGGIWA.gif]

— Reply to this email directly, view it on GitHub https://github.com/bondagit/ravenna-alsa-lkm/issues/15#issuecomment-2016524574, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOTDDZ7IITVR6UJLWWJKEDYZWNKXAVCNFSM6AAAAABBT3HLQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGUZDINJXGQ. You are receiving this because you modified the open/close state.