diff options
author | Bernhard Walle <walle@corscience.de> | 2012-03-12 17:00:14 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-03-13 10:17:35 +0100 |
commit | 092a8fd79a8270f540d2eade4dc95505462455e0 (patch) | |
tree | 5a42bfec3258175d148a40cfa4079e4226acf727 /Makefile.in | |
parent | 3e1680b4bed303da51200774d5f6149bfa13c6b2 (diff) | |
download | ptxdist-092a8fd79a8270f540d2eade4dc95505462455e0.tar.gz ptxdist-092a8fd79a8270f540d2eade4dc95505462455e0.tar.xz |
lsof: Use cross ar and ranlib
The lsof build system uses host ar and ranlib. With that patch it uses
the tools provided by the cross toolchain.
On a Gentoo system, without that patch, I get following error:
ar cr liblsof.a ckkv.o cvfs.o dvch.o fino.o isfn.o lkud.o pdvn.o prfp.o ptti.o rdev.o regex.o rmnt.o rnam.o rnch.o rnmh.o snpf.o
ranlib liblsof.a
make[2]: Leaving directory `/home/tweber/work/COR4098_ptxdist/platform-upmed/build-target/lsof-4.81.dfsg.1/lib'
arm-cortexa8-linux-gnueabi-gcc -DLINUXV=32006 -DGLIBCV=213 -DHASIPv6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \
-DHAS_STRFTIME -DLSOF_VSTR=\"3.2.6-gentoo\" -O2 -c -o usage.o usage.c
arm-cortexa8-linux-gnueabi-gcc -o lsof dfile.o dmnt.o dnode.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.o print.o proc.o \
store.o usage.o util.o -L./lib -llsof
./lib/liblsof.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
Signed-off-by: Bernhard Walle <walle@corscience.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions