Re: problem garnome 2.13.2 debian sarge



Carlos,

The problem appears to be caused by the authentication scheme that was
automatically chosen during the configuration process:

        --enable-authentication-scheme=auto/pam/crypt/shadow  

        [Choose a specific authentication scheme default=auto]

On my system, which is an FC2 clone, PAM was chosen so

        ./daemon/verify-shadow.c

was never compiled. 

If PAM is supported on your system, you could modify the GAR Makefile

        CONFIGURE_ARGS = $(DIRPATHS) --enable-authentication-scheme=pam

which should work around the problem.

The question remains, "Does gdm-2.13.0.1 actually support shadow
authentication?"

* undefined reference to `ve_string_empty'
ve_string_empty is a macro defined in

        ./vicious-extensions/ve-misc.h

adding this include file into ./daemon/verify-shadow.c

        #include "gdm.h"
        #include "misc.h"
        #include "slave.h"
        #include "verify.h"
        #include "errorgui.h"
        #include "ve-misc.h"   <<========  

will eliminate the undefined reference to ve_string_empty complaint.

* GdmAllowRoot, GdmAllowRemoteRoot, GdmDisplayLastLogin, GdmRetryDelay
- were all declared "extern" in verify-shadow.c
- are defined as static types in gdmconfig.c

>From your email, gdmconfig.o appears in the linking order before
verify-shadow.o, so there should not be a problem.

Take a look at the output from

        nm  gdmconfig.o
        
You should see things like

        00000138 s GdmAllowRemoteAutoLogin
        00000140 s GdmAllowRemoteRoot
        0000013c s GdmAllowRoot

If not, something is amiss.


-Joseph

=====================================================================================
On Thu, 2005-11-24 at 08:52 -0300, Carlos Gabriel Drach wrote:
> Hi, any help?
> 
> make[4]: Entering directory
> `/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon'
> /bin/sh ../libtool --tag=CC --mode=link cc  -g
> -I/home/cypenguin/garnome/include -L/home/cypenguin/garnome/lib -O2
> -pipe -Wall -Wmissing-prototypes   -Wl,--export-dynamic
> -L/home/cypenguin/garnome/lib -o gdm-binary -lcrypt  gdm.o gdmconfig.o
> display.o fstype.o slave.o server.o misc.o auth.o cookie.o xdmcp.o
> choose.o filecheck.o md5.o verify-shadow.o errorgui.o gdm-net.o getvt.o
> -L/home/cypenguin/garnome/lib -L/usr/X11R6/lib -lgtk-x11-2.0
> -lgdk-x11-2.0 -lXrandr -lXrender -lXi -lXinerama -lXext -lX11 -latk-1.0
> -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lpango-1.0 -lcairo
> -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -L/usr/X11R6/lib -lXdmcp
> -lXau -lX11 -lXext -lpopt -lXinerama  -L/home/cypenguin/garnome/lib
> -lglib-2.0   -L/home/cypenguin/garnome/lib -lgobject-2.0 -lglib-2.0
> -L/home/cypenguin/garnome/lib -L/usr/X11R6/lib -lgdk-x11-2.0 -lXrandr
> -lXrender -lXi -lXinerama -lXext -lX11 -lgdk_pixbuf-2.0 -lm
> -lpangocairo-1.0 -lfontconfig -lpango-1.0 -lcairo -lgobject-2.0
> -lgmodule-2.0 -ldl -lglib-2.0   ../vicious-extensions/libvicious.a
> cc -g -I/home/cypenguin/garnome/include -O2 -pipe -Wall
> -Wmissing-prototypes -Wl,--export-dynamic -o gdm-binary gdm.o
> gdmconfig.o display.o fstype.o slave.o server.o misc.o auth.o cookie.o
> xdmcp.o choose.o filecheck.o md5.o verify-shadow.o errorgui.o gdm-net.o
> getvt.o  -L/home/cypenguin/garnome/lib -lcrypt
> -L/usr/X11R6/lib /home/cypenguin/garnome/lib/libgtk-x11-2.0.so /home/cypenguin/garnome/lib/libatk-1.0.so -lXdmcp -lXau /usr/lib/libpopt.so /home/cypenguin/garnome/lib/libgdk-x11-2.0.so -lXrandr -lXi -lXinerama -lXext /home/cypenguin/garnome/lib/libgdk_pixbuf-2.0.so /home/cypenguin/garnome/lib/libpangocairo-1.0.so /home/cypenguin/garnome/lib/libpangoft2-1.0.so /home/cypenguin/garnome/lib/libpango-1.0.so /home/cypenguin/garnome/lib/libcairo.so /home/cypenguin/garnome/lib/libXrender.so -lX11 -lpng12 /home/cypenguin/garnome/lib/libfontconfig.so /usr/lib/libexpat.so /home/cypenguin/garnome/lib/libfreetype.so -lz -lm /home/cypenguin/garnome/lib/libgobject-2.0.so /home/cypenguin/garnome/lib/libgmodule-2.0.so -ldl /home/cypenguin/garnome/lib/libglib-2.0.so ../vicious-extensions/libvicious.a -Wl,--rpath -Wl,/home/cypenguin/garnome/lib -Wl,--rpath -Wl,/home/cypenguin/garnome/lib
> verify-shadow.o(.text+0x1d): In function `gdm_verify_select_user':
> /home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon/verify-shadow.c:54: undefined reference to `ve_string_empty'
> verify-shadow.o(.text+0x65): In function `print_cant_auth_errbox':
> /home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon/verify-shadow.c:69: undefined reference to `ve_string_empty'
> verify-shadow.o(.text+0x190): In function `gdm_verify_user':
> /home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon/verify-shadow.c:176: undefined reference to `ve_string_empty'
> verify-shadow.o(.text
> +0x20e):/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon/verify-shadow.c:223: undefined reference to `GdmAllowRoot'
> verify-shadow.o(.text
> +0x218):/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon/verify-shadow.c:223: undefined reference to `GdmAllowRemoteRoot'
> verify-shadow.o(.text
> +0x44c):/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon/verify-shadow.c:127: undefined reference to `ve_string_empty'
> verify-shadow.o(.text
> +0x485):/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon/verify-shadow.c:142: undefined reference to `GdmDisplayLastLogin'
> verify-shadow.o(.text
> +0x547):/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon/verify-shadow.c:212: undefined reference to `GdmRetryDelay'
> verify-shadow.o(.text
> +0x58b):/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon/verify-shadow.c:198: undefined reference to `GdmRetryDelay'
> collect2: ld returned 1 exit status
> make[4]: *** [gdm-binary] Error 1
> make[4]: Leaving directory
> `/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1/daemon'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm/work/main.d/gdm-2.13.0.1'
> make[1]: *** [build-work/main.d/gdm-2.13.0.1/Makefile] Error 2
> make[1]: Leaving directory
> `/home/cypenguin/Downloads/garnome-2.13.2/desktop/gdm'
> make: *** [paranoid-install] Error 2
> 
> 
> 
> 
-- 
joseph_sacco [at] comcast [dot] net




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