undefined reference to `rk_globfree'/`rk_glob'

DJ Lucas dj at linuxfromscratch.org
Sat Aug 13 15:15:21 PDT 2005


Lord Mandrake wrote:
> Hello!
> 
> I am building a new (B)LFS System and everything worked fine so far.
> But when i try to compile any software that has an "#include <glob.h>" in its
> sourcecode i get some strange errors (In this example MPlayer v1.0pre7):
> 
> 
>>Gui/libgui.a(sb.o)(.text+0xb6): In function `gtkFillSkinList':
>>sb.c: undefined reference to `rk_glob'
>>Gui/libgui.a(sb.o)(.text+0xf2):sb.c: undefined reference to `rk_globfree'
>>Gui/libgui.a(fs.o)(.text+0x15c): In function `CheckDir':
>>fs.c: undefined reference to `rk_glob'
>>Gui/libgui.a(fs.o)(.text+0x238):fs.c: undefined reference to `rk_globfree'
>>Gui/libgui.a(fs.o)(.text+0x325):fs.c: undefined reference to `rk_glob'
>>Gui/libgui.a(fs.o)(.text+0x419):fs.c: undefined reference to `rk_globfree'
>>Gui/libgui.a(fs.o)(.text+0x532):fs.c: undefined reference to `rk_glob'
>>collect2: ld returned 1 exit status
>>make: *** [mplayer] Error 1
> 
> 
> I have figured out that "rk_glob" and "rk_globfree" have something to do with
> Heimdal 0.7 but Heimdal ist not installed.
> I am using the GCC 3.4.3 and Gtk+ 2.6.7.
> How do i get rid of this errors?
> 
> Thanks in advance - Lord Mandrake

Sorry for the late reply.  Recent discovery on blfs-dev make it looks as
though you do have heimdal installed, or at least a header from it still
laying around.  What libc version are you using (to see if we can
provide a replacement)?  BTW, Randy, is there by chance aything else
overwritten in /usr/include by heimdal?

-- DJ Lucas



More information about the blfs-support mailing list