Distribution:
- CYGWIN_NT-6.1-WOW64 xxx 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin
- Perl 5.10
- module 1.0.4
Cannot compile:
gcc-4 -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-DUSEIMPORTLIB -O3 -DVERSION=\"1.00.4\" -DXS_VERSION=\"1.00.4\"
"-I/usr/lib/perl5/5.10/i686-cygwin/CORE" tagdefs.c
Running Mkbootstrap for Image::EXIF ()
chmod 644 EXIF.bs
rm -f blib/arch/auto/Image/EXIF/EXIF.dll
g++-4 --shared -Wl,--enable-auto-import -Wl,--export-all-symbols
-Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib
-fstack-protector EXIF.o canon.o casio.o exif.o exifutil.o fuji.o
jpeg.o makers.o minolta.o nikon.o olympus.o tagdefs.o -o
blib/arch/auto/Image/EXIF/EXIF.dll \
/usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll -lexif \
exif.o: In function `XS_Image__EXIF_c_get_unknown_info':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:335: multiple
definition of `_XS_Image__EXIF_c_get_unknown_info'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:335: first
defined here
exif.o: In function `XS_Image__EXIF_c_get_other_info':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:312: multiple
definition of `_XS_Image__EXIF_c_get_other_info'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:312: first
defined here
exif.o: In function `XS_Image__EXIF_c_get_image_info':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:289: multiple
definition of `_XS_Image__EXIF_c_get_image_info'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:289: first
defined here
exif.o: In function `XS_Image__EXIF_c_get_camera_info':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:266: multiple
definition of `_XS_Image__EXIF_c_get_camera_info'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:266: first
defined here
exif.o: In function `XS_Image__EXIF_c_close_all':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:417: multiple
definition of `_XS_Image__EXIF_c_close_all'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:417: first
defined here
exif.o: In function `XS_Image__EXIF_c_errstr':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:390: multiple
definition of `_XS_Image__EXIF_c_errstr'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:390: first
defined here
exif.o: In function `XS_Image__EXIF_c_fetch':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:358: multiple
definition of `_XS_Image__EXIF_c_fetch'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:358: first
defined here
exif.o: In function `XS_Image__EXIF_c_read_file':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:240: multiple
definition of `_XS_Image__EXIF_c_read_file'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:240: first
defined here
exif.o: In function `XS_Image__EXIF_constant':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:212: multiple
definition of `_XS_Image__EXIF_constant'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:212: first
defined here
exif.o: In function `boot_Image__EXIF':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:443: multiple
definition of `_boot_Image__EXIF'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:443: first
defined here
exif.o: In function `XS_Image__EXIF_c_get_unknown_info':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:335: multiple
definition of `_et'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:335: first
defined here
exif.o: In function `XS_Image__EXIF_c_get_unknown_info':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:337: multiple
definition of `_dumplvl'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:337: first
defined here
exif.o: In function `XS_Image__EXIF_c_get_unknown_info':
/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:335: multiple
definition of `_ep'
EXIF.o:/home/epierre/.cpan/build/Image-EXIF-1.00.4/EXIF.c:335: first
defined here
EXIF.o:EXIF.c:(.text+0x792): undefined reference to `_exiffree'
EXIF.o:EXIF.c:(.text+0x12ab): undefined reference to `_exifparse'
exif.o:EXIF.c:(.text+0x792): undefined reference to `_exiffree'
exif.o:EXIF.c:(.text+0x12ab): undefined reference to `_exifparse'
makers.o:makers.c:(.data+0x78): undefined reference to `_sanyo_prop'
makers.o:makers.c:(.data+0x7c): undefined reference to `_sanyo_ifd'
makers.o:makers.c:(.data+0x88): undefined reference to `_asahi_prop'
makers.o:makers.c:(.data+0x8c): undefined reference to `_asahi_ifd'
makers.o:makers.c:(.data+0x98): undefined reference to `_asahi_prop'
makers.o:makers.c:(.data+0x9c): undefined reference to `_asahi_ifd'
makers.o:makers.c:(.data+0xa8): undefined reference to `_leica_prop'
makers.o:makers.c:(.data+0xac): undefined reference to `_leica_ifd'
makers.o:makers.c:(.data+0xb8): undefined reference to `_panasonic_prop'
makers.o:makers.c:(.data+0xbc): undefined reference to `_panasonic_ifd'
makers.o:makers.c:(.data+0xc8): undefined reference to `_sigma_prop'
makers.o:makers.c:(.data+0xcc): undefined reference to `_sigma_ifd'
collect2: ld a retourné 1 code d'état d'exécution
Makefile:503: recipe for target `blib/arch/auto/Image/EXIF/EXIF.dll' failed
make: *** [blib/arch/auto/Image/EXIF/EXIF.dll] Error 1
I had the same problem with 1.0.3.
Libexif 0.6.20 compiles fine although