* [LTP] LTP May 2009 build failing on RHEL5.4 pre-Alpha
@ 2009-06-03 11:04 Munipradeep Beerakam
2009-06-04 6:55 ` Nobuhiro Iwamatsu
0 siblings, 1 reply; 3+ messages in thread
From: Munipradeep Beerakam @ 2009-06-03 11:04 UTC (permalink / raw)
To: ltp-list
Hi,
I tried to build the LTP tarball ltp-full-20090531.tgz on RHEL5.4
pre-Alpha Distribution. But build failed with the following error:
------------------------------------------------------------------
make[4]: Entering directory
`/root/ltp-full-20090531/testcases/kernel/syscalls/sgetmask'
gcc -g -O2 -I../../include -g -Wall -I../../../../include -Wall
sgetmask01.c -L../../../../lib -lltp -o sgetmask01
sgetmask01.c: In function ‘main’:
sgetmask01.c:142: error: ‘__NR_ssetmask’ undeclared (first use in this
function)
sgetmask01.c:142: error: (Each undeclared identifier is reported only
once
sgetmask01.c:142: error: for each function it appears in.)
make[4]: *** [sgetmask01] Error 1
make[4]: Leaving directory
`/root/ltp-full-20090531/testcases/kernel/syscalls/sgetmask'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/root/ltp-full-20090531/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20090531/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20090531/testcases'
make: *** [all] Error 2
------------------------------------------------------------------
The variable '__NR_ssetmask' declaration is available in /usr/include
~# grep -r "__NR_ssetmask" /usr/include/
/usr/include/bits/syscall.h:#define SYS_ssetmask __NR_ssetmask
/usr/include/asm-i386/unistd.h:#define __NR_ssetmask 69
What could be the reason for failure?
Thanks
Muni
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LTP] LTP May 2009 build failing on RHEL5.4 pre-Alpha
2009-06-03 11:04 [LTP] LTP May 2009 build failing on RHEL5.4 pre-Alpha Munipradeep Beerakam
@ 2009-06-04 6:55 ` Nobuhiro Iwamatsu
2009-06-04 10:26 ` Munipradeep Beerakam
0 siblings, 1 reply; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2009-06-04 6:55 UTC (permalink / raw)
To: Munipradeep Beerakam; +Cc: ltp-list
Hi,
Munipradeep Beerakam wrote:
> Hi,
>
> I tried to build the LTP tarball ltp-full-20090531.tgz on RHEL5.4
> pre-Alpha Distribution. But build failed with the following error:
>
> ------------------------------------------------------------------
>
> make[4]: Entering directory
> `/root/ltp-full-20090531/testcases/kernel/syscalls/sgetmask'
> gcc -g -O2 -I../../include -g -Wall -I../../../../include -Wall
> sgetmask01.c -L../../../../lib -lltp -o sgetmask01
> sgetmask01.c: In function ‘main’:
> sgetmask01.c:142: error: ‘__NR_ssetmask’ undeclared (first use in this
> function)
> sgetmask01.c:142: error: (Each undeclared identifier is reported only
> once
> sgetmask01.c:142: error: for each function it appears in.)
> make[4]: *** [sgetmask01] Error 1
> make[4]: Leaving directory
> `/root/ltp-full-20090531/testcases/kernel/syscalls/sgetmask'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/root/ltp-full-20090531/testcases/kernel/syscalls'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/root/ltp-full-20090531/testcases/kernel'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/ltp-full-20090531/testcases'
> make: *** [all] Error 2
>
> ------------------------------------------------------------------
>
> The variable '__NR_ssetmask' declaration is available in /usr/include
>
> ~# grep -r "__NR_ssetmask" /usr/include/
> /usr/include/bits/syscall.h:#define SYS_ssetmask __NR_ssetmask
> /usr/include/asm-i386/unistd.h:#define __NR_ssetmask 69
>
> What could be the reason for failure?
>
What kind of arch do you use?
x86_64? I became the same problem too.
x86_64 does not seem to have this systemcall.
Best regards,
Nobuhiro
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LTP] LTP May 2009 build failing on RHEL5.4 pre-Alpha
2009-06-04 6:55 ` Nobuhiro Iwamatsu
@ 2009-06-04 10:26 ` Munipradeep Beerakam
0 siblings, 0 replies; 3+ messages in thread
From: Munipradeep Beerakam @ 2009-06-04 10:26 UTC (permalink / raw)
To: Nobuhiro Iwamatsu; +Cc: ltp-list
Hi,
It failed on both x86 and x86_64 architectures
Regards
Muni
On Thu, 2009-06-04 at 15:55 +0900, Nobuhiro Iwamatsu wrote:
> Hi,
>
> Munipradeep Beerakam wrote:
> > Hi,
> >
> > I tried to build the LTP tarball ltp-full-20090531.tgz on RHEL5.4
> > pre-Alpha Distribution. But build failed with the following error:
> >
> > ------------------------------------------------------------------
> >
> > make[4]: Entering directory
> > `/root/ltp-full-20090531/testcases/kernel/syscalls/sgetmask'
> > gcc -g -O2 -I../../include -g -Wall -I../../../../include -Wall
> > sgetmask01.c -L../../../../lib -lltp -o sgetmask01
> > sgetmask01.c: In function ‘main’:
> > sgetmask01.c:142: error: ‘__NR_ssetmask’ undeclared (first use in this
> > function)
> > sgetmask01.c:142: error: (Each undeclared identifier is reported only
> > once
> > sgetmask01.c:142: error: for each function it appears in.)
> > make[4]: *** [sgetmask01] Error 1
> > make[4]: Leaving directory
> > `/root/ltp-full-20090531/testcases/kernel/syscalls/sgetmask'
> > make[3]: *** [all] Error 2
> > make[3]: Leaving directory
> > `/root/ltp-full-20090531/testcases/kernel/syscalls'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/root/ltp-full-20090531/testcases/kernel'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/root/ltp-full-20090531/testcases'
> > make: *** [all] Error 2
> >
> > ------------------------------------------------------------------
> >
> > The variable '__NR_ssetmask' declaration is available in /usr/include
> >
> > ~# grep -r "__NR_ssetmask" /usr/include/
> > /usr/include/bits/syscall.h:#define SYS_ssetmask __NR_ssetmask
> > /usr/include/asm-i386/unistd.h:#define __NR_ssetmask 69
> >
> > What could be the reason for failure?
> >
> What kind of arch do you use?
> x86_64? I became the same problem too.
> x86_64 does not seem to have this systemcall.
>
> Best regards,
> Nobuhiro
>
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-04 10:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-03 11:04 [LTP] LTP May 2009 build failing on RHEL5.4 pre-Alpha Munipradeep Beerakam
2009-06-04 6:55 ` Nobuhiro Iwamatsu
2009-06-04 10:26 ` Munipradeep Beerakam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.