Skip to contentSkip to conversation

memory_hotplug tests are not compiling properly

LTP Munipradeep Beerakam 3 participants 5 messages Feb 11, 2010 – Feb 18, 2010

lore
Share & tools
lore
#0 lore raw

Hi Rishi,

I am unable to compile the memory_hotplug tests in LTP Sep 2009 release. I am getting the below error.

################################################
cc -std=gnu99 -O2 -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES -c -o
memtoy.o memtoy.c
cc -std=gnu99 -O2 -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES -c -o
commands.o commands.c
In file included from commands.c:45:
migrate_pages.h:10: error: conflicting types for ‘migrate_pages’ /usr/include/numaif.h:17: error: previous declaration of ‘migrate_pages’ was here
make: *** [commands.o] Error 1
################################################

Even the patch is not applying properly.

@All, Any help is appreciated.

Thanks
Muni

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 17 lines · Munipradeep Beerakam

Hi Rishi,

I am unable to compile the memory_hotplug tests in LTP Sep 2009 release. I am getting the below error.

################################################
cc -std=gnu99 -O2 -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES -c -o
memtoy.o memtoy.c
cc -std=gnu99 -O2 -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES -c -o
commands.o commands.c
In file included from commands.c:45:
migrate_pages.h:10: error: conflicting types for ‘migrate_pages’ /usr/include/numaif.h:17: error: previous declaration of ‘migrate_pages’ was here
make: *** [commands.o] Error 1
################################################

Quoted 3 lines

Even the patch is not applying properly.

@All, Any help is appreciated.

Hi Muni,

Please use latest ltp, as i have seen some changes has gone from garret for fixinf compilation issues.

Thanks
Rishi

Quoted 4 lines

Thanks
Muni

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 18 lines · Rishikesh K Rajak
Quoted 17 lines · Munipradeep Beerakam

Hi Rishi,

I am unable to compile the memory_hotplug tests in LTP Sep 2009 release. I am getting the below error.

################################################
cc -std=gnu99 -O2  -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES     -c -o memtoy.o memtoy.c
cc -std=gnu99 -O2  -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES     -c -o commands.o commands.c
In file included from commands.c:45:
migrate_pages.h:10: error: conflicting types for ‘migrate_pages’ /usr/include/numaif.h:17: error: previous declaration of ‘migrate_pages’ was here
make: *** [commands.o] Error 1
################################################

Quoted 6 lines
Quoted 3 lines

Even the patch is not applying properly.

@All, Any help is appreciated.

Hi Muni,

Please use latest ltp, as i have seen some changes has gone from garret for fixinf compilation issues.

Thanks for heading up the question Rishi. Yes Muni, I've made some
changes with this source and it needs to be migrated back into the original source as the project is still alive, and any and all changes that make functional sense should be migrated back upstream. We might want to sync down a later version, as I think that the maintainer integrated autoconf into the project and it would make functional sense to have a more updated / less buggy version of this test tool. Cheers,
-Garrett

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#3 lore raw
In reply to Rishikesh K Rajak
Quoted 18 lines · Rishikesh K Rajak
Quoted 17 lines · Munipradeep Beerakam

Hi Rishi,

I am unable to compile the memory_hotplug tests in LTP Sep 2009 release. I am getting the below error.

################################################
cc -std=gnu99 -O2 -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES -c -o
memtoy.o memtoy.c
cc -std=gnu99 -O2 -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES -c -o
commands.o commands.c
In file included from commands.c:45:
migrate_pages.h:10: error: conflicting types for ‘migrate_pages’ /usr/include/numaif.h:17: error: previous declaration of ‘migrate_pages’ was here
make: *** [commands.o] Error 1
################################################

Quoted 6 lines
Quoted 3 lines

Even the patch is not applying properly.

@All, Any help is appreciated.

Hi Muni,

Please use latest ltp, as i have seen some changes has gone from garret for fixinf compilation issues.

Hi Muni,
Let us know if you get a chance to test with latest CVS or ltp-full-20100131.1.tgz ?

Thanks for your support.

Muni

Quoted 7 lines

Thanks
Rishi

Quoted 4 lines

Thanks
Muni

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#4 lore raw

Hi Rishi,

With Jan 2010 build memtoy is working fine

Thanks
Muni

Quoted 26 lines · Rishikesh K Rajak
Quoted 18 lines · Rishikesh K Rajak
Quoted 17 lines · Munipradeep Beerakam

Hi Rishi,

I am unable to compile the memory_hotplug tests in LTP Sep 2009 release. I am getting the below error.

################################################
cc -std=gnu99 -O2 -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES -c -o
memtoy.o memtoy.c
cc -std=gnu99 -O2 -D_GNU_SOURCE -D_NEED_MIGRATE_PAGES -c -o
commands.o commands.c
In file included from commands.c:45:
migrate_pages.h:10: error: conflicting types for ‘migrate_pages’ /usr/include/numaif.h:17: error: previous declaration of ‘migrate_pages’ was here
make: *** [commands.o] Error 1
################################################

Quoted 6 lines
Quoted 3 lines

Even the patch is not applying properly.

@All, Any help is appreciated.

Hi Muni,

Please use latest ltp, as i have seen some changes has gone from garret for fixinf compilation issues.

Quoted 14 lines

Hi Muni,
Let us know if you get a chance to test with latest CVS or ltp-full-20100131.1.tgz ?

Thanks for your support.

Muni

Quoted 7 lines

Thanks
Rishi

Quoted 4 lines

Thanks
Muni

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list