openwrt / video

56 stars 41 forks source link

the MIPS1 architecture is not supported #5

Closed Dhouha-ma closed 4 years ago

Dhouha-ma commented 8 years ago

../../include/QtCore/../../src/corelib/arch/qatomic_mips.h:98:3: error: #error "Sorry, the MIPS1 architecture is not supported" ../../include/QtCore/../../src/corelib/arch/qatomic_mips.h:99:3: error: #error "please set '-march=' to your architecture (e.g., -march=mips32)" make[5]: *\ [.obj/qabstractanimation.o] Error 1

what is this due to ?

teknoraver commented 8 years ago

MIPS1 is very old, maybe your flags should be -mips32? what machine do you have?

Dhouha-ma commented 8 years ago

i changed it to -mips32 but it still the same what machine ?

i'm working on ubuntu 14.04 for 64bit and even on 32bit (on my virtual machine)

teknoraver commented 8 years ago

there are some wrong compilation flags if you are including qatomic_mips.h on an x86 machine, or are you cross compiling for some embedded device?

Dhouha-ma commented 8 years ago

yes i'm cross compiling

i didn't get it what's the problem ?

teknoraver commented 8 years ago

are you cross compiling for what architecture?

Dhouha-ma commented 8 years ago

cross compiling for MIPS

Dhouha-ma commented 8 years ago

what to do to fix this ?

teknoraver commented 8 years ago

check your CFLAGS, sure they are missing -mips32 or wathever

Dhouha-ma commented 8 years ago

i'm compiling only qt5base and i didn't change anything on its Makefile so plz where to add the -mips32 ? or anything that fix this issue

mirko commented 4 years ago

I had Qt5 running on mips back then - if you're still interested and wanna give it a try with Qt5.15 I'm happy to provide assistance - this time for real!