This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: meson: libv4lconvert helpers need fork support
Author:  Peter Seiderer <ps.rep...@gmx.net>
Date:    Tue Dec 5 10:01:23 2023 +0100

- libv4lconvert helpers (v4lconvert_helper_decompress,
  v4lconvert_helper_cleanup, ...) need fork() support, so add additional
  dependency for HAVE_LIBV4LCONVERT_HELPERS

Fixes:

  FAILED: contrib/test/v4l2grab
  .../bootlin-armv7m-uclibc/host/bin/arm-linux-gcc  -o contrib/test/v4l2grab 
contrib/test/v4l2grab.p/v4l2grab.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 
-Wl,-elf2flt=-r -static -Wl,--start-group lib/libv4l2/libv4l2.a 
lib/libv4lconvert/libv4lconvert.a -largp -pthread -ldl -lm -lrt -Wl,--end-group
  
.../bootlin-armv7m-uclibc/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real:
 lib/libv4lconvert/libv4lconvert.a(libv4lconvert.c.o): in function 
`v4lconvert_destroy':
  libv4lconvert.c:(.text+0x5c0): undefined reference to 
`v4lconvert_helper_cleanup'
  
.../bootlin-armv7m-uclibc/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real:
 lib/libv4lconvert/libv4lconvert.a(libv4lconvert.c.o): in function 
`v4lconvert_convert_pixfmt':
  libv4lconvert.c:(.text+0x1450): undefined reference to 
`v4lconvert_helper_decompress'
  collect2: error: ld returned 1 exit status

Signed-off-by: Peter Seiderer <ps.rep...@gmx.net>
Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 lib/libv4lconvert/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=b22a2838ca31ea066f8bbc4561c3a602bd274441
diff --git a/lib/libv4lconvert/meson.build b/lib/libv4lconvert/meson.build
index 3874075575c2..4bda5671bd93 100644
--- a/lib/libv4lconvert/meson.build
+++ b/lib/libv4lconvert/meson.build
@@ -91,7 +91,7 @@ if have_fork
                               include_directories : v4l2_utils_incdir)
 endif
 
-if have_visibility
+if have_visibility and have_fork
     libv4lconvert_c_args += [
       '-fvisibility=hidden',
       '-DHAVE_LIBV4LCONVERT_HELPERS',

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to