dahdi-linux icon indicating copy to clipboard operation
dahdi-linux copied to clipboard

xpp: Fix build with 32-bits kernel

Open ffontaine opened this issue 2 years ago • 4 comments

Use div_s64 or div_s64_rem to fix the following build failure on 32-bits kernels:

ERROR: modpost: "__divdi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: modpost: "__udivdi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: modpost: "__moddi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp.ko] undefined!
ERROR: modpost: "__divdi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp.ko] undefined!

[Retrieved from: https://git.buildroot.net/buildroot/tree/package/dahdi-linux/0002-fix-build-with-32-bits-kernel.patch]

ffontaine avatar Aug 16 '23 07:08 ffontaine

Use div_s64 or div_s64_rem to fix the following build failure on 32-bits kernels:

ERROR: modpost: "__divdi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: modpost: "__udivdi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: modpost: "__moddi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp.ko] undefined!
ERROR: modpost: "__divdi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp.ko] undefined!

[Retrieved from: https://git.buildroot.net/buildroot/tree/package/dahdi-linux/0002-fix-build-with-32-bits-kernel.patch]

The CLA will need to be signed for this to be reviewed/merged.

InterLinked1 avatar Aug 16 '23 14:08 InterLinked1

Done

ffontaine avatar Aug 16 '23 14:08 ffontaine

CLA was signed, do you have additional comments?

ffontaine avatar Jan 04 '24 17:01 ffontaine

CLA was signed, do you have additional comments?

I'm not a maintainer of this repo. We're going to have to wait for someone with the right keys to do something. That could take quite a while... average merge time at the moment is 3-4 years :)

InterLinked1 avatar Jan 04 '24 17:01 InterLinked1