Çözüldü CPU you selected does not support x86-64 instruction set

Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

ercumerc19

Geliştirici
Geliştirici
MT Üye
Editör
Mesaj
428
Çözümler
19
Beğeni
878
Puan
839
Ticaret Puanı
0
Merhaba Mmotutkunlari üyeleri

Forumlardan bulduğum bir filesi denemek için kurduğumda game srcyi sorunsuz bir şekilde build ediyor fakat db src build işlemdinde aşağıdaki gibi bir hata alıyorum src build etmeden önce oyun sorunsuz şekilde açılıyordu src işlemini başlattığımda sunucuda açılmadı.Bunun sebebi ve çözümü nedir yardımcı olabilirmisiniz.


Db build hata:
Genişlet Daralt Kopyala
Config.cpp:1: error: CPU you selected does not support x86-64 instruction set
DBManager.cpp:1: error: CPU you selected does not support x86-64 instruction set
NetBase.cpp:1: error: CPU you selected does not support x86-64 instruction set
Main.cpp:1: error: CPU you selected does not support x86-64 instruction set
LoginData.cpp:1: error: CPU you selected does not support x86-64 instruction set
Peer.cpp:1: error: CPU you selected does not support x86-64 instruction set
ClientManager.cpp:1: error: CPU you selected does not support x86-64 instruction set
HB.cpp:1: error: CPU you selected does not support x86-64 instruction set
GuildManager.cpp:1: error: CPU you selected does not support x86-64 instruction set
PeerBase.cpp:1: error: CPU you selected does not support x86-64 instruction set
ClientManagerPlayer.cpp:1: error: CPU you selected does not support x86-64 instruction set
Cache.cpp:1: error: CPU you selected does not support x86-64 instruction set
Lock.cpp:1: error: CPU you selected does not support x86-64 instruction set
ClientManagerLogin.cpp:1: error: CPU you selected does not support x86-64 instruction set
MoneyLog.cpp:1: error: CPU you selected does not support x86-64 instruction set
PrivManager.cpp:1: error: CPU you selected does not support x86-64 instruction set
ClientManagerParty.cpp:1: error: CPU you selected does not support x86-64 instruction set
ClientManagerBoot.cpp:1: error: CPU you selected does not support x86-64 instruction set
ClientManagerGuild.cpp:1: error: CPU you selected does not support x86-64 instruction set
ItemAwardManager.cpp:1: error: CPU you selected does not support x86-64 instruction set
gmake: *** [Makefile:55: .obj/LoginData.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:55: .obj/PeerBase.o] Error 1
gmake: *** [Makefile:55: .obj/Peer.o] Error 1
gmake: *** [Makefile:55: .obj/Cache.o] Error 1
gmake: *** [Makefile:55: .obj/Lock.o] Error 1
gmake: *** [Makefile:55: .obj/NetBase.o] Error 1
gmake: *** [Makefile:55: .obj/ClientManagerBoot.o] Error 1
gmake: *** [Makefile:55: .obj/Config.o] Error 1
gmake: *** [Makefile:55: .obj/DBManager.o] Error 1
gmake: *** [Makefile:55: .obj/GuildManager.o] Error 1
gmake: *** [Makefile:55: .obj/HB.o] Error 1
gmake: *** [Makefile:55: .obj/Main.o] Error 1
gmake: *** [Makefile:55: .obj/MoneyLog.o] Error 1
gmake: *** [Makefile:55: .obj/ClientManager.o] Error 1
gmake: *** [Makefile:55: .obj/ClientManagerGuild.o] Error 1
gmake: *** [Makefile:55: .obj/ClientManagerParty.o] Error 1
gmake: *** [Makefile:55: .obj/ItemAwardManager.o] Error 1
gmake: *** [Makefile:55: .obj/ClientManagerPlayer.o] Error 1
gmake: *** [Makefile:55: .obj/ClientManagerLogin.o] Error 1
gmake: *** [Makefile:55: .obj/PrivManager.o] Error 1
 
Makefile:
Genişlet Daralt Kopyala
MAKE = gmake
CC = g++

INCDIR =
LIBDIR =
BINDIR = ..
OBJDIR = .obj
INSTALL_DIR = /usr/game

GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3  | cut -d'.' -f1)
BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
P4_VERSION = 40153
WOLF_ENABLE = lycan
$(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)

TARGET = $(BINDIR)/db

CFLAGS = -g -Wall -O2 -pipe -fno-rtti -fno-exceptions -D_THREAD_SAFE -mtune=i386 -pthread

# boost
INCDIR += -I../../../Extern/include

LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib

ifeq ($(BSD_VERSION), 7)
INCDIR += -I../../libmysql/7.x-5.1.35
LIBDIR += -L../../libmysql/7.x-5.1.35
else
INCDIR += -I../../libmysql/5.x-5.1.35
LIBDIR += -L../../libmysql/5.x-5.1.35
endif

LIBS = -lthecore -lmysqlclient -lsql -lpoly -lgame -lm -lz

SRCS =    Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp \
        Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp \
        ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp \
        PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp \
        Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp \
        ProtoReader.cpp CsvReader.cpp

OBJS = $(SRCS:%.cpp=$(OBJDIR)/%.o)

default: $(TARGET)

$(TARGET): $(OBJS)
    @echo ----   Compile basarili bir sekilde tamamlandi. ----
    @echo ----   TR SERVER GAME: $(TARGET).... Tamamlandı
    @echo -------------------------------------------------
    @$(CC) -w $(CFLAGS) $(LIBDIR) $(OBJS) $(LIBS) -o $(TARGET)
    @touch version.cpp

$(OBJDIR)/%.o: %.cpp
    @echo Compile: $<
    @$(CC) -w $(CFLAGS) $(INCDIR) -c $< -o $@

$(OBJDIR)/version.o: version.cpp
    @$(CC) -w $(CFLAGS) -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__P4_VERSION__=\"$(P4_VERSION)\" -c $< -o $@
    @echo Compile: $<

$(OBJDIR):
    @mkdir $(OBJDIR)

clean:
    @rm -f $(OBJS) $(BINDIR)/db_r*
    
install:
    rm -rf $(SRV_DIR)/share/db
    cp $(MAIN_TARGET) $(SRV_DIR)/share/db

dep:
    @touch Depend
    makedepend -fDepend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(SRCS) 2> /dev/null

sinclude Depend
 
Makefile:
Genişlet Daralt Kopyala
CFLAGS = -g -Wall -O2 -pipe -fno-rtti -fno-exceptions -D_THREAD_SAFE -mtune=i386 -pthread

Buraya şunu ekleyip deneyebilir misiniz?
Makefile:
Genişlet Daralt Kopyala
CFLAGS = -m32 -g -Wall -O2 -pipe -fno-rtti -fno-exceptions -D_THREAD_SAFE -mtune=i386 -pthread
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst