Re: build break: gnome-keyring

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"

       #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?

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a scrappy soccer-playing romance novelist haunted by memories of 'Nam. 
She's a cosmopolitan bisexual museum curator who hides her beauty behind a 
pair of thick-framed spectacles. They fight crime! 

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