Re: [Nautilus-list] CVS compile



Sounds like autoconf abuse on behalf of a system library, jpeg in this
case.

You can either #undef HAVE_STDLIB_H before including the jpeg headers or
configure Nautilus with --disable-more-warnings to make the warning non
fatal.

-re

Chris Heywood wrote:
> 
> hey guys,
> 
> was trying to compile CVS nautilus (haven't for a while) and came across
> an error with HAVE_STDLIB_H being redefined..  any help would be
> appreciated =)
> 
> machine is a debian sid box.  librsvg, eel from CVS (1-0 branch).
> 
> the error:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libnautilus
> -I../cut-n-paste-code -I/usr/include -DNEED_GNOMESUPPORT_H
> -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml
> -I/usr/lib/vfs/include -D_REENTRANT -I/usr/include/eel-1
> -I/usr/include/gconf/1 -I/usr/X11R6/include -I/usr/include/librsvg-1
> -I/usr/include/freetype2 -DDATADIR=\"/usr/share\"
> -DNAUTILUS_DATADIR=\"/usr/share/nautilus\" -Wno-sign-compare
> -Wsign-promo -Wall -Wchar-subscripts -Wmissing-declarations
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
> -Wsign-compare -Werror -g -O2 -Wp,-MD,.deps/nautilus-thumbnails-jpeg.pp
> -c nautilus-thumbnails-jpeg.c  -fPIC -DPIC -o
> .libs/nautilus-thumbnails-jpeg.o
> In file included from /usr/include/jpeglib.h:24,
>                  from nautilus-thumbnails-jpeg.c:35:
> /usr/include/jconfig.h:12: warning: `HAVE_STDLIB_H' redefined
> ../config.h:126: warning: this is the location of the previous
> definition
> make[2]: *** [nautilus-thumbnails-jpeg.lo] Error 1
> make[2]: Leaving directory
> `/mnt/hda5/home/psych/compile/nautilus/libnautilus-private'
> 
> todo with the newer thumbnailing code if libjpeg is installed I assume
> or something?
> 
> thanks for any help.
> 
> cheers,
> chris
> 
> _______________________________________________
> Nautilus-list mailing list
> Nautilus-list lists eazel com
> http://lists.eazel.com/mailman/listinfo/nautilus-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]