Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make iso bug #3

Open
mahdimohajeri opened this issue Jul 28, 2016 · 1 comment
Open

make iso bug #3

mahdimohajeri opened this issue Jul 28, 2016 · 1 comment

Comments

@mahdimohajeri
Copy link

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

sbeidao commented Dec 28, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants