get_mempolicy01, mbind01, move_pages01 & ptrace04 compile failures with latest CVS
Garret,
Can you please look into these errors occurring on my below system configuration:
# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib get_mempolicy01.c -lltp -o get_mempolicy01
get_mempolicy01.c:59:25: error: include_j_h.h: No such file or directory get_mempolicy01.c:60:24: error: common_j_h.c: No such file or directory get_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:274: error: ‘RESULT_OK’ undeclared (first use in this function)
get_mempolicy01.c:274: error: (Each undeclared identifier is reported only once
get_mempolicy01.c:274: error: for each function it appears in.) get_mempolicy01.c:276: error: ‘nodemask_t’ undeclared (first use in this function)
get_mempolicy01.c:276: error: expected ‘;’ before ‘nodemask’ get_mempolicy01.c:277: error: ‘NUMA_NUM_NODES’ undeclared (first use in this function)
get_mempolicy01.c:282: warning: implicit declaration of function ‘nodemask_zero’
get_mempolicy01.c:282: error: ‘nodemask’ undeclared (first use in this function)
get_mempolicy01.c:283: warning: implicit declaration of function ‘nodemask_set’
get_mempolicy01.c:284: error: ‘getnodemask’ undeclared (first use in this function)
get_mempolicy01.c:338: warning: implicit declaration of function ‘nodemask_equal’
get_mempolicy01.c:340: warning: implicit declaration of function ‘nodemask_dump’
get_mempolicy01.c:349: warning: implicit declaration of function ‘PRINT_RESULT_CMP’
make[4]: *** [get_mempolicy01] Error 1
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/ -I../../../../include -I../../../../include -L../../../../lib mbind01.c -lltp -o mbind01
In file included from mbind01.c:62:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’ /usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’ /usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’ /usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was herembind01.c: In function ‘main’:
mbind01.c:368: warning: unused variable ‘result’
make[4]: *** [mbind01] Error 1
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils -I../../../../include -I../../../../include -c -o move_pages01.o move_pages01.c In file included from move_pages_support.h:22,
from move_pages01.c:63:
/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’ /usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’ /usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’ /usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was here
make[4]: *** [move_pages01.o] Error 1
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib ptrace04.c -lltp -o ptrace04ptrace04.c: In function ‘compare_registers’:
ptrace04.c:51: error: storage size of ‘pt_regs’ isn’t known ptrace04.c:51: warning: unused variable ‘pt_regs’ make[4]: *** [ptrace04] Error 1
Regards--
Subrata
------------------------------------------------------------------------------
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
Quoted 31 lines · Subrata Modak
Garret,
Can you please look into these errors occurring on my below system configuration:
# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linuxgcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib get_mempolicy01.c -lltp -oget_mempolicy01get_mempolicy01.c:59:25: error:include_j_h.h: No such file or directory
get_mempolicy01.c:60:24: error:common_j_h.c: No such file or directoryget_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:274: error: ‘RESULT_OK’ undeclared (first use in this
function)
get_mempolicy01.c:274: error: (Each undeclared identifier is reported
only once
get_mempolicy01.c:274: error: for each function it appears in.)
get_mempolicy01.c:276: error: ‘nodemask_t’ undeclared (first use in this
function)
get_mempolicy01.c:276: error: expected ‘;’ before ‘nodemask’
get_mempolicy01.c:277: error: ‘NUMA_NUM_NODES’ undeclared (first use in
this function)
get_mempolicy01.c:282: warning: implicit declaration of function
‘nodemask_zero’
get_mempolicy01.c:282: error: ‘nodemask’ undeclared (first use in this
function)
get_mempolicy01.c:283: warning: implicit declaration of function
‘nodemask_set’
get_mempolicy01.c:284: error: ‘getnodemask’ undeclared (first use in
Quoted 8 lines
this function)
get_mempolicy01.c:338: warning: implicit declaration of function ‘nodemask_equal’
get_mempolicy01.c:340: warning: implicit declaration of function ‘nodemask_dump’
get_mempolicy01.c:349: warning: implicit declaration of function ‘PRINT_RESULT_CMP’
make[4]: *** [get_mempolicy01] Error 1
Eh... not sure how that one happened. When did you pull from CVS?
Quoted 7 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/ -I../../../../include -I../../../../include -L../../../../lib mbind01.c -lltp -o mbind01 In file included from mbind01.c:62:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’
Quoted 8 lines
/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was herembind01.c: In function ‘main’:
mbind01.c:368: warning: unused variable ‘result’
make[4]: *** [mbind01] Error 1
Should be resolved now.
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils -I../../../../include -I../../../../include -c -o move_pages01.omove_pages01.cIn file included from move_pages_support.h:22,
from move_pages01.c:63:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
Quoted 8 lines
here
/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was here
make[4]: *** [move_pages01.o] Error 1
Should be resolved now.
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib ptrace04.c -lltp -o ptrace04ptrace04.c: In function ‘compare_registers’:
ptrace04.c:51: error: storage size of ‘pt_regs’ isn’t known
ptrace04.c:51: warning: unused variable ‘pt_regs’
make[4]: *** [ptrace04] Error 1
Fixed (I think). Please repull and retry.
Thanks,
-Garrett
------------------------------------------------------------------------------
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
Quoted 79 lines · Garrett Cooper
Quoted 31 lines · Subrata Modak
Garret,
Can you please look into these errors occurring on my below system configuration:
# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linuxgcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../libget_mempolicy01.c-lltp -oget_mempolicy01
get_mempolicy01.c:59:25: error:include_j_h.h: No such file or directory get_mempolicy01.c:60:24: error:common_j_h.c: No such file or directoryget_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:274: error: ‘RESULT_OK’ undeclared (first use in this function)
get_mempolicy01.c:274: error: (Each undeclared identifier is reported only once
get_mempolicy01.c:274: error: for each function it appears in.) get_mempolicy01.c:276: error: ‘nodemask_t’ undeclared (first use in this function)
get_mempolicy01.c:276: error: expected ‘;’ before ‘nodemask’ get_mempolicy01.c:277: error: ‘NUMA_NUM_NODES’ undeclared (first use in this function)
get_mempolicy01.c:282: warning: implicit declaration of function ‘nodemask_zero’
get_mempolicy01.c:282: error: ‘nodemask’ undeclared (first use in this function)
get_mempolicy01.c:283: warning: implicit declaration of function ‘nodemask_set’
get_mempolicy01.c:284: error: ‘getnodemask’ undeclared (first use inQuoted 8 lines
this function)
get_mempolicy01.c:338: warning: implicit declaration of function ‘nodemask_equal’
get_mempolicy01.c:340: warning: implicit declaration of function ‘nodemask_dump’
get_mempolicy01.c:349: warning: implicit declaration of function ‘PRINT_RESULT_CMP’
make[4]: *** [get_mempolicy01] Error 1Eh... not sure how that one happened. When did you pull from CVS?
Quoted 7 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/ -I../../../../include -I../../../../include -L../../../../libmbind01.c-lltp -o mbind01
In file included from mbind01.c:62:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’Quoted 8 lines
/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was herembind01.c: In function ‘main’:
mbind01.c:368: warning: unused variable ‘result’
make[4]: *** [mbind01] Error 1Should be resolved now.
Quoted 4 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils -I../../../../include -I../../../../include -c -o move_pages01.omove_pages01.cIn file included from move_pages_support.h:22,from move_pages01.c:63:Quoted 10 lines
/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was here
make[4]: *** [move_pages01.o] Error 1Should be resolved now.
Quoted 8 lines
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../libptrace04.c-lltp -o ptrace04ptrace04.c: In function ‘compare_registers’:
ptrace04.c:51: error: storage size of ‘pt_regs’ isn’t known ptrace04.c:51: warning: unused variable ‘pt_regs’ make[4]: *** [ptrace04] Error 1Fixed (I think). Please repull and retry.
get_mempolicy01 and mbind01 is still failing:
get_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:282: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’
get_mempolicy01.c:283: warning: implicit declaration of function
‘nodemask_set’
get_mempolicy01.c:284: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’
get_mempolicy01.c:337: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’
get_mempolicy01.c:338: warning: passing argument 1 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’
get_mempolicy01.c:338: warning: passing argument 2 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’/tmp/ccd0Utpg.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/get_mempolicy/get_mempolicy01.c:283: undefined reference to nodemask_set' /tmp/ccd0Utpg.o: In function nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `nodemask_equal':/usr/include/numa.h:68: undefined reference to `numa_bitmask_equal'
collect2: ld returned 1 exit status
make[4]: *** [get_mempolicy01] Error 1
mbind01.c: In function ‘do_test’:
mbind01.c:271: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’
mbind01.c:272: warning: implicit declaration of function ‘nodemask_set’
mbind01.c:273: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’
mbind01.c:315: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’
mbind01.c:319: warning: passing argument 1 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’
mbind01.c:319: warning: passing argument 2 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘struct nodemask_t *’/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccCibXJV.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/mbind/mbind01.c:272: undefined reference to nodemask_set' /tmp/ccCibXJV.o: In function nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccCibXJV.o: In function `nodemask_equal':/usr/include/numa.h:68: undefined reference to `numa_bitmask_equal'/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'
collect2: ld returned 1 exit status
make[4]: *** [mbind01] Error 1
Regards--
Subrata
Quoted 3 lines
Thanks,
-Garrett
------------------------------------------------------------------------------
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
Quoted 153 lines · Subrata Modak
Quoted 79 lines · Garrett Cooper
Quoted 31 lines · Subrata Modak
Garret,
Can you please look into these errors occurring on my below system configuration:
# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linuxgcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib get_mempolicy01.c -lltp -oget_mempolicy01get_mempolicy01.c:59:25: error:include_j_h.h: No such file or directory
get_mempolicy01.c:60:24: error:common_j_h.c: No such file or directoryget_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:274: error: ‘RESULT_OK’ undeclared (first use in this
function)
get_mempolicy01.c:274: error: (Each undeclared identifier is reported
only once
get_mempolicy01.c:274: error: for each function it appears in.)
get_mempolicy01.c:276: error: ‘nodemask_t’ undeclared (first use in this
function)
get_mempolicy01.c:276: error: expected ‘;’ before ‘nodemask’
get_mempolicy01.c:277: error: ‘NUMA_NUM_NODES’ undeclared (first use in
this function)
get_mempolicy01.c:282: warning: implicit declaration of function
‘nodemask_zero’
get_mempolicy01.c:282: error: ‘nodemask’ undeclared (first use in this
function)
get_mempolicy01.c:283: warning: implicit declaration of function
‘nodemask_set’
get_mempolicy01.c:284: error: ‘getnodemask’ undeclared (first use inQuoted 8 lines
this function)
get_mempolicy01.c:338: warning: implicit declaration of function ‘nodemask_equal’
get_mempolicy01.c:340: warning: implicit declaration of function ‘nodemask_dump’
get_mempolicy01.c:349: warning: implicit declaration of function ‘PRINT_RESULT_CMP’
make[4]: *** [get_mempolicy01] Error 1Eh... not sure how that one happened. When did you pull from CVS?
Quoted 7 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/ -I../../../../include -I../../../../include -L../../../../lib mbind01.c -lltp -o mbind01 In file included from mbind01.c:62:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’Quoted 8 lines
/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was herembind01.c: In function ‘main’:
mbind01.c:368: warning: unused variable ‘result’
make[4]: *** [mbind01] Error 1Should be resolved now.
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils -I../../../../include -I../../../../include -c -o move_pages01.omove_pages01.cIn file included from move_pages_support.h:22,
from move_pages01.c:63:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ wasQuoted 8 lines
here
/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was here
make[4]: *** [move_pages01.o] Error 1Should be resolved now.
Quoted 8 lines
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib ptrace04.c -lltp -o ptrace04ptrace04.c: In function ‘compare_registers’:
ptrace04.c:51: error: storage size of ‘pt_regs’ isn’t known
ptrace04.c:51: warning: unused variable ‘pt_regs’
make[4]: *** [ptrace04] Error 1Fixed (I think). Please repull and retry.
get_mempolicy01and mbind01 is still failing:
get_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:282: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:283: warning: implicit declaration of function
‘nodemask_set’
get_mempolicy01.c:284: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:337: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:338: warning: passing argument 1 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:338: warning: passing argument 2 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’/tmp/ccd0Utpg.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/get_mempolicy/get_mempolicy01.c:283: undefined reference tonodemask_set' /tmp/ccd0Utpg.o: In functionnodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `nodemask_equal':/usr/include/numa.h:68: undefined reference to `numa_bitmask_equal'
collect2: ld returned 1 exit status
make[4]: *** [get_mempolicy01] Error 1
mbind01.c: In function ‘do_test’:
mbind01.c:271: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:272: warning: implicit declaration of function ‘nodemask_set’
mbind01.c:273: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:315: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:319: warning: passing argument 1 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:319: warning: passing argument 2 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccCibXJV.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/mbind/mbind01.c:272: undefined reference to `nodemask_set'
Quoted 8 lines
/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference tonuma_bitmask_clearall' /tmp/ccCibXJV.o: In functionnodemask_equal':/usr/include/numa.h:68: undefined reference tonuma_bitmask_equal' /tmp/ccCibXJV.o: In functionnodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'
collect2: ld returned 1 exit status
make[4]: *** [mbind01] Error 1
More numa.h vs numa_if.h fun... what version of Linux are you running Subrata? Thanks,
-Garrett
------------------------------------------------------------------------------
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
Quoted 164 lines · Garrett Cooper
Quoted 153 lines · Subrata Modak
Quoted 79 lines · Garrett Cooper
Quoted 31 lines · Subrata Modak
Garret,
Can you please look into these errors occurring on my below system configuration:
# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linuxgcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../libget_mempolicy01.c-lltp -oget_mempolicy01
get_mempolicy01.c:59:25: error:include_j_h.h: No such file or directory get_mempolicy01.c:60:24: error:common_j_h.c: No such file or directoryget_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:274: error: ‘RESULT_OK’ undeclared (first use in this function)
get_mempolicy01.c:274: error: (Each undeclared identifier is reported only once
get_mempolicy01.c:274: error: for each function it appears in.) get_mempolicy01.c:276: error: ‘nodemask_t’ undeclared (first use in this function)
get_mempolicy01.c:276: error: expected ‘;’ before ‘nodemask’ get_mempolicy01.c:277: error: ‘NUMA_NUM_NODES’ undeclared (first use in this function)
get_mempolicy01.c:282: warning: implicit declaration of function ‘nodemask_zero’
get_mempolicy01.c:282: error: ‘nodemask’ undeclared (first use in this function)
get_mempolicy01.c:283: warning: implicit declaration of function ‘nodemask_set’
get_mempolicy01.c:284: error: ‘getnodemask’ undeclared (first use inQuoted 8 lines
this function)
get_mempolicy01.c:338: warning: implicit declaration of function ‘nodemask_equal’
get_mempolicy01.c:340: warning: implicit declaration of function ‘nodemask_dump’
get_mempolicy01.c:349: warning: implicit declaration of function ‘PRINT_RESULT_CMP’
make[4]: *** [get_mempolicy01] Error 1Eh... not sure how that one happened. When did you pull from CVS?
Quoted 7 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/ -I../../../../include -I../../../../include -L../../../../libmbind01.c-lltp -o mbind01
In file included from mbind01.c:62:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’Quoted 8 lines
/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was herembind01.c: In function ‘main’:
mbind01.c:368: warning: unused variable ‘result’
make[4]: *** [mbind01] Error 1Should be resolved now.
Quoted 4 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils -I../../../../include -I../../../../include -c -o move_pages01.omove_pages01.cIn file included from move_pages_support.h:22,from move_pages01.c:63:Quoted 10 lines
/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was here
make[4]: *** [move_pages01.o] Error 1Should be resolved now.
Quoted 8 lines
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../libptrace04.c-lltp -o ptrace04ptrace04.c: In function ‘compare_registers’:
ptrace04.c:51: error: storage size of ‘pt_regs’ isn’t known ptrace04.c:51: warning: unused variable ‘pt_regs’ make[4]: *** [ptrace04] Error 1Fixed (I think). Please repull and retry.
get_mempolicy01and mbind01 is still failing:
get_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:282: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:283: warning: implicit declaration of function
‘nodemask_set’
get_mempolicy01.c:284: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:337: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:338: warning: passing argument 1 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:338: warning: passing argument 2 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’/tmp/ccd0Utpg.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/get_mempolicy/get_mempolicy01.c:283: undefined reference tonodemask_set' /tmp/ccd0Utpg.o: In functionnodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `nodemask_equal':/usr/include/numa.h:68: undefined reference to `numa_bitmask_equal'
collect2: ld returned 1 exit status
make[4]: *** [get_mempolicy01] Error 1
mbind01.c: In function ‘do_test’:
mbind01.c:271: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:272: warning: implicit declaration of function ‘nodemask_set’
mbind01.c:273: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:315: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:319: warning: passing argument 1 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:319: warning: passing argument 2 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccCibXJV.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/mbind/mbind01.c:272: undefined reference to `nodemask_set'Quoted 8 lines
/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference tonuma_bitmask_clearall' /tmp/ccCibXJV.o: In functionnodemask_equal':/usr/include/numa.h:68: undefined reference tonuma_bitmask_equal' /tmp/ccCibXJV.o: In functionnodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'
collect2: ld returned 1 exit status
make[4]: *** [mbind01] Error 1
Quoted 1 line
More
numa.hvsnuma_if.hfun... what version of Linux are you running Subrata?
# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386
RHEL 5.2
Regards--
Subrata
Quoted 2 lines
Thanks,
-Garrett
------------------------------------------------------------------------------
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
Quoted 165 lines · Subrata Modak
Quoted 164 lines · Garrett Cooper
Quoted 161 lines · Subrata Modak
Quoted 79 lines · Garrett Cooper
Quoted 31 lines · Subrata Modak
Garret,
Can you please look into these errors occurring on my below system configuration:
# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linuxgcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib get_mempolicy01.c -lltp -oget_mempolicy01get_mempolicy01.c:59:25: error:include_j_h.h: No such file or directory
get_mempolicy01.c:60:24: error:common_j_h.c: No such file or directoryget_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:274: error: ‘RESULT_OK’ undeclared (first use in this
function)
get_mempolicy01.c:274: error: (Each undeclared identifier is reported
only once
get_mempolicy01.c:274: error: for each function it appears in.)
get_mempolicy01.c:276: error: ‘nodemask_t’ undeclared (first use in this
function)
get_mempolicy01.c:276: error: expected ‘;’ before ‘nodemask’
get_mempolicy01.c:277: error: ‘NUMA_NUM_NODES’ undeclared (first use in
this function)
get_mempolicy01.c:282: warning: implicit declaration of function
‘nodemask_zero’
get_mempolicy01.c:282: error: ‘nodemask’ undeclared (first use in this
function)
get_mempolicy01.c:283: warning: implicit declaration of function
‘nodemask_set’
get_mempolicy01.c:284: error: ‘getnodemask’ undeclared (first use inQuoted 8 lines
this function)
get_mempolicy01.c:338: warning: implicit declaration of function ‘nodemask_equal’
get_mempolicy01.c:340: warning: implicit declaration of function ‘nodemask_dump’
get_mempolicy01.c:349: warning: implicit declaration of function ‘PRINT_RESULT_CMP’
make[4]: *** [get_mempolicy01] Error 1Eh... not sure how that one happened. When did you pull from CVS?
Quoted 7 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/ -I../../../../include -I../../../../include -L../../../../lib mbind01.c -lltp -o mbind01 In file included from mbind01.c:62:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’Quoted 8 lines
/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was herembind01.c: In function ‘main’:
mbind01.c:368: warning: unused variable ‘result’
make[4]: *** [mbind01] Error 1Should be resolved now.
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils -I../../../../include -I../../../../include -c -o move_pages01.omove_pages01.cIn file included from move_pages_support.h:22,
from move_pages01.c:63:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ wasQuoted 8 lines
here
/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was here
make[4]: *** [move_pages01.o] Error 1Should be resolved now.
Quoted 8 lines
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib ptrace04.c -lltp -o ptrace04ptrace04.c: In function ‘compare_registers’:
ptrace04.c:51: error: storage size of ‘pt_regs’ isn’t known
ptrace04.c:51: warning: unused variable ‘pt_regs’
make[4]: *** [ptrace04] Error 1Fixed (I think). Please repull and retry.
get_mempolicy01and mbind01 is still failing:
get_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:282: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:283: warning: implicit declaration of function
‘nodemask_set’
get_mempolicy01.c:284: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:337: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:338: warning: passing argument 1 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:338: warning: passing argument 2 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’/tmp/ccd0Utpg.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/get_mempolicy/get_mempolicy01.c:283: undefined reference tonodemask_set' /tmp/ccd0Utpg.o: In functionnodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `nodemask_equal':/usr/include/numa.h:68: undefined reference to `numa_bitmask_equal'
collect2: ld returned 1 exit status
make[4]: *** [get_mempolicy01] Error 1
mbind01.c: In function ‘do_test’:
mbind01.c:271: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:272: warning: implicit declaration of function ‘nodemask_set’
mbind01.c:273: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:315: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:319: warning: passing argument 1 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:319: warning: passing argument 2 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccCibXJV.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/mbind/mbind01.c:272: undefined reference tonodemask_set' /tmp/ccCibXJV.o: In functionnodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccCibXJV.o: In function `nodemask_equal':/usr/include/numa.h:68: undefined reference to `numa_bitmask_equal'/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'
collect2: ld returned 1 exit status
make[4]: *** [mbind01] Error 1
Quoted 6 lines
Quoted 1 line
More
numa.hvsnuma_if.hfun... what version of Linux are you running Subrata?# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386RHEL 5.2
Ok. Installing RHEL now and will have a solution by 6am PST I hope.. Thanks!
-Garrett
------------------------------------------------------------------------------
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
Quoted 167 lines · Garrett Cooper
Quoted 165 lines · Subrata Modak
Quoted 164 lines · Garrett Cooper
Quoted 161 lines · Subrata Modak
Quoted 79 lines · Garrett Cooper
Quoted 31 lines · Subrata Modak
Garret,
Can you please look into these errors occurring on my below system configuration:
# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linuxgcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib get_mempolicy01.c -lltp -oget_mempolicy01get_mempolicy01.c:59:25: error:include_j_h.h: No such file or directory
get_mempolicy01.c:60:24: error:common_j_h.c: No such file or directoryget_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:274: error: ‘RESULT_OK’ undeclared (first use in this
function)
get_mempolicy01.c:274: error: (Each undeclared identifier is reported
only once
get_mempolicy01.c:274: error: for each function it appears in.)
get_mempolicy01.c:276: error: ‘nodemask_t’ undeclared (first use in this
function)
get_mempolicy01.c:276: error: expected ‘;’ before ‘nodemask’
get_mempolicy01.c:277: error: ‘NUMA_NUM_NODES’ undeclared (first use in
this function)
get_mempolicy01.c:282: warning: implicit declaration of function
‘nodemask_zero’
get_mempolicy01.c:282: error: ‘nodemask’ undeclared (first use in this
function)
get_mempolicy01.c:283: warning: implicit declaration of function
‘nodemask_set’
get_mempolicy01.c:284: error: ‘getnodemask’ undeclared (first use inQuoted 8 lines
this function)
get_mempolicy01.c:338: warning: implicit declaration of function ‘nodemask_equal’
get_mempolicy01.c:340: warning: implicit declaration of function ‘nodemask_dump’
get_mempolicy01.c:349: warning: implicit declaration of function ‘PRINT_RESULT_CMP’
make[4]: *** [get_mempolicy01] Error 1Eh... not sure how that one happened. When did you pull from CVS?
Quoted 7 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/ -I../../../../include -I../../../../include -L../../../../lib mbind01.c -lltp -o mbind01 In file included from mbind01.c:62:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’Quoted 8 lines
/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/mbind/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was herembind01.c: In function ‘main’:
mbind01.c:368: warning: unused variable ‘result’
make[4]: *** [mbind01] Error 1Should be resolved now.
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils -I../../../../include -I../../../../include -c -o move_pages01.omove_pages01.cIn file included from move_pages_support.h:22,
from move_pages01.c:63:/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:40: error: conflicting types for ‘nodemask_t’/usr/include/numa.h:39: note: previous declaration of ‘nodemask_t’ wasQuoted 8 lines
here
/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:42: error: conflicting types for ‘nodemask_zero’/usr/include/numa.h:61: note: previous definition of ‘nodemask_zero’ was
here/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/syscalls/move_pages/../utils/numaif.h:69: error: conflicting types for ‘nodemask_equal’/usr/include/numa.h:66: note: previous definition of ‘nodemask_equal’
was here
make[4]: *** [move_pages01.o] Error 1Should be resolved now.
Quoted 8 lines
Quoted 6 lines
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091109/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib ptrace04.c -lltp -o ptrace04ptrace04.c: In function ‘compare_registers’:
ptrace04.c:51: error: storage size of ‘pt_regs’ isn’t known
ptrace04.c:51: warning: unused variable ‘pt_regs’
make[4]: *** [ptrace04] Error 1Fixed (I think). Please repull and retry.
get_mempolicy01and mbind01 is still failing:
get_mempolicy01.c: In function ‘do_test’:
get_mempolicy01.c:282: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:283: warning: implicit declaration of function
‘nodemask_set’
get_mempolicy01.c:284: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:337: warning: passing argument 1 of ‘nodemask_zero’
from incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:338: warning: passing argument 1 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
get_mempolicy01.c:338: warning: passing argument 2 of ‘nodemask_equal’
from incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’/tmp/ccd0Utpg.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/get_mempolicy/get_mempolicy01.c:283: undefined reference tonodemask_set' /tmp/ccd0Utpg.o: In functionnodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccd0Utpg.o: In function `nodemask_equal':/usr/include/numa.h:68: undefined reference to `numa_bitmask_equal'
collect2: ld returned 1 exit status
make[4]: *** [get_mempolicy01] Error 1
mbind01.c: In function ‘do_test’:
mbind01.c:271: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:272: warning: implicit declaration of function ‘nodemask_set’
mbind01.c:273: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:315: warning: passing argument 1 of ‘nodemask_zero’ from
incompatible pointer type/usr/include/numa.h:61: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:319: warning: passing argument 1 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’
mbind01.c:319: warning: passing argument 2 of ‘nodemask_equal’ from
incompatible pointer type/usr/include/numa.h:66: note: expected ‘struct bitmask *’ but argument
is of type ‘structnodemask_t*’/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccCibXJV.o: In function `do_test':/home/subratamodak/OFFICE_WORKS/LTP_PROJECT_CODE/LTP_TARS/OCTOBER_2009_RELEASE/ltp-intermediate-20091110/testcases/kernel/syscalls/mbind/mbind01.c:272: undefined reference tonodemask_set' /tmp/ccCibXJV.o: In functionnodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'/tmp/ccCibXJV.o: In function `nodemask_equal':/usr/include/numa.h:68: undefined reference to `numa_bitmask_equal'/tmp/ccCibXJV.o: In function `nodemask_zero':/usr/include/numa.h:63: undefined reference to `numa_bitmask_clearall'
collect2: ld returned 1 exit status
make[4]: *** [mbind01] Error 1
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
More
numa.hvsnuma_if.hfun... what version of Linux are you running Subrata?# uname -a Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386RHEL 5.2
Ok. Installing RHEL now and will have a solution by 6am PST I hope..
Subrata,
I fought RHEL and lost :\, so I switched to Fedora :]. I ran into
the issues you saw and fixed them on CVS moments ago.
Let me know if you run into any more issues with numa please...
Thanks,
-Garrett
------------------------------------------------------------------------------
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