Skip to contentSkip to conversation

make error

LTP Caspar Zhang 2 participants 2 messages Dec 8, 2009 – Dec 11, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 862970112.6041260277607150.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com

#1 lore raw
Quoted 13 lines · ----- "Mike Frysinger
Quoted 1 line · On Thursday 12 November 2009 01:20:37 yali_ning wrote:

I came across an error , when compiling the ltp-20091030. the step

is :

Quoted 3 lines

gcc -Wall -g -Os -g -O2 -fno-strict-aliasing -pipe -Wall

-I/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/include

Quoted 1 line

-I../../../../include -I../../../../include -L../../../../lib

vfork.c

Quoted 4 lines

-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

Quoted 8 lines

ia64_fpreg'

Quoted 4 lines

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.

Thanks,
Caspar

------------------------------------------------------------------------------
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

#2 lore raw
Quoted 22 lines · Caspar Zhang
Quoted 19 lines · ----- "Mike Frysinger
Quoted 1 line · On Thursday 12 November 2009 01:20:37 yali_ning wrote:

I came across an error , when compiling the ltp-20091030. the step

is :

Quoted 3 lines

gcc -Wall -g -Os -g -O2 -fno-strict-aliasing -pipe -Wall

-I/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/include

Quoted 1 line

-I../../../../include -I../../../../include -L../../../../lib

vfork.c

Quoted 4 lines

-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'

Quoted 4 lines

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'

Quoted 7 lines
Quoted 2 lines

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