On Mon, 2009-11-09 at 10:39 -0800, Garrett Cooper wrote:
> On Mon, Nov 9, 2009 at 9:39 AM, Subrata Modak
> <[email protected]> wrote:
> > 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
> 
> Eh... not sure how that one happened. When did you pull from CVS?
> 
> > 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 here
> > mbind01.c: In function ‘main’:
> > mbind01.c:368: warning: unused variable ‘result’
> > make[4]: *** [mbind01] Error 1
> 
> Should be resolved now.
> 
> > 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
> 
> Should be resolved now.
> 
> > 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 ptrace04
> > ptrace04.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.

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

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

Reply via email to