Build Error With ./configure --disable-networking

オープン 初心者向け
#20,108 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c
領域
build-system

調査の方向性

報告された失敗は、./configure --disable-networking を指定してビルドしたときに record/drivers/record_nvenc.c で発生します。まず、record_nvenc_stop と record_nvenc_poll、およびその構成でそれらのコマンドイベント宣言がどのようにインクルードされるかを調べてください。指定された configure コマンドで再現し、比較のためにオプションなしでのビルドも確認してください。Networking を無効にしたビルドが正常にコンパイルできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C
スター
14.6k
フォーク
2.4k
平均マージ
2日 5時間
マージ済み PR(30日)
63

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

libretro/RetroArch のほかの issue

libretro/RetroArch の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。