This repository was archived by the owner on May 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
This repository was archived by the owner on May 20, 2024. It is now read-only.
Not compiling on Fedora 35: stdarg.h not found #13
Copy link
Copy link
Open
Description
Tried cdorn0s fork. When trying to compile it, I get a fatal error that stdarg.h isn't found.
I've looked into it and the directories the file should be in, they seem to be there.
Here's the make log
/home/ty/lg4k-linux/driver/utils/alsa/alsa_model.c: In function ‘alsa_model_init’:
/home/ty/lg4k-linux/driver/utils/alsa/alsa_model.c:624:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
624 | snd_card_free(card);
| ^~~~~~~~~~~~~~~~~~~
/home/ty/lg4k-linux/driver/utils/alsa/alsa_model.c:626:13: note: here
626 | case ALSA_MODEL_CREATE_SND_CARD_ERROR:
| ^~~~
/home/ty/lg4k-linux/driver/utils/pci/pci_model.c: In function ‘pci_model_probe’:
/home/ty/lg4k-linux/driver/utils/pci/pci_model.c:275:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
275 | pci_disable_device(pci_dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ty/lg4k-linux/driver/utils/pci/pci_model.c:277:13: note: here
277 | case ERROR_ENABLE_PCI_DEV:
| ^~~~
/home/ty/lg4k-linux/driver/utils/trace/trace.c: In function ‘trace_model_init’:
/home/ty/lg4k-linux/driver/utils/trace/trace.c:348:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
348 | kobject_put(trace_cxt->kobj);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ty/lg4k-linux/driver/utils/trace/trace.c:350:13: note: here
350 | case ERR_NO_DEV_KOBJ:
| ^~~~
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_device.c: In function ‘v4l2_model_init’:
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_device.c:221:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
221 | v4l2_model_vb2_release(context->vb2_context);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_device.c:223:33: note: here
223 | case V4L2_MODEL_ERROR_VIDEO_BUF:
| ^~~~
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_device.c:224:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
224 | v4l2_device_unregister(&context->v4l2_dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_device.c:226:33: note: here
226 | case V4L2_MODEL_ERROR_REGISTER_V4L2:
| ^~~~
In file included from ./include/linux/kernel.h:20,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./arch/x86/include/asm/processor.h:17,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:65,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:13,
from /home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_videobuf2.c:17:
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_videobuf2.c: In function ‘v4l2_model_qops_queue_setup’:
./include/linux/printk.h:450:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
450 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
| ^
./include/linux/printk.h:422:17: note: in definition of macro ‘printk_index_wrap’
422 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~
./include/linux/printk.h:523:9: note: in expansion of macro ‘printk’
523 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_videobuf2.c:122:13: note: in expansion of macro ‘pr_info’
122 | pr_info("size of plane 3 %d\n", sizes[2]);
| ^~~~~~~
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_videobuf2.c:124:9: note: here
124 | case 2:
| ^~~~
In file included from ./include/linux/kernel.h:20,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./arch/x86/include/asm/processor.h:17,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:65,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:13,
from /home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_videobuf2.c:17:
./include/linux/printk.h:450:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
450 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
| ^
./include/linux/printk.h:422:17: note: in definition of macro ‘printk_index_wrap’
422 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~
./include/linux/printk.h:523:9: note: in expansion of macro ‘printk’
523 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_videobuf2.c:128:13: note: in expansion of macro ‘pr_info’
128 | pr_info("size of plane 2 %d\n", sizes[1]);
| ^~~~~~~
/home/ty/lg4k-linux/driver/utils/v4l2/v4l2_model_videobuf2.c:130:9: note: here
130 | case 1:
| ^~~~
/home/ty/lg4k-linux/driver/utils/v4l2/framegrabber.c:16:10: fatal error: stdarg.h: No such file or directory
16 | #include <stdarg.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:287: /home/ty/lg4k-linux/driver/utils/v4l2/framegrabber.o] Error 1
make[1]: *** [Makefile:1850: /home/ty/lg4k-linux/driver] Error 2
make: *** [Makefile:66: build] Error 2
cp: cannot stat 'driver/gc573.ko': No such file or directory
Metadata
Metadata
Assignees
Labels
No labels