On Fri, Oct 29, 2010 at 12:35 AM, Mitani <[email protected]> wrote:
> Hi,
>
> I applied patches which are the effort of various people.
> And I could overcome configuration error and keyctl01's build error.
> (Thanks!!)
> After that, librttest.c build failed:
> ------------
> make[3]: Leaving directory
> `/home/LTP/ltp-dev-20101028/testcases/network/xinetd'
> make[2]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases/network'
> make[2]: Entering directory `/home/LTP/ltp-dev-20101028/testcases/realtime'
> make -C lib -f "/home/LTP/ltp-dev-20101028/testcases/realtime/lib/Makefile"
> all
> make[3]: Entering directory
> `/home/LTP/ltp-dev-20101028/testcases/realtime/lib'
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -D_GNU_SOURCE
> -I/home/LTP/ltp-dev-20101028/testcases/realtime/lib/../include
> -I../../../include -I../../../include  -c -o librttest.o librttest.c
> librttest.c: In function `init_pi_mutex':
> librttest.c:569: warning: implicit declaration of function
> `pthread_mutexattr_setprotocol'
> librttest.c:569: error: `PTHREAD_PRIO_INHERIT' undeclared (first use in this
> function)
> librttest.c:569: error: (Each undeclared identifier is reported only once
> librttest.c:569: error: for each function it appears in.)
> librttest.c:572: warning: implicit declaration of function
> `pthread_mutexattr_getprotocol'
> make[3]: *** [librttest.o] Error 1
> make[3]: Leaving directory
> `/home/LTP/ltp-dev-20101028/testcases/realtime/lib'
> make[2]: *** [lib/librealtime.a] Error 2
> make[2]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases/realtime'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/LTP/ltp-dev-20101028/testcases'
> make: *** [testcases-all] Error 2
> ------------
>
> "realtime" became to be build by the patch of Makefile:
> ------------
> --- a/testcases/Makefile
> +++ b/testcases/Makefile
>  @@ -38,7 +38,12 @@ FILTER_OUT_DIRS              := ballista kdump mce-test
> open% pounder21
>  # XXX (garrcoop): kdump was in this list.
>  # XXX (garrcoop): open_hpi_testsuite was in this list.
>  ifeq ($(UCLINUX),1)
>  -FILTER_OUT_DIRS                += DOTS realtime
>  +FILTER_OUT_DIRS                += realtime
>  +endif
>  +
>  +# DOTS requires javac
>  +ifeq ($(strip $(JAVAC)),)
>  +FILTER_OUT_DIRS                += DOTS
>  endif
>
>  #
> ------------
>
> "realtime" added to build.
> Perhaps this revision caused this failure, I think.

    DOTS is garbage, bitrotted code. If no one has any opposes the
change, then I'll remove it from LTP in 3 days time.
Thanks,
-Garrett

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to