You wrote
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
> -DLIBEXIF_LOCALEDIR=\"/usr/share/locale\"
> -DLIBMNOTE_LOCALEDIR=\"/usr/share/locale\" -I.. -I../libexif
> -I../libjpeg -g -Wall -Wmissing-declarations -Wmissing-prototypes -g -O2
> -MT exif-utils.lo -MD -MP -MF .deps/exif-utils.Tpo -c exif-utils.c
> -fPIC -DPIC -o .libs/exif-utils.o
> exif-utils.c:88: error: static declaration of 'exif_get_sshort' follows
> non-static declaration
> ../libexif/exif-utils.h:48: error: previous declaration of
> 'exif_get_sshort' was here
> make[3]: *** [exif-utils.lo] Error 1
> make[3]: Leaving directory `/usr/src/secondary/libexif-0.6.12/libexif'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/secondary/libexif-0.6.12/libexif'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/secondary/libexif-0.6.12'
> make: *** [all] Error 2

Hi, Arnie
 I remember there was a patch about this in previous version
of BLFS book that is no more in the book because they switched
to libexif-0.6.13.
Try the patch or consider to switch to the newer version of libexif.
Alessandro Alocci
Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
Date:                    2005-09-08
Initial Package Version: 0.6.12
Upstream Status:         This patch is from upstream CVS
Origin:                  Upstream CVS
                         http://cvs.sourceforge.net/viewcvs.py/libexif/libexif/libexif/exif-utils.c?r1=1.10&r2=1.11&sortby=date
Description:             Fixes GCC-4.0.x build problems


diff -Naur libexif-0.6.12-orig/libexif/exif-utils.c libexif-0.6.12/libexif/exif-utils.c
--- libexif-0.6.12-orig/libexif/exif-utils.c	2005-03-13 02:27:13.000000000 +0000
+++ libexif-0.6.12/libexif/exif-utils.c	2005-09-08 15:09:59.000000000 +0000
@@ -83,7 +83,7 @@
 	}
 }
 
-static ExifSShort
+ExifSShort
 exif_get_sshort (const unsigned char *buf, ExifByteOrder order)
 {
 	if (!buf) return 0;
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to