Re: build break: gnome-keyring



On Fri, 15 Jul 2005, Alexander Larsson wrote:

> On Thu, 2005-07-14 at 23:13 +0200, Murray Cumming wrote:
> > A clean checkout of gnome-keyring in jhbuild gives me:
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX=\""/opt/gnome212"\"
> > -DBINDIR=\""/opt/gnome212/bin"\" -DLIBEXECDIR=\""/opt/gnome212/libexec"\"
> > -DGNOMELOCALEDIR=\""/opt/gnome212/share/locale"\" -I. -I. -D_XOPEN_SOURCE
> > -I/opt/gnome212/include/gtk-2.0 -I/opt/gnome212/lib/gtk-2.0/include
> > -I/opt/gnome212/include/atk-1.0 -I/usr/include/freetype2
> > -I/opt/gnome212/include/cairo -I/opt/gnome212/include/pango-1.0
> > -I/opt/gnome212/include -I/usr/include/libpng12 -I/usr/X11R6/include
> > -I/opt/gnome212/include/glib-2.0 -I/opt/gnome212/lib/glib-2.0/include
> > -I/opt/gnome212/include/glib-2.0 -I/opt/gnome212/lib/glib-2.0/include
> > -Wall     -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
> >      -Wnested-externs -Wpointer-arith        -Wcast-align -Wsign-compare
> > -Werror         -g -O2 -Wno-strict-aliasing -Wno-sign-compare -c `test -f
> > 'gnome-keyring-daemon.c' || echo './'`gnome-keyring-daemon.c
> > cc1: warnings being treated as errors
> > gnome-keyring-daemon.c: In function
> > ‘gnome_keyring_application_ref_new_from_pid’:
> > gnome-keyring-daemon.c:347: warning: implicit declaration of function
> > ‘readlink’
> > gnome-keyring-daemon.c:347: warning: nested extern declaration of ‘readlink’
> > make[2]: *** [gnome-keyring-daemon.o] Error 1
>
> This looks very strange. readlink is part of libc, and "man 2 readlink"
> gives:
>
>        #include <unistd.h>
>
>        int readlink(const char *path, char *buf, size_t bufsiz);
>
> gnome-keyring-daemon.c includes unistd.h, so I don't understand why this
> would happen. Seems like an issue with your installation?


I just checked out HEAD and don't have that problem.  I do have
problem with symbol gtk_window_set_icon_name, that probably means
my gtk+ is not recent enough, but then configure should catch
that.



--behdad
http://behdad.org/



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