-
Notifications
You must be signed in to change notification settings - Fork 142
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
/usr/bin/ld: cannot use executable file 'payload.o' as input to a link #15
Comments
hi, this problem has been fixed. The main issue of the bad input is that Add -r(output to be a relocatable file) in the I will push a request later. |
hi, just got common issue, i cannat no more inport sdio.h or any other library but how to implement that -r, tryied to add on gcc but doesent work, any help? |
like this : payload.o: payload.ld guest16.o guest32.img.o guest64.img.o
$(LD) -r -T $< -o $@ |
Hi,
when the makefile is executed to
a error comes
/usr/bin/ld: cannot use executable file 'payload.o' as input to a link
ld version is
GNU ld (GNU Binutils) 2.36.1
Are there any good ideas to fix this?
thanks.
The text was updated successfully, but these errors were encountered: