Yes problematic heimdal :( I have problem like this with building gnome-commander. I fix this problem with deleting ${WRKDIR}/.buildlink/include/krb5/fnmatch.h from build directory. May be, u can fix the problem with delete file (link) work/.buildlink/include/krb5/glob.h from build directory. See to source files in work/kdeadmin-3.5.5/ksysv where they use glob.h. Problem is, that hemidal config generate these CFLAGS: # krb5-config --cflags -I/usr/pkg/include/krb5 -I/usr/pkg/include instead of: -I/usr/pkg/include and projects which are using hemidal could include it's headers via: #include <krb5/glob.h> #include <krb5/fnmatch.h> instead of: #include <glob.h> #include <fnmatch.h> But, problem is more disputable, cause these headers is in system too, but with some another extension for krb5 (heimdal) :S On Wed, 6 Dec 2006 19:13:22 +0100 "Lieven De Keyzer" <lieven.dekeyzer%gmail.com@localhost> wrote: > I'm trying to build misc/kdeadmin3 on Slackware 11 and get the following > errors: > > leveldb.o(.text+0x9a8): In function `findServiceEntries': > : undefined reference to `rk_glob' > leveldb.o(.text+0xad4): In function `isConfigured': > : undefined reference to `rk_globfree' > leveldb.o(.text+0xb44): In function `isOn': > : undefined reference to `rk_globfree' > leveldb.o(.text+0xcde): In function `doSetService': > : undefined reference to `rk_globfree' > collect2: ld returned 1 exit status > make[3]: *** [ksysv] Error 1 > make[3]: Leaving directory > `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.5.5/ksysv' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.5.5/ksysv' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/pkgsrc/misc/kdeadmin3/work/kdeadmin-3.5.5' > make: *** [all] Error 2 > > I think the problem lies in the fact that I have two glob.h headers. > One in /usr/include for my glibc Slackware package and one in > /usr/pkg/include/krb5 from the /security/heimdal pkgsrc package. How > would I make sure the one in /usr/include is used? > -- Ondřej Tůma Unix-like system is the best operation system from the top of the world. I'm lucky BSD and linux user. :) Use unix-like, be free. :) www.blackmouse.biz hash.webjet.cz ICQ: 107760454 JABBER: mcbig%jabber.cz@localhost MSN: ondra.tu%atlas.cz@localhost
Attachment:
pgpG0PUIq0kBO.pgp
Description: PGP signature