On Fri, 2016-07-15 at 14:43 +0000, John Burrell wrote:
> gvfs-1.28.2 provides support for libgphoto2. You have to disable it in gvfs 
> in the configure script if you didn't install it.
> 
> When I try to compile libgphoto2-2.5.10  I get this error:
> 
> In file included from ax203/ax203.c:38:0:
> ax203/jpeg_memsrcdest.h:4:1: error: conflicting types for 'jpeg_mem_src'
>  jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
>  ^
> In file included from ax203/jpeg_memsrcdest.h:1:0,
>                  from ax203/ax203.c:38:
> /usr/include/jpeglib.h:923:14: note: previous declaration of 'jpeg_mem_src' 
> was here
>  EXTERN(void) jpeg_mem_src (j_decompress_ptr cinfo,
>               ^
> Makefile:2890: recipe for target 'ax203/ax203_la-ax203.lo' failed
> make[4]: *** [ax203/ax203_la-ax203.lo] Error 1
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/camlibs'
> Makefile:3286: recipe for target 'all-recursive' failed
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/camlibs'
> Makefile:690: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> Makefile:513: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> 
> The patch to fix this is here:
> 
> http://launchpadlibrarian.net/266608827/libgphoto2_2.5.10-2_2.5.10-3.diff.gz
> 
> Note that you need to change jpeg_memsrcdest.h and jpeg_memsrcdest.c in both
> 
> the camlibs/ax203 and camlibs/jl2005c directories. It doesn't mention the 
> latter in the link for some reason.
> 
> jb.
> 
> 
> 
> 

The work around that I'm using is to add the following parameter to configure:

--with-camlibs=adc65,agfa_cl20,aox,barbie,canon,casio_qv,clicksmart310,digigr8,digita,dimera3500,directory,enigma13,fuji,gsmart300,hp215,iclick,jamcam,jd11,jl2005a,
 \
kodak_dc120,kodak_dc210,kodak_dc240,kodak_dc3200,kodak_ez200,konica,konica_qm150,largan,lg_gsm,mars,dimagev,mustek,panasonic_coolshot,panasonic_l859,panasonic_dc1000,
 \
panasonic_dc1580,pccam300,pccam600,pentax,polaroid_pdc320,polaroid_pdc640,polaroid_pdc700,ptp2,ricoh,ricoh_g3,samsung,sierra,sipix_blink2,sipix_web2,smal,sonix,sony_dscf1,
 \
sony_dscf55,soundvision,spca50x,sq905,st2205,stv0674,stv0680,sx330z,topfield,toshiba_pdrm11,tp6801

i.e. list cams so that we can then remove ax203 and jl2005c which cause build 
issues with libjpeg-turbo-1.5.0 

Regards,
Wayne


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to