maintainer-feedback requested: [Bug 212939] multimedia/libv4l: Failes to build: error: conflicting types for 'jpeg_mem_src'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 23 17:43:22 UTC 2016


iron at mail.ua has reassigned Bugzilla Automation <bugzilla at FreeBSD.org>'s
request for maintainer-feedback to multimedia at FreeBSD.org:
Bug 212939: multimedia/libv4l: Failes to build: error: conflicting types for
'jpeg_mem_src'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212939



--- Description ---
Hello,

libv4l failes to build on FreeBSD 11-STABLE r305813M.


/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../..
 -fvisibility=hidden  -I../../lib/include -Wall -Wpointer-arith -D_GNU_SOURCE
-I../../contrib/freebsd/include -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe
-march=native  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT
libv4lconvert_la-jpeg.lo -MD -MP -MF .deps/libv4lconvert_la-jpeg.Tpo -c -o
libv4lconvert_la-jpeg.lo `test -f 'jpeg.c' || echo './'`jpeg.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -fvisibility=hidden
-I../../lib/include -Wall -Wpointer-arith -D_GNU_SOURCE
-I../../contrib/freebsd/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe
-march=native -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -MT
libv4lconvert_la-jpeg.lo -MD -MP -MF .deps/libv4lconvert_la-jpeg.Tpo -c jpeg.c 
-fPIC -DPIC -o .libs/libv4lconvert_la-jpeg.o
In file included from jpeg.c:24:
./jpeg_memsrcdest.h:4:1: error: conflicting types for 'jpeg_mem_src'
jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
^
/usr/local/include/jpeglib.h:923:14: note: previous declaration is here
EXTERN(void) jpeg_mem_src (j_decompress_ptr cinfo,
	     ^
1 error generated.
gmake[4]: *** [Makefile:838: libv4lconvert_la-jpeg.lo] Error 1


I have instlled jpeg-turbo-1.5.0. Possibly it's related to it.


More information about the freebsd-multimedia mailing list