[Thunar-dev] libexo fails to build

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Apr 11 11:53:17 CEST 2006


Jens Hagerman wrote:
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_GNUC_VISIBILITY
> -DEXO_API_SUBJECT_TO_CHANGE -I.. -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango- 1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/opt/xfce4/include/xfce4
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -fno-strict-aliasing
> -I/usr/include/python2.4 -march=athlon-xp -O2 -pipe -O0 -g3 -Werror
> -Wall -MT _exo_la- exomodule.lo -MD -MP -MF .deps/_exo_la-exomodule.Tpo
> -c exomodule.c  -fPIC -DPIC -o .libs/_exo_la-exomodule.o
> In file included from /usr/include/python2.4/Python.h:8,
>                  from /usr/include/pygtk-2.0/pygobject.h:5,
>                  from pyexo.h:28,
>                  from exomodule.c:27:
> /usr/include/python2.4/pyconfig.h:835:1: error: "_POSIX_C_SOURCE" redefined
> In file included from /usr/include/limits.h:26,
>                  from
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:122,
>                  from
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/syslimits.h:7,
>                  from
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:11,
>                  from /usr/lib/glib-2.0/include/glibconfig.h:11,
>                  from /usr/include/glib-2.0/glib/gtypes.h:30,
>                  from /usr/include/glib-2.0/glib/gstrfuncs.h:31,
>                  from /usr/include/glib- 2.0/glib/gi18n-lib.h:22,
>                  from ../exo/exo.h:32,
>                  from pyexo.h:26,
>                  from exomodule.c:27:
> /usr/include/features.h:190:1: error: this is the location of the
> previous definition
> make[4]: *** [_exo_la-exomodule.lo] Error 1
> make[4]: Leaving directory
> `/var/abs/local/xfce4-svn/exo-svn/src/libexo/python'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/var/abs/local/xfce4-svn/exo-svn/src/libexo/python'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/var/abs/local/xfce4-svn/exo-svn/src/libexo/python'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/abs/local/xfce4-svn/exo-svn/src/libexo'
> make: *** [all] Error 2

Same story: Does changing the order of inclusion solve the problem?

> Regards,
> Jens Hagerman

Benedikt



More information about the Thunar-dev mailing list