On Oct  4 15:20, Jared Smith wrote:
> Any help in solving the make errors would be appreciated.
> 
> Slackware 12.1 with gcc 4.2.3 and kernel 2.6.24.5
> 
> Here is the log from make.

...

> In file included from get_robust_list01.c:55:
> /usr/include/linux/futex.h:48: error: expected ':', ',', ';', '}' or 
> '__attribute__' before '*' token
> /usr/include/linux/futex.h:83: error: expected ':', ',', ';', '}' or 
> '__attribute__' before '*' token
> In file included from set_robust_list01.c:55:
> /usr/include/linux/futex.h:48: error: expected ':', ',', ';', '}' or 
> '__attribute__' before '*' token
> /usr/include/linux/futex.h:83: error: expected ':', ',', ';', '}' or 
> '__attribute__' before '*' token

This is the only "error" I find in the output and we already talked
about this one on IRC.  futex.h has a __user annotation which gcc
doesn't like.  I think this is one of the kernel annotations which is
probably supposed to be in an "#ifdef __KERNEL__" block which would
point to a kernel header bug.

I don't see this error:
http://pastebin.com/m1d4e81f6

which probably makes sense since you said you did this from a fresh
unpack.  There's a bug in testcases/kernel/syscalls/ptrace/Makefile
where a make clean removes the source file which doesn't match ptrace*.c.

Nate

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to