[klibc] Re: [Linux-diag-devel] KLIBC support for sysfsutils-1.3.0

Mohan Kumar mohan at in.ibm.com
Thu Sep 1 03:44:00 PDT 2005

Hi Martin,

I am facing compilation problems after applying your patch.

1) I downloaded sysfsutils version 1.3.0
2) Applied the sysfsutils-1.3.0-klibc.patch
3) aclocal -I m4
4) autoconf
5) ./configure --enable-klibc
6) make

make fails with saying "libtool: unrecognized option `--tag=CC' "

libtool present in sysfsutils folder does not have support for '--tag'

Here is the detailed output of make:

make[2]: Entering directory `/home/mohan/temp/sysfs-1.3/sysfs-klibc/lib'
if /bin/sh ../libtool --mode=compile --tag=CC klcc -DHAVE_CONFIG_H -I. -
I. -I..-I../include   -Wall -W -Wstrict-prototypes  -Os -MT libsysfs_la-
sysfs_utils.lo-MD -MP -MF ".deps/libsysfs_la-sysfs_utils.Tpo" -c -o
libsysfs_la-sysfs_utils.lo `test -f 'sysfs_utils.c' || echo
'./'`sysfs_utils.c; \
then mv -f ".deps/libsysfs_la-sysfs_utils.Tpo" ".deps/libsysfs_la-
sysfs_utils.Plo"; else rm -f ".deps/libsysfs_la-sysfs_utils.Tpo"; exit
1; fi
libtool: unrecognized option `--tag=CC'
Try `libtool --help' for more information.

My system configuration is:
Fedora core 3
klibc 1.00
Kernel 2.6.9-1.681_FC3

Please tell me if I am missing anything.

Thanks and Regards,

On Sat, 2005-08-27 at 14:48 +0200, Martin Schlemmer wrote:
> Hi,
> Attached is a patch to add klibc support to sysfsutils-1.3.0.  It also
> fixes the hardcoding of /usr/include/sysfs bug.
> Some bits (like the getpagesize and SYSFS_MNT_PATH) are from udev's
> included libsysfs.
> Comments and suggestions appreciated.
> Thanks,

More information about the klibc mailing list