Skip to contentSkip to conversation

make error

LTP Mitani 3 participants 4 messages Dec 9, 2009

lore
Share & tools
lore

Mitani

author
#0 lore raw

Hi,

Sorry, I don't know how to response to following thread:
"http://www.mail-archive.com/[email protected]/msg08965.html" but I want to comment it:

Quoted 21 lines
Quoted 13 lines · On Thursday 12 November 2009 01:20:37 yali_ning wrote:
Quoted 1 line

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

Quoted 8 lines

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

============

Well, I think that the report that Caspar says is right.

I tried to "make" with "ltp-2009-12-08" version
in RHEL5.4 (kernel 2.6.18-164.el5) and ia64 architecture, too. But it output the error message same as Caspar's report and ended in failure.

And same failure occurred in "ltp-full-20091031.tgz" version, too.

I tried various versions until now.

LTP version --- error occurred in...
---------------------------------------------------------------------

  (1)  ltp-full-20091031 ---  "vfork.c" (This failure)
  (2)  ltp-2009-11-17    ---  "vfork.c" (Resembles this failure)
  (3)  ltp-2009-11-19    ---  "vfork.c" (Resembles this failure)
  (4)  ltp-2009-11-24    ---  "vfork.c" (Resembles this failure)
  (5)  ltp-2009-11-26    ---  "vfork.c" (Resembles this failure)
  (6)  ltp-2009-11-27    ---  "pidns03.c" (Before than this failure)
  (7)  ltp-2009-11-30    ---  "pidns03.c" (Before than this failure)
  (8)  ltp-2009-12-01    ---  "libclone.c" (Before than this failure)
  (9)  ltp-2009-12-02    ---  "libclone.c" (Before than this failure)
  (10) ltp-full-20091130 ---  "libclone.c" (Before than this failure)
  (11) ltp-2009-12-07    ---  "vfork.c" (This failure)
  (12) ltp-2009-12-08    ---  "vfork.c" (This failure)

Thank you--

-Tomonori Mitani

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

#1 lore raw
Quoted 54 lines · Mitani

Hi,

Sorry, I don't know how to response to following thread:
"http://www.mail-archive.com/[email protected]/msg08965.html" but I want to comment it:

Quoted 21 lines
Quoted 13 lines · On Thursday 12 November 2009 01:20:37 yali_ning wrote:
Quoted 1 line

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

Quoted 8 lines

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

============

Well, I think that the report that Caspar says is right.

I tried to "make" with "ltp-2009-12-08" version
in RHEL5.4 (kernel 2.6.18-164.el5) and ia64 architecture, too. But it output the error message same as Caspar's report and ended in failure.

And same failure occurred in "ltp-full-20091031.tgz" version, too.

I tried various versions until now.

LTP version --- error occurred in...
---------------------------------------------------------------------

Quoted 12 lines
 (1)  ltp-full-20091031 ---  "vfork.c" (This failure)
 (2)  ltp-2009-11-17    ---  "vfork.c" (Resembles this failure)
 (3)  ltp-2009-11-19    ---  "vfork.c" (Resembles this failure)
 (4)  ltp-2009-11-24    ---  "vfork.c" (Resembles this failure)
 (5)  ltp-2009-11-26    ---  "vfork.c" (Resembles this failure)
 (6)  ltp-2009-11-27    ---  "pidns03.c" (Before than this failure)
 (7)  ltp-2009-11-30    ---  "pidns03.c" (Before than this failure)
 (8)  ltp-2009-12-01    ---  "libclone.c" (Before than this failure)
 (9)  ltp-2009-12-02    ---  "libclone.c" (Before than this failure)
 (10) ltp-full-20091130 ---  "libclone.c" (Before than this failure)
 (11) ltp-2009-12-07    ---  "vfork.c" (This failure)
 (12) ltp-2009-12-08    ---  "vfork.c" (This failure)

I'm making multiple versioned copies of Fedora based toolchains and sysroots to work around these issues, as I don't have a toolchain setup for ia64, nor do I have real hardware to compile on. Really counterproductive when trying to resolve these issues :(...

I'll try and get them all panned out by the weekend.

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

#2 lore raw
Quoted 4 lines · On Wednesday 09 December 2009 02:48:45 Garrett Cooper wrote:

I'm making multiple versioned copies of Fedora based toolchains and
sysroots to work around these issues, as I don't have a toolchain setup for ia64, nor do I have real hardware to compile on. Really counterproductive when trying to resolve these issues :(...

Gentoo has ia64 hardware you could get an account on, and crossdev should be able to produce ia64 cross-compilers. due to the libunwind funkiness, ia64 tends to be one of the harder ones to make cross-toolchains for. -mike

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

#3 lore raw
Quoted 9 lines · On Wednesday 09 December 2009 06:09:07 Mike Frysinger wrote:
Quoted 4 lines · On Wednesday 09 December 2009 02:48:45 Garrett Cooper wrote:

I'm making multiple versioned copies of Fedora based toolchains and
sysroots to work around these issues, as I don't have a toolchain setup for ia64, nor do I have real hardware to compile on. Really counterproductive when trying to resolve these issues :(...

Gentoo has ia64 hardware you could get an account on, and crossdev should
be able to produce ia64 cross-compilers. due to the libunwind funkiness, ia64 tends to be one of the harder ones to make cross-toolchains for.

looks like things are still peachy. i love when things just work ;).

# crossdev ia64
... wait a bit ...
# qlist -I -v cross-ia64
cross-ia64-unknown-linux-gnu/binutils-2.20
cross-ia64-unknown-linux-gnu/gcc-4.4.2
cross-ia64-unknown-linux-gnu/glibc-2.11-r1
cross-ia64-unknown-linux-gnu/linux-headers-2.6.30-r1
$ echo 'main(){}' | ia64-unknown-linux-gnu-gcc -x c -
$ file a.out
a.out: ELF 64-bit LSB executable, IA-64, version 1 (SYSV), dynamically linked 
(uses shared libs), for GNU/Linux 2.6.9, not stripped
-mike

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