This patch fixes the following build error on mips, mips-el toolchain: "runcc.a: could not read symbols: Archive has no index; run ranlib to add one."
Signed-off-by: Henry Yei <[email protected]> --- ltp-full-20090531/testcases/network/lib6/Makefile 2009-01-22 01:26:10.000000000 -0800 +++ ltp/testcases/network/lib6/Makefile 2009-07-16 14:53:58.215774700 -0700 @@ -39,3 +39,4 @@ runcc.a: runcc.o ar cr runcc.a runcc.o + $(RANLIB) runcc.a Other architectures don't need this patch, if anyone who more familiar with mips and knows why, please enlighten me. Actual error output this patch fixes: make[3]: Entering directory `/ltp-full-20090531/testcases/network/lib6' gcc -mel -g -O2 -I../../../include -g -D_GNU_SOURCE -c -o runcc.o runcc.c ar cr runcc.a runcc.o gcc -mel -g -O2 -I../../../include -g -D_GNU_SOURCE asapi_01.c runcc.a -L../../../lib runcc.a -lltp -lpthread -o asapi_01 runcc.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status Henry Yei MontaVista Software, Inc. [email protected]
lib6-Makefile.patch
Description: lib6-Makefile.patch
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
