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

Mohan Kumar mohan at in.ibm.com
Fri Sep 2 02:11:28 PDT 2005


Hi Martin,

Thanks for the patch.

I am able to compile sysfsutils with klibc.

We will incorporate this patch into sysfsutils.

Thanks and Regards,
Mohan.


On Thu, 2005-09-01 at 21:29 +0200, Martin Schlemmer wrote:
> On Thu, 2005-09-01 at 16:14 +0530, Mohan Kumar wrote:
> 
> Hi,
> 
> > 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'
> > parameter.
> > 
> > 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.
> > 
> 
> It might be that ltmain.sh and the libtool.m4 that aclocal imported
> mismatch.  So you might need a libtoolize call as well, and you
> definitely need a automake call.  Try this on freshly patched source:
> 
> -----
> aclocal -I m4
> libtoolize -c -f --automake
> aclocal -I m4
> autoconf
> automake
> -----
> 
> If still no results, let me know.
> 
> 
> Regards,
> 



More information about the klibc mailing list