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

Parrot Os gcc and branch problem #146

Open
Lfbr-sys opened this issue Sep 4, 2020 · 0 comments
Open

Parrot Os gcc and branch problem #146

Lfbr-sys opened this issue Sep 4, 2020 · 0 comments

Comments

@Lfbr-sys
Copy link

Lfbr-sys commented Sep 4, 2020

I tried manual and semi-automatic installation methods. How can ı solve this?

`

./install.sh

[] Now let's compile the driver from source and copy the files to the right directories
if [ -e verify_branch.sh ] ;
then
./verify_branch.sh ;
fi;
Verifying a sane branch for your kernel version...
No (Current branch master)
Recommended branch is generic-5.7.x based on your kernel version (5.7.0-2parrot2-amd64)
Should I switch it to generic-5.7.x for you? (y/n): y
Branch 'generic-5.7.x' set up to track remote branch 'generic-5.7.x' from 'origin'.
Switched to a new branch 'generic-5.7.x'
make -C /lib/modules/5.7.0-2parrot2-amd64/build M=/root/rtl8188ce-linux-driver modules
make[1]: Entering directory '/usr/src/linux-headers-5.7.0-2parrot2-amd64'
CC [M] /root/rtl8188ce-linux-driver/base.o
gcc: error: unrecognized command-line option ‘--param=allow-store-data-races=0’; did you mean ‘--allow-store-data-races’?
make[3]: *** [/usr/src/linux-headers-5.7.0-2parrot2-common/scripts/Makefile.build:272: /root/rtl8188ce-linux-driver/base.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.7.0-2parrot2-common/Makefile:1745: /root/rtl8188ce-linux-driver] Error 2
make[1]: *** [/usr/src/linux-headers-5.7.0-2parrot2-common/Makefile:180: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.7.0-2parrot2-amd64'
make: *** [Makefile:29: all] Error 2
[
] The build has failed! Please make sure you have all dependencies installed and you are building on the correct branch (kernel version, not linux distro version, is most important for the branch)
`

I edited the BUILD_EXCLUSIVE_KERNEL value in dkms.conf file to ^5.7. but still getting a bunch of errors.*

`#sudo dkms install rtlwifi/1.0.0.0

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.7.0-2parrot2-amd64 KVER=5.7.0-2parrot2-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.7.0-2parrot2-amd64 (x86_64)
Consult /var/lib/dkms/rtlwifi/1.0.0.0/build/make.log for more information.
`

https://github.com/Lfbr-sys/issue/blob/master/make.log

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

No branches or pull requests

1 participant