gdm won't compile



make[3]: Entering directory
`/home/lupus/garnome--kenny/garnome/desktop/gdm/work/main.d/gdm-2.6.0.4/utils'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -Wmissing-prototypes  
-o gdmaskpass  gdmaskpass.o                    
-lpam                           -lpam_misc
gcc -g -O2 -Wall -Wmissing-prototypes -o gdmaskpass gdmaskpass.o  -lpam
-lpam_misc
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libpam.a(pam_handlers.o)(.text+0xb04): In function `_pam_add_handler':
: undefined reference to `dlsym'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libpam.a(pam_handlers.o)(.text+0xcfe): In function `_pam_add_handler':
: undefined reference to `dlsym'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libpam.a(pam_handlers.o)(.text+0xdd3): In function `_pam_add_handler':
: undefined reference to `dlopen'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libpam.a(pam_handlers.o)(.text+0xe92): In function `_pam_add_handler':
: undefined reference to `dlopen'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libpam.a(pam_handlers.o)(.text+0xf6f): In function `_pam_add_handler':
: undefined reference to `dlerror'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libpam.a(pam_handlers.o)(.text+0x116b): In function `_pam_free_handlers':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[3]: *** [gdmaskpass] Error 1
make[3]: Leaving directory
`/home/lupus/garnome--kenny/garnome/desktop/gdm/work/main.d/gdm-2.6.0.4/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/lupus/garnome--kenny/garnome/desktop/gdm/work/main.d/gdm-2.6.0.4'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/home/lupus/garnome--kenny/garnome/desktop/gdm/work/main.d/gdm-2.6.0.4'
make: *** [build-work/main.d/gdm-2.6.0.4/Makefile] Error 2

In dropline buildsystem it builds with:

DLG_EXTRA_CFLAGS="-ldl" 
DLG_CONFIG_FLAGS="--disable-static"

how can I use this options in garnome?
and what does -ldl do anyway?


Ps: how do I make a diff like cvs diff -u > foo.diff in arch?

-- 
lupusBE (Kristof Vansant Belgium




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