CMU-SAFARI / rowhammer

Source code for testing the Row Hammer error mechanism in DRAM devices. Described in the ISCA 2014 paper by Kim et al. at http://users.ece.cmu.edu/~omutlu/pub/dram-row-hammer_isca14.pdf.
GNU General Public License v2.0
214 stars 42 forks source link

make iso bug #3

Open mahdimohajeri opened 8 years ago

mahdimohajeri commented 8 years ago

Hi there. I get lots errors & warnings after make iso instruction. It doesn't make the iso file. Could you fix it? init.o: In function outsb': init.c:(.text+0x12d): multiple definition ofoutsb' test.o:test.c:(.text+0x0): first defined here init.o: In function outsw': init.c:(.text+0x16b): multiple definition ofoutsw' test.o:test.c:(.text+0x34): first defined here init.o: In function outsl': init.c:(.text+0x1aa): multiple definition ofoutsl' test.o:test.c:(.text+0x69): first defined here lib.o: In function outsb': lib.c:(.text+0x78): multiple definition ofoutsb' test.o:test.c:(.text+0x0): first defined here lib.o: In function outsw': lib.c:(.text+0xb6): multiple definition ofoutsw' test.o:test.c:(.text+0x34): first defined here lib.o: In function outsl': lib.c:(.text+0xf5): multiple definition ofoutsl' test.o:test.c:(.text+0x69): first defined here pci.o: In function outsb': pci.c:(.text+0xf0): multiple definition ofoutsb' test.o:test.c:(.text+0x0): first defined here pci.o: In function outsw': pci.c:(.text+0x12e): multiple definition ofoutsw' test.o:test.c:(.text+0x34): first defined here pci.o: In function outsl': pci.c:(.text+0x16d): multiple definition ofoutsl' test.o:test.c:(.text+0x69): first defined here spd.o: In function outsb': spd.c:(.text+0x51): multiple definition ofoutsb' test.o:test.c:(.text+0x0): first defined here spd.o: In function outsw': spd.c:(.text+0x8f): multiple definition ofoutsw' test.o:test.c:(.text+0x34): first defined here spd.o: In function outsl': spd.c:(.text+0xce): multiple definition ofoutsl' test.o:test.c:(.text+0x69): first defined here recipe for target 'memtest_shared' failed make: *\ [memtest_shared] Error 1

sbeidao commented 7 years ago

You can add -fgnu89-inline to the makefile. It seems to be the reason of your high version of g++