wxwabbitemu icon indicating copy to clipboard operation
wxwabbitemu copied to clipboard

Unable to make - final link fails

Open ParzivalWolfram opened this issue 5 years ago • 8 comments

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.

make.log

ParzivalWolfram avatar Dec 07 '18 19:12 ParzivalWolfram

Try adding -fPIC to the CCFLAGS/CXXFLAGS when building, e.g. make CCFLAGS=-fPIC CXXFLAGS=-fPIC and see if that helps you at all.

alberthdev avatar Dec 08 '18 19:12 alberthdev

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 .

ParzivalWolfram avatar Dec 10 '18 18:12 ParzivalWolfram

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 .

ParzivalWolfram avatar Dec 10 '18 18:12 ParzivalWolfram

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...

alberthdev avatar Dec 12 '18 12:12 alberthdev

This did not seem to work for me :(

Eeems avatar Jun 02 '20 14:06 Eeems

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.

alberthdev avatar Jun 03 '20 04:06 alberthdev

image

Eeems avatar Jun 03 '20 16:06 Eeems

Newest commits fix this for me :)

Eeems avatar Jun 04 '20 03:06 Eeems