NVIDIA / NVIDIA/open-gpu-kernel-modules
Cannot build with implicit declaration of function 'del_timer_sync'
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
NVIDIA Open GPU Kernel Modules Version
main branch
Operating System and Version
RL 10.1
Kernel Release
7.0.0
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Build Command
git clone https://github.com/NVIDIA/open-gpu-kernel-modules
cd open-gpu-kernel-modules
export IGNORE_MISSING_MODULE_SYMVERS=1
make
Terminal output/Build Log
Using gcc 14.3.1
glibc 2.42
CONFTEST: cmd_uphy_display_port_off
CONFTEST: memory_failure_mf_sw_simulated_defined
CONFTEST: device_vm_build
CONFTEST: pcie_reset_flr
CONFTEST: module_import_ns_takes_constant
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CC [M] nvidia/nv-platform.o
In file included from ././common/inc/nv-linux.h:36,
from ././common/inc/nv-platform.h:27,
from nvidia/nv-platform.c:30:
././common/inc/nv-timer.h: In function 'nv_timer_delete_sync':
././common/inc/nv-timer.h:58:5: error: implicit declaration of function 'del_timer_sync' [-Wimplicit-function-declaration]
58 | del_timer_sync(timer);
| ^~~~~~~~~~~~~~
make[5]: *** [/usr/src/linux-7.0/scripts/Makefile.build:289: nvidia/nv-platform.o] Error 1
make[4]: *** [/usr/src/linux-7.0/Makefile:2105: .] Error 2
make[3]: *** [/usr/src/linux-7.0/Makefile:248: __sub-make] Error 2
make[3]: Leaving directory '/root/open-gpu-kernel-modules/kernel-open'
make[2]: *** [Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-7.0'
make[1]: *** [Makefile:138: modules] Error 2
make[1]: Leaving directory '/root/open-gpu-kernel-modules/kernel-open'
make: *** [Makefile:59: modules] Error 2
More Info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with common/inc/nv-timer.h around nv_timer_delete_sync and the build path through nvidia/nv-platform.c. Reproduce the reported make command against the stated kernel and inspect the relevant kernel timer API declarations. Done means the module builds without the implicit-declaration error on the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100