Build Error With ./configure --disable-networking
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c
- Domain
- build-system
Research direction
The reported failure is in record/drivers/record_nvenc.c when building with ./configure --disable-networking; start by inspecting record_nvenc_stop and record_nvenc_poll and how their command event declarations are included under that configuration. Reproduce with the stated configure command and check the build without the switch as a comparison. Done means the disabled-networking build compiles successfully.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- This is a bug in RetroArch frontend
- I have searched the existing issues
Description
Building for Win64 with ucrt64 using the ./configure --disable-networking switch I get this error:
record/drivers/record_nvenc.c: In function 'record_nvenc_stop':
record/drivers/record_nvenc.c:389:7: error: implicit declaration of function 'command_event' [-Wimplicit-function-declaration]
389 | command_event(CMD_EVENT_RECORD_DEINIT, NULL);
| ^~~~~~~~~~~~~
record/drivers/record_nvenc.c:389:21: error: 'CMD_EVENT_RECORD_DEINIT' undeclared (first use in this function)
389 | command_event(CMD_EVENT_RECORD_DEINIT, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~
record/drivers/record_nvenc.c:389:21: note: each undeclared identifier is reported only once for each function it appears in
CC command.c
record/drivers/record_nvenc.c: In function 'record_nvenc_poll':
record/drivers/record_nvenc.c:426:24: error: 'CMD_EVENT_RECORD_INIT' undeclared (first use in this function)
426 | command_event(CMD_EVENT_RECORD_INIT, NULL);
| ^~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:312: obj-unix/release/record/drivers/record_nvenc.o] Error 1
make: *** Waiting for unfinished jobs....
CC msg_hash.c
Error: Process completed with exit code 2.
Expected behavior
No response
Steps to reproduce the bug
Try to compile the RetroArch frontend with ./configure --disable-networking . It will build fine without that switch.
Version/Commit
0c228a1d0d95f7df6a403bf19dbc01b0b45c50a7
Bisect Results
No response
Present in the nightly version
Yes, this is reproduced in the nightly build
Platform & operating system
Windows 11
Affected Cores
No response
Environment information
No response
Relevant log output
- Dominant language
- C
- Stars
- 14.6k
- Forks
- 2.4k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 63
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from libretro/RetroArch
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
libretro/RetroArch#20061 · 3 comments ·
Maintainers usually reply within 2 days
-
[Feature Request] [UX] Improve descriptions for "Rewind Buffer Size" and "Rewind Buffer Size Step"Openfeature request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
libretro/RetroArch#19915 · 2 comments ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
All issues in libretro/RetroArch
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
JulianKemmerer/PipelineC#395 ·
-
upstream-blocked
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
libretro/parallel-n64#858 ·