cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
399
Views
0
Helpful
0
Replies

Installation problems of SmartNIC GM software on Ubuntu 20.04

Heiko_22
Level 1
Level 1

Hello,

I am not able to install the software for the  Nexus SmartNIC GM on ubuntu 20.04.
The installation using apt throws an error because of an missing ";" ...

When trying to correct the error in the source code, the installation failed with the following error:

make -C modules/exanic
make[1]: Entering directory '[..]/exanic-2.7.1/modules/exanic'
make -C /lib/modules/`uname -r`/build M=$PWD modules
make[2]: Entering directory '/usr/src/linux-headers-5.13.0-30-generic'
CC [M] [..]/exanic-2.7.1/modules/exanic/exanic-main.o
In file included from [..]/exanic-2.7.1/modules/exanic/exanic-main.c:33:
[..]/exanic-2.7.1/modules/exanic/exanic.h:12:21: error: expected declaration specifiers or ā€˜...ā€™ before string constant
12 | #define DRV_NAME "exanic"
| ^~~~~~~~
[..]/exanic-2.7.1/modules/exanic/exanic-main.c:2091:25: note: in expansion of macro ā€˜DRV_NAMEā€™
2091 | MODULE_SUPPORTED_DEVICE(DRV_NAME);
| ^~~~~~~~
make[3]: *** [scripts/Makefile.build:281: [..]/exanic-2.7.1/modules/exanic/exanic-main.o] Error 1
make[2]: *** [Makefile:1879: [..]/exanic-2.7.1/modules/exanic] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.13.0-30-generic'
make[1]: *** [Makefile:17: default] Error 2
make[1]: Leaving directory '[..]/exanic-2.7.1/modules/exanic'
make: *** [Makefile:9: modules] Error 2

Does anyone know this error or already fixed it?
Thanks!

0 Replies 0