On Aug 6, 2009, at 12:17 PM, Garrett Cooper wrote: > On Thu, Aug 6, 2009 at 9:18 AM, Kumar > Gala<[email protected]> wrote: >> I'm seeing this on fedora 11 on ppc64: >> >> make[3]: Leaving directory `/root/ltp/testcases/network/ipv6' >> make[3]: Entering directory `/root/ltp/testcases/network/lib6' >> cc -Wall -I../../../include -g -D_GNU_SOURCE -c -o runcc.o runcc.c >> ar cr runcc.a runcc.o >> runcc.a >> make[3]: runcc.a: Command not found >> make[3]: *** [runcc.a] Error 127 >> make[3]: Leaving directory `/root/ltp/testcases/network/lib6' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/root/ltp/testcases/network' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/root/ltp/testcases' >> make: *** [all] Error 2 >> >> - k > > Make sure to export CROSS_COMPILER=1 at the top-level make, or > define RANLIB=$(CROSS_COMPILE)ranlib, where $(CROSS_COMPILE) is the > prefix for your compiler set, e.g. $(CROSS_COMPILE)gcc. > One of the many things that will be fixed in a more kosher manner > in the next couple months. > Thanks, > -Garrett
I see you committed a change to the lib6/Makefile for ranlib. I believe we need a similar patch to the toplevel Makefile since it exports RANLIB: diff --git a/Makefile b/Makefile index 953eddf..9f8056a 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ AR=$(CROSS_COMPILER)ar RANLIB=$(CROSS_COMPILER)ranlib endif +RANLIB ?= ranlib + HAS_NUMA=$(shell sh tools/scripts/numa_test.sh) export CFLAGS += -Wall $(CROSS_CFLAGS) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
