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

Martin Schlemmer azarah at nosferatu.za.org
Thu Sep 1 12:29:01 PDT 2005


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,

-- 
Martin Schlemmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.zytor.com/pipermail/klibc/attachments/20050901/ef5b843f/attachment.bin


More information about the klibc mailing list