I seem to be getting 2 different build problems on s390x:
On SLES-10 SP3, the make attempt gets nowhere (still need to check if
reproducible on a different system):
...
config.status: executing depfiles commands
config.status: executing libtool commands
h91distr02:~/ltp-full-20091031 # make all
make: *** No rule to make target `/$*', needed by `pan-all'. Stop.
h91distr02:~/ltp-full-20091031 #
On RHEL5.4 and SLES-11 am getting build problem with the controllers
subdirs, ex:
SLES-11:
...
make[3]: Entering directory
`/root/ltp-full-20091031/testcases/kernel/controllers'
make[4]: Entering directory
`/root/ltp-full-20091031/testcases/kernel/controllers/cgroup'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/root/ltp-full-20091031/testcases/kernel/include
-I/root/ltp-full-20091031/testcases/kernel/controllers/cgroup/../libcontrollers
-I../../../../include -I../../../../include
-L/root/ltp-full-20091031/testcases/kernel/controllers/cgroup/../libcontrollers
-L../../../../lib fork_processes.c -lltp -lcontrollers -o
fork_processes
/usr/lib64/gcc/s390x-suse-linux/4.3/../../../../s390x-suse-linux/bin/ld:
cannot find -lcontrollers
collect2: ld returned 1 exit status
make[4]: *** [fork_processes] Error 1
make[4]: Leaving directory
`/root/ltp-full-20091031/testcases/kernel/controllers/cgroup'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/root/ltp-full-20091031/testcases/kernel/controllers'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20091031/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2
RHEL5.4:
...
make[3]: Entering directory
`/root/ltp-full-20091031/testcases/kernel/controllers'
make[4]: Entering directory
`/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/root/ltp-full-20091031/testcases/kernel/include
-I/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj/../libcontrollers
-Wall -O2 -Wextra -I../../../../include -I../../../../include
-L/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj/../libcontrollers
-L../../../../lib cgroup_fj_proc.c -lltp -lcontrollers -o
cgroup_fj_proc
/usr/bin/ld: cannot find -lcontrollers
collect2: ld returned 1 exit status
make[4]: *** [cgroup_fj_proc] Error 1
make[4]: Leaving directory
`/root/ltp-full-20091031/testcases/kernel/controllers/cgroup_fj'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/root/ltp-full-20091031/testcases/kernel/controllers'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20091031/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2
Also should I expect the same result if I retry the compile with the
following?
make clean
make autotools
./configure
make all
Cause RHEL5.4 and SLES-11 get the same error but a different complaint
than what they got on the original build attempt:
...
make[5]: Entering directory
`/root/ltp-full-20091031/testcases/kernel/controllers/cpuset/cpuset_syscall_test'
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/root/ltp-full-20091031/testcases/kernel/include
-I../../../../../include -I../../../../../include
-L/root/ltp-full-20091031/testcases/kernel/controllers/cpuset/cpuset_syscall_test/../cpuset_lib
-L../../../../../lib cpuset_syscall_test.c -lltp -lcpu_set -o
cpuset_syscall_test
cpuset_syscall_test.c: In function âget_mempolicyâ:
cpuset_syscall_test.c:67: error: â__NR_get_mempolicyâ undeclared (first
use in this function)
cpuset_syscall_test.c:67: error: (Each undeclared identifier is reported
only once
cpuset_syscall_test.c:67: error: for each function it appears in.)
cpuset_syscall_test.c: In function âmbindâ:
cpuset_syscall_test.c:73: error: â__NR_mbindâ undeclared (first use in
this function)
cpuset_syscall_test.c: In function âset_mempolicyâ:
cpuset_syscall_test.c:78: error: â__NR_set_mempolicyâ undeclared (first
use in this function)
cpuset_syscall_test.c: In function âprocess_optionsâ:
cpuset_syscall_test.c:100: warning: unused variable âfileâ
cpuset_syscall_test.c: In function âtest_mbindâ:
cpuset_syscall_test.c:177: warning: format â%lxâ expects type âlong
unsigned intâ, but argument 2 has type âvoid *â
make[5]: *** [cpuset_syscall_test] Error 1
make[5]: Leaving directory
`/root/ltp-full-20091031/testcases/kernel/controllers/cpuset/cpuset_syscall_test'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/root/ltp-full-20091031/testcases/kernel/controllers/cpuset'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/root/ltp-full-20091031/testcases/kernel/controllers'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20091031/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2
- Mark Ver
office: Building 710 / Room 2-RF-10
phone: (845) 435-7794 [tie 8 295-7794]
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list