help-hurd
[Top][All Lists]
Advanced

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

Re: How to link against diskfs


From: Neal H. Walfield
Subject: Re: How to link against diskfs
Date: Tue, 13 May 2008 15:52:04 +0200
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Fri, 9 May 2008 17:47:01 +0300,
Sergiu Ivanov wrote:
> I'm trying to build a program using diskfs, but I cannot figure out which -l
> switches must be added to gcc command line. I looked into
> hurd-cvs/hurd/ext2fs/Makefile and added all libs listed in HURDLIBS, but
> this didn't help. I get messages of the following kind:
> 
> /lib/libdiskfs.so: undefined reference to 'diskfs_maxsymlinks'
> ...
> /lib/libpager.so: undefined reference to 'pager_report_extent'
> ...
> <some errors referring to diskfs, occassionally errors referring to pager>
> collect2: ld returned 1 exit status

These symbols must be defined by your program.  They are used
respectively by the libdiskfs and libpager machinery.  See ext2fs for
an example and the header files for explanations.

Neal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]