On Dec 8, 2009, at 5:07 AM, Caspar Zhang wrote:
>
> ----- "Mike Frysinger" <[email protected]> wrote:
>
>> On Thursday 12 November 2009 01:20:37 yali_ning wrote:
>>> I came across an error , when compiling the ltp-20091030. the step
>> is :
>>>
>>> gcc -Wall -g -Os -g -O2 -fno-strict-aliasing -pipe -Wall
>>>
>> -I/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/include
>>> -I../../../../include -I../../../../include -L../../../../lib
>> vfork.c
>>> -lltp -o vfork In file included from /usr/include/asm/ptrace.h:58,
>>> from /usr/include/linux/ptrace.h:49,
>>> from vfork.c:45:
>>> /usr/include/asm/fpu.h:57: error: redefinition of 'struct
>> ia64_fpreg'
>>> In file included from /usr/include/linux/ptrace.h:49,
>>> from vfork.c:45:
>>> /usr/include/asm/ptrace.h:208: error: redefinition of 'struct
>>> pt_all_user_regs'
>>
>> this should be fixed already in latest cvs
>> -mike
> No, I tried to install latest cvs version under RHEL5.4 on a ia64
> machine but the same error still existed.
>
> What puzzled me is, it said it was the redefinition-error, but I
> couldn't even find the originally defined structs.
The definition exists in /usr/include/asm*/ptrace.h, or maybe your build is
fubared and you're referencing legitimate kernel source headers instead of
system headers. We'd need more details in order to determine what's going on
here...
Thanks,
-Garrett
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list