Re: Eel compilations issue



The -Werror flag is probably what's causing it not to compile.

--lf


On Mon, Jun 2, 2008 at 6:18 PM, Og Maciel <ogmaciel gnome org> wrote:
> Hi there,
>
> I was wondering if someone could lend me a hand with Eel. Seems that SVN
> (trunk) won't compile but the latest snapshot does ok... Is there
> anything "manual" about the snapshot?
>
> FWIW, here's what I see when compiling it from svn:
>
> [snip]
> gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Eel\" -I.. -DORBIT2=1
> -pthread -I
> /usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0
> -I/usr/inclu
> de/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include
> -I/usr/includ
> e/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/libpng1
> 2 -I/usr/include/pixman-1 -I/usr/include/gconf/2
> -I/usr/include/orbit-2.0 -I/usr
> /include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0
> -I/usr/
> include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
> -I/usr/include/libbonobo-
> 2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0
> -I/usr/in
> clude/libart-2.0 -I/usr/include/gnome-keyring-1
> -I/usr/include/libbonoboui-2.0 -
> I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-desktop-2.0
> -I/usr/include
> /startup-notification-1.0 -Wall -Wmissing-declarations
> -Wmissing-prototypes -Wne
> sted-externs -Wpointer-arith -Werror -Wno-strict-aliasing
> -Wno-pointer-sign -DDA
> TADIR=\"/usr/share\" -DSOURCE_DATADIR=\"../data\"
> -DGNOMELOCALEDIR=\"/usr/share/
> locale\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DE
> PRECATED -DGMENU_I_KNOW_THIS_IS_UNSTABLE -g -Os -g -D_FORTIFY_SOURCE=2
> -fstack-p
> rotector -MT eel-background.lo -MD -MP -MF .deps/eel-background.Tpo -c
> eel-backg
> round.c  -fPIC -DPIC -o .libs/eel-background.o
> cc1: warnings being treated as errors
> eel-background.c: In function 'eel_background_get_image_placement':
> eel-background.c:241: warning: implicit declaration of function
> 'gnome_bg_get_pl
> acement'
> eel-background.c:241: warning: nested extern declaration of
> 'gnome_bg_get_placem
> ent'
> eel-background.c: In function 'eel_background_get_image_uri':
> eel-background.c:494: warning: implicit declaration of function
> 'gnome_bg_get_fi
> lename'
> eel-background.c:494: warning: nested extern declaration of
> 'gnome_bg_get_filena
> me'
> eel-background.c:494: warning: assignment makes pointer from integer
> without a c
> ast
> eel-background.c: In function 'eel_background_is_set':
> eel-background.c:597: warning: comparison between pointer and integer
> eel-background.c: In function 'eel_background_save_to_gconf':
> eel-background.c:912: warning: implicit declaration of function
> 'gnome_bg_save_t
> o_preferences'
> eel-background.c:912: warning: nested extern declaration of
> 'gnome_bg_save_to_pr
> eferences'
> make[2]: *** [eel-background.lo] Error 1
> make[2]: Leaving directory `/tmp/rmake/builds/eel/eel--/eel'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/rmake/builds/eel/eel--'
> make: *** [all] Error 2
> error: Shell command "cd '/tmp/rmake/builds/eel/eel--/'; CFLAGS="-g -Os
> -g -D_FO
> RTIFY_SOURCE=2 -fstack-protector" CXXFLAGS="-g -Os -g
> -D_FORTIFY_SOURCE=2 -fstac
> k-protector " CPPFLAGS="" CLASSPATH=""  LDFLAGS="-g -O1 " CC=gcc CXX=g++
>  make
>   " exited with exit code 2
> error: Error building recipe
> eel:source=/gnome rpath org gnome:trunk/r2120-1[~!b
> uilddocs is: x86(~cmov,~i486,~i586,~i686,~mmx,~nx,~sse,~sse2)]: Shell
> command "c
> d '/tmp/rmake/builds/eel/eel--/'; CFLAGS="-g -Os -g -D_FORTIFY_SOURCE=2
> -fstack-
> protector" CXXFLAGS="-g -Os -g -D_FORTIFY_SOURCE=2 -fstack-protector "
> CPPFLAGS=
> "" CLASSPATH=""  LDFLAGS="-g -O1 " CC=gcc CXX=g++  make    " exited with
> exit co
> de 2
>
> Thanks in advance,
> --
> Og B. Maciel
>
> omaciel foresightlinux org
> ogmaciel gnome org
> ogmaciel ubuntu com
>
> GPG Keys: D5CFC202
>
> http://www.ogmaciel.com (en_US)
> http://blog.ogmaciel.com (pt_BR)
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
>



-- 
"The wealthiest person is a pauper at times, compared to the man with
a satisfied mind."
Porter Wagoner

"To hell with the mind, I want money!"
Oscar Wilde


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