Hi, --- Jin Bing Guo <[EMAIL PROTECTED]> wrote:
> > On 10/29 20:25PM, Subrata Modak wrote: > > Hi, > > > > While investigating, i found that: > > > > ltp-full-20081023/testcases/kernel/mem/libmm > > > > is not built/installed/run. > > > > When i tried to build it, it gave me the following error: > > > > cc -I../../../../include -Wall mm_core_apis.c -L../../../../lib > -lltp > > -lmm -o mm_core_apis > > mm_core_apis.c:44:16: error: mm.h: No such file or directory > > mm_core_apis.c: In function 饿¦¤m_core_test01é¥?: > > mm_core_apis.c:110: warning: implicit declaration of function > > 饿¦¤m_core_createé¥? > > mm_core_apis.c:110: warning: pointer targets in assignment differ > in > > signedness > > mm_core_apis.c:112: warning: implicit declaration of function > 饿¦¤m_erroré¥? > > mm_core_apis.c:119: warning: implicit declaration of function > > 饿¦¤m_core_sizeé¥? > > mm_core_apis.c:147: warning: implicit declaration of function > > 饿¦¤m_core_deleteé¥? > > mm_core_apis.c: In function 饿¦¤m_core_test02é¥?: > > mm_core_apis.c:202: warning: pointer targets in assignment differ > in > > signedness > > mm_core_apis.c:222: warning: implicit declaration of function > > 饿¦¤m_core_locké¥? > > mm_core_apis.c:222: error: 饿¥³M_LOCK_RWé¥? undeclared (first > use in this > > function) > > mm_core_apis.c:222: error: (Each undeclared identifier is reported > only > > once > > mm_core_apis.c:222: error: for each function it appears in.) > > mm_core_apis.c:273: warning: implicit declaration of function > > 饿¦¤m_core_unlocké¥? > > make: *** [mm_core_apis] Error 1 > > > > > > Now i have again the following questions: > > > > 1) Has anybody tried to compile them before, > > 2) Is there any necessity to execute these tests now ? > > > > If yes, how do we solve this and integrate them ? And if not, can > we > > remove them ? > > > > Regards-- > > Subrata > > I looked into this case. It depends upon the libmm library > (http://www.ossp.org/pkg/lib/mm/). Afte instlled the mm-1.4.2.tar.gz > on > the ppc64, I could compile it well. But it failed in running. > > [EMAIL PROTECTED] libmm]# make > cc -I../../../../include -Wall mm_core_apis.c -L../../../../lib > -Wl,--rpath -Wl,/usr/local/lib -lltp -lmm -o mm_core_apis > mm_core_apis.c: In function âmm_core_test01â: > mm_core_apis.c:110: warning: pointer targets in assignment differ in > signedness > mm_core_apis.c: In function âmm_core_test02â: > mm_core_apis.c:202: warning: pointer targets in assignment differ in > signedness > [EMAIL PROTECTED] libmm]# ./mm_core_apis > mm_core_apis 0 INFO : Testing Low-Level Shared memory API > > mm_core_test01 0 INFO : test01: Testing Memory Segment Access > > mm_core_test01 0 INFO : test01: Creating 16KB shared memory > core > area > > mm_core_test01 0 INFO : test01: created shared mem of size: > 16384 > > mm_core_test01 0 INFO : test01: Writing 0xf5 bytes to memory > area > > mm_core_test01 0 INFO : test01: Reading 0xf5 bytes from memory > area > > mm_core_test01 0 INFO : Deleting shared memory segment. > > mm_core_test01 1 PASS : mm_core_test01: Testing Memory Segment > Access success > mm_core_test02 0 INFO : test02: Testing Memory Locking > > mm_core_test02 0 INFO : test02: Creating shared memory core > area > > mm_core_test02 0 INFO : test02: child: locking shared memory > > mm_core_test02 0 INFO : test02: child: lock accuired > > mm_core_test02 0 INFO : test02: child: writing 0xf4 to memory > > mm_core_test02 0 INFO : test02: parent: locking shared memory > > mm_core_test02 0 INFO : test02: child: check if parent could > overwrite mem > > mm_core_test02 2 FAIL : test02: child: parent wrote mem locked > by > child > > mm_core_test02 0 INFO : test02: parent: lock accuired > > mm_core_test02 0 INFO : test02: parent: writing 0xf5 to memory > > mm_core_test02 0 INFO : test02: parent: check if child could > overwrite mem > > mm_core_test02 0 INFO : test02: parent: child did not overwite > parent mem > > mm_core_test02 0 INFO : test02: parent: unlocking memory > > mm_core_test02 0 INFO : test02: parent: child exited with: 255 > > Thanks, > -- Jin Bing Guo > > This is probably a good candidate to move to testcases/TODO/? Cai Qian > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win > great prizes > > Grand prize is a trip for two to an Open Source event anywhere in > the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Ltp-list mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ltp-list > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
