Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix linker errors when compiling with clang #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dotnixd
Copy link

@dotnixd dotnixd commented Jun 7, 2020

No description provided.

@dotnixd
Copy link
Author

dotnixd commented Jun 7, 2020

log (without fix):

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.44/build M=/home/unix/Sources/rtl8821ce-tomaspinho  modules
make[1]: Entering directory '/usr/src/linux-5.4.44'
    Building modules, stage 2.
    MODPOST 1 modules.
ERROR: "is_zero_mac_addr" [/home/unix/Sources/rtl8821ce-tomaspinho/8821ce.ko] undefined!
ERROR: "is_multicast_mac_addr" [/home/unix/Sources/rtl8821ce-tomaspinho/8821ce.ko] undefined!
ERROR: "is_broadcast_mac_addr" [/home/unix/Sources/rtl8821ce-tomaspinho/8821ce.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make[1]: *** [Makefile:1616: modules] Error 2
make[1] Leaving directory '/usr/src/linux-5.4.44'
make: *** [Makefile:2244: modules] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant