Skip to content

fix #378 , error: use of undeclared identifier 'KBUILD_MODNAME'#379

Merged
cfc4n merged 2 commits into
masterfrom
kbuild-modname
Jul 16, 2023
Merged

fix #378 , error: use of undeclared identifier 'KBUILD_MODNAME'#379
cfc4n merged 2 commits into
masterfrom
kbuild-modname

Conversation

@cfc4n
Copy link
Copy Markdown
Member

@cfc4n cfc4n commented Jul 16, 2023

fix #378

Compilation error make nocore.

In file included from kern/openssl_1_1_1a_kern.c:46:
In file included from ./kern/openssl.h:15:
In file included from ./kern/ecapture.h:50:
In file included from /lib/modules/5.15.0-1040-azure/build/include/net/sock.h:59:
In file included from /lib/modules/5.15.0-1040-azure/build/include/linux/filter.h:25:
In file included from /lib/modules/5.15.0-1040-azure/build/include/net/sch_generic.h:21:
/lib/modules/5.15.0-1040-azure/build/include/net/flow_offload.h:359:3: error: use of undeclared identifier 'KBUILD_MODNAME'
                NL_SET_ERR_MSG_MOD(extack, "Driver supports only default HW stats type \"any\"");
                ^
/lib/modules/5.15.0-1040-azure/build/include/linux/netlink.h:102:27: note: expanded from macro 'NL_SET_ERR_MSG_MOD'
        NL_SET_ERR_MSG((extack), KBUILD_MODNAME ": " msg)
                                 ^

@cfc4n cfc4n added 🐞 bug Something isn't working fix bug fix PR labels Jul 16, 2023
@cfc4n cfc4n linked an issue Jul 16, 2023 that may be closed by this pull request
@cfc4n cfc4n merged commit dfb7f4d into master Jul 16, 2023
@cfc4n cfc4n deleted the kbuild-modname branch July 16, 2023 11:07
@cfc4n cfc4n restored the kbuild-modname branch July 16, 2023 11:08
@cfc4n cfc4n deleted the kbuild-modname branch July 16, 2023 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working fix bug fix PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wsa 无法正常工作

1 participant