From: Paul L. <pl...@li...> - 2004-05-21 22:51:19
|
On Fri, 2004-05-21 at 14:35, Dennis Bell wrote: > The title says it all -- I cannot compile the latest LTP source (20040506) on my > dual opteron running SuSE SLES 8 (64bit). > > Here is the error msg: > make[5]: Entering directory > `/test/ltp/ltp-full-20040506/testcases/kernel/mem/hugetlb/hugeshmget' > cc -Wall -I../../../../../include -g -Wall -I../lib -I../../../../../include -g > -Wall hugeshmget01.c -L../../../../../lib -lltp -L../lib -lipc -o hugeshmget01 > hugeshmget01.c: In function `main': > hugeshmget01.c:91: `SHM_HUGETLB' undeclared (first use in this function) > hugeshmget01.c:91: (Each undeclared identifier is reported only once > hugeshmget01.c:91: for each function it appears in.) You don't have support for HUGETLB on that distro's include files. If the kernel you are running supports it, you could manually define SHM_HUGETLB, but unless you care about those tests, I'd just remove them from the build. -Paul Larson |