wxwabbitemu
wxwabbitemu copied to clipboard
Unable to make - final link fails
Make process fails, due to switches that are incorrect. See attached log.
(Log also shows other code issues.)
I am on Fedora 28, 64-bit, kernel 4.19.4-200.
Try adding -fPIC to the CCFLAGS/CXXFLAGS when building, e.g. make CCFLAGS=-fPIC CXXFLAGS=-fPIC
and see if that helps you at all.
Didn't fix. Same issue.
On Sat, Dec 8, 2018 at 1:36 PM Albert Huang [email protected] wrote:
Try adding -fPIC to the CCFLAGS/CXXFLAGS when building, e.g. make CCFLAGS=-fPIC CXXFLAGS=-fPIC and see if that helps you at all.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alberthdev/wxwabbitemu/issues/9#issuecomment-445484269, or mute the thread https://github.com/notifications/unsubscribe-auth/AcnhQcAiZoI7udt8vKIpHbBWPMOxaQj8ks5u3BTLgaJpZM4ZJBpr .
I had to directly add it to the Makefile to get it to work.
On Mon, Dec 10, 2018 at 12:47 PM Parzival Wolfram [email protected] wrote:
Didn't fix. Same issue.
On Sat, Dec 8, 2018 at 1:36 PM Albert Huang [email protected] wrote:
Try adding -fPIC to the CCFLAGS/CXXFLAGS when building, e.g. make CCFLAGS=-fPIC CXXFLAGS=-fPIC and see if that helps you at all.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alberthdev/wxwabbitemu/issues/9#issuecomment-445484269, or mute the thread https://github.com/notifications/unsubscribe-auth/AcnhQcAiZoI7udt8vKIpHbBWPMOxaQj8ks5u3BTLgaJpZM4ZJBpr .
Interesting that you'd have to add it directly... glad to hear that it's working for you now!
The alternative is that Premake provides some sort of option to let you specify those flags, potentially...
This did not seem to work for me :(
Tossed in an experimental CMake + Meson build spec for this: https://github.com/alberthdev/wxwabbitemu/commit/cca4d55
Please try it out! It's likely that one of these will replace premake as the build system for this project.
Newest commits fix this for me :)