[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP] ltp-full-20080930 build error on s390
From:       Subrata Modak <subrata () linux ! vnet ! ibm ! com>
Date:       2008-10-20 6:54:31
Message-ID: 1224485564.5152.8.camel () subratamodak ! linux ! ibm ! com
[Download RAW message or body]


On Thu, 2008-10-16 at 11:42 -0300, Ramon de Carvalho Valle wrote:
> Hi,
> 
> What distribution and kernel version was used when trying to build LTP?
> 
> Best regards,

Sudhir,

Can you kindly provide more info needed by Ramon for this issue ?

Regards--
Subrata

> 
> 
> On Thu, 2008-10-16 at 19:43 +0530, Subrata Modak wrote:
> > 2.6.27 has lot of changes. This seems to be a new issue altogether. And
> > different compilation errors are occurring on different architectures.
> > Part of this problem has to do with various headers having varied
> > entries under varied glibcs under varied distributions. Though this is
> > not a direct test case issue, still having to compile the test case
> > itself is becoming a big heachache. I have written to the original
> > author of this test case to look into this. Let ´s see what he figures
> > out.
> > 
> > Ramon,
> > 
> > Can you kindly visit your *_robust_list() set of test cases and see what
> > is the problem with headers.
> > 
> > Regards--
> > Subrata
> > 
> > On Thu, 2008-10-16 at 19:05 +0530, Sudhir Alluri wrote:
> > > Hi Subrata,
> > > 
> > > 
> > >       I did cvs -z3
> > > -d:pserver:anonymous@ltp.cvs.sourceforge.net:/cvsroot/ltp co ltp, to get
> > > the latest code.
> > > 
> > > 
> > > That fails with the below error.
> > >   -c -o ftruncate01_64.o ftruncate01.c
> > > cc   ftruncate01_64.o  -L../../../../lib -lltp -o ftruncate01_64
> > > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > -DTST_USE_NEWER64_SYSCALL=1 -D_FILE_OFFSET_BITS=64   -c -o ftruncate02_64.o
> > > ftruncate02.c
> > > cc   ftruncate02_64.o  -L../../../../lib -lltp -o ftruncate02_64
> > > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > -DTST_USE_NEWER64_SYSCALL=1 -D_FILE_OFFSET_BITS=64   -c -o ftruncate03_64.o
> > > ftruncate03.c
> > > cc   ftruncate03_64.o  -L../../../../lib -lltp -o ftruncate03_64
> > > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > -DTST_USE_NEWER64_SYSCALL=1 -D_FILE_OFFSET_BITS=64   -c -o ftruncate04_64.o
> > > ftruncate04.c
> > > cc   ftruncate04_64.o  -L../../../../lib -lltp -o ftruncate04_64
> > > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > ftruncate01.c  -L../../../../lib -lltp -o ftruncate01
> > > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > ftruncate02.c  -L../../../../lib -lltp -o ftruncate02
> > > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > ftruncate03.c  -L../../../../lib -lltp -o ftruncate03
> > > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > ftruncate04.c  -L../../../../lib -lltp -o ftruncate04
> > > rm ftruncate03_64.o ftruncate04_64.o ftruncate01_64.o ftruncate02_64.o
> > > make[4]: Leaving directory `/root/ltp/testcases/kernel/syscalls/ftruncate'
> > > make[4]: Entering directory `/root/ltp/testcases/kernel/syscalls/futimesat'
> > > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > futimesat01.c  -L../../../../lib -lltp -o futimesat01
> > > make[4]: Leaving directory `/root/ltp/testcases/kernel/syscalls/futimesat'
> > > make[4]: Entering directory
> > > `/root/ltp/testcases/kernel/syscalls/get_robust_list'
> > > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > get_robust_list01.c  -L../../../../lib -lltp -o get_robust_list01
> > > In file included from get_robust_list01.c:55:
> > > /usr/include/linux/futex.h:34: error: expected â:â, â,â, â;â, â}â or
> > > â__attribute__â before â*â token
> > > /usr/include/linux/futex.h:69: error: expected â:â, â,â, â;â, â}â or
> > > â__attribute__â before â*â token
> > > /usr/include/linux/futex.h:96: error: expected â;â, â,â or â)â before â*â
> > > token
> > > /usr/include/linux/futex.h:100: error: expected â;â, â,â or â)â before â*â
> > > token
> > > make[4]: *** [get_robust_list01] Error 1
> > > make[4]: Leaving directory
> > > `/root/ltp/testcases/kernel/syscalls/get_robust_list'
> > > make[3]: *** [all] Error 2
> > > make[3]: Leaving directory `/root/ltp/testcases/kernel/syscalls'
> > > make[2]: *** [all] Error 2
> > > make[2]: Leaving directory `/root/ltp/testcases/kernel'
> > > make[1]: *** [all] Error 2
> > > make[1]: Leaving directory `/root/ltp/testcases'
> > > make: *** [all] Error 2
> > > root@falcon25 /root/ltp:#
> > > 
> > > 
> > > 
> > > Pls let me know how i can get a clean build.
> > > 
> > > Thank you,
> > > Sudhir
> > > 
> > > 
> > > 
> > >                                                                            
> > >              Subrata Modak                                                 
> > >              <subrata@linux.vn                                             
> > >              et.ibm.com>                                                To 
> > >                                        Jin Bing Guo                        
> > >              15/10/2008 22:02          <guojb@linux.vnet.ibm.com>          
> > >                                                                         cc 
> > >                                        Sudhir Alluri/India/IBM@IBMIN,      
> > >              Please respond to         ltp-list                            
> > >              subrata@linux.vne         <ltp-list@lists.sourceforge.net>    
> > >                  t.ibm.com                                         Subject 
> > >                                        Re: [LTP] ltp-full-20080930 build   
> > >                                        error on s390                       
> > >                                                                            
> > >                                                                            
> > >                                                                            
> > >                                                                            
> > >                                                                            
> > >                                                                            
> > > 
> > > 
> > > 
> > > 
> > > 
> > > On Tue, 2008-10-14 at 14:24 +0800, Jin Bing Guo wrote:
> > > > On 10/14 10:12AM, Sudhir Alluri wrote:
> > > > >
> > > > > Hi,
> > > > >       I got the below build error, wheni tried to build on s390
> > > platform
> > > > >
> > > > > Linux 2.6.16.21-0.8-default #1 SMP Mon Jul 3 18:25:39 UTC 2006 s390x
> > > s390x
> > > > > s390x GNU/Linux
> > > > >
> > > > >  cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > > > > ptrace06.c  -L../../../../lib -lltp -o ptrace.06
> > > > > ptrace06.c:23:32: error: spawn_ptrace_child.c: No such file or
> > > directory
> > > >
> > > > I think the problem was that it did not find the spawn_ptrace_child.c
> > > file.
> > > > You can download the file again.
> > > >
> > > > It's the bug that when you execute "make clean", spawn_ptrace_child.c
> > > > would be deleted.
> > > 
> > > This should have been fixed by now.
> > > 
> > > Regards--
> > > Subrata
> > > 
> > > >
> > > > > ptrace06.c:49: error: invalid application of 鈙izeof? to incomplete
> > > type
> > > > > 鈙truct pt_regs?
> > > > > ptrace06.c:50: error: invalid application of 鈙izeof? to incomplete
> > > type
> > > > > 鈙truct pt_regs?
> > > > > ptrace06.c:51: error: invalid application of 鈙izeof? to incomplete
> > > type
> > > > > 鈙truct pt_regs?
> > > > > ptrace06.c:52: error: invalid application of 鈙izeof? to incomplete
> > > type
> > > > > 鈙truct pt_regs?
> > > > > ptrace06.c:73: error: invalid application of 鈙izeof? to incomplete
> > > type
> > > > > 鈙truct pt_regs?
> > > > > ptrace06.c:74: error: invalid application of 鈙izeof? to incomplete
> > > type
> > > > > 鈙truct pt_regs?
> > > > > ptrace06.c:75: error: invalid application of 鈙izeof? to incomplete
> > > type
> > > > > 鈙truct pt_regs?
> > > > > ptrace06.c:76: error: invalid application of 鈙izeof? to incomplete
> > > type
> > > > > 鈙truct pt_regs?
> > > > > ptrace06.c: In function 鈓ain?:
> > > > > ptrace06.c:146: warning: implicit declaration of function 鈓ake_a_baby?
> > > > > ptrace06.c:152: error: 鈖id? undeclared (first use in this function)
> > > > > ptrace06.c:152: error: (Each undeclared identifier is reported only
> > > once
> > > > > ptrace06.c:152: error: for each function it appears in.)
> > > > > ptrace06.c:156: warning: implicit declaration of function 鈙trptrace?
> > > > >
> > > > >
> > > > > I did not get this error when i did a build on x86_64.
> > > > >
> > > > > Regards,
> > > > > Sudhir
> > > > > Staff Software Engineer,
> > > > > STG - ISL
> > > > > IBM India
> > > > >
> > > > >
> > > > >
> > > -------------------------------------------------------------------------
> > > > > 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
> > > > > Ltp-list@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/ltp-list
> > > >
> > > >
> > > > Thanks,
> > > > -- Jin Bing Guo
> > > >
> > > > -------------------------------------------------------------------------
> > > > 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
> > > > Ltp-list@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/ltp-list
> > > 
> > 


-------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic