Yardım Makefile:139: recipe for target '../game_r40020' failed HATASI

  • Konuyu açan Konuyu açan efekan87
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 2
  • Gösterim Gösterim 254
Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

efekan87

Üye
Üye
Mesaj
7
Beğeni
1
Puan
50
Ticaret Puanı
0
/root/home/novaline/Srcs/Server/game/src kodlarım da bunlar:
Genişlet Daralt Kopyala
CC=gcc
CXX=g++

PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1)
BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)

default: libthecore libpoly libgame liblua libsql libserverkey game db
    @echo "--------------------------------------"
    @echo "Build Done"
    @echo "--------------------------------------"

libserverkey: .
    @touch $@/Depend
    $(MAKE) -C $@ dep
    $(MAKE) -C $@ clean
    $(MAKE) -C $@

liblua: .
    $(MAKE) -C $@ clean
    $(MAKE) -C $@

libsql: .
    @touch $@/Depend
    $(MAKE) -C $@ dep
    $(MAKE) -C $@ clean
    $(MAKE) -C $@

libgame: .
    @touch $@/src/Depend
    $(MAKE) -C $@/src dep
    $(MAKE) -C $@/src clean
    $(MAKE) -C $@/src

libpoly: .
    @touch $@/Depend
    $(MAKE) -C $@ dep
    $(MAKE) -C $@ clean
    $(MAKE) -C $@

libthecore: .
    @touch $@/src/Depend
    $(MAKE) -C $@/src dep
    $(MAKE) -C $@/src clean
    $(MAKE) -C $@/src

libserverkey: .
    @touch $@/Depend
    $(MAKE) -C $@ dep
    $(MAKE) -C $@ clean
    $(MAKE) -C $@

game: .
    @touch $@/src/Depend
    $(MAKE) -C $@/src dep
    $(MAKE) -C $@/src clean
    $(MAKE) -C $@/src limit_time
#    $(MAKE) -C $@/src

db: .
    @touch $@/src/Depend
    $(MAKE) -C $@/src dep
    $(MAKE) -C $@/src clean
#    $(MAKE) -C $@/src

Clean:
    $(MAKE) -C libserverkey clean
    $(MAKE) -C liblua clean
    $(MAKE) -C libsql clean
    $(MAKE) -C libgame/src clean
    $(MAKE) -C libpoly clean
    $(MAKE) -C libthecore/src clean
    $(MAKE) -C game/src clean
    $(MAKE) -C db/src clean
  

all:
    @echo "--------------------------------------"
    @echo "Full Build Start"
    @echo "--------------------------------------"

    $(MAKE) -C liblua clean
    $(MAKE) -C liblua

    @touch libsql/Depend
    $(MAKE) -C libsql dep
    $(MAKE) -C libsql clean
    $(MAKE) -C libsql

    @touch libgame/src/Depend
    $(MAKE) -C libgame/src dep
    $(MAKE) -C libgame/src clean
    $(MAKE) -C libgame/src

    @touch libpoly/Depend
    $(MAKE) -C libpoly dep
    $(MAKE) -C libpoly clean
    $(MAKE) -C libpoly

    @touch libthecore/src/Depend
    $(MAKE) -C libthecore/src dep
    $(MAKE) -C libthecore/src clean
    $(MAKE) -C libthecore/src

    @touch game/src/Depend
    $(MAKE) -C game/src dep
    $(MAKE) -C game/src clean
    $(MAKE) -C game/src limit_time
#    $(MAKE) -C game/src

    @touch db/src/Depend
    $(MAKE) -C db/src dep
    $(MAKE) -C db/src clean
#    $(MAKE) -C db/src

    @echo "--------------------------------------"
    @echo "Full Build End"
    @echo "--------------------------------------"
@Whistle ın 0dan files videosundaki adımları takip ederek devam ediyordum bir sorunla karşılaştım çözüm için yardım edebilir msiinz VİDEO 4 deyim şuan
kodEkran Alıntısı.webp

/root/home/novaline/Srcs/Server/makefile kodlarım aşağıdaki gibi:
Genişlet Daralt Kopyala
CC=gcc
CXX=g++

PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1)
BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)

default: libthecore libpoly libgame liblua libsql game db

    @echo "--------------------------------------"
    @echo "Build Done"
    @echo "--------------------------------------"



liblua: .
    $(MAKE) -C $@ clean
    $(MAKE) -C $@

libsql: .
    @touch $@/Depend
    $(MAKE) -C $@ dep
    $(MAKE) -C $@ clean
    $(MAKE) -C $@

libgame: .
    @touch $@/src/Depend
    $(MAKE) -C $@/src dep
    $(MAKE) -C $@/src clean
    $(MAKE) -C $@/src

libpoly: .
    @touch $@/Depend
    $(MAKE) -C $@ dep
    $(MAKE) -C $@ clean
    $(MAKE) -C $@

libthecore: .
    @touch $@/src/Depend
    $(MAKE) -C $@/src dep
    $(MAKE) -C $@/src clean
    $(MAKE) -C $@/src

libserverkey: .
    @touch $@/Depend
    $(MAKE) -C $@ dep
    $(MAKE) -C $@ clean
    $(MAKE) -C $@

game: .
    @touch $@/src/Depend
    $(MAKE) -C $@/src dep
    $(MAKE) -C $@/src clean
    $(MAKE) -C $@/src limit_time
    $(MAKE) -C $@/src

db: .
    @touch $@/src/Depend
    $(MAKE) -C $@/src dep
    $(MAKE) -C $@/src clean
    $(MAKE) -C $@/src

clean: .
    $(MAKE) -C liblua clean
    $(MAKE) -C libsql clean
    $(MAKE) -C libgame/src clean
    $(MAKE) -C libpoly clean
    $(MAKE) -C libthecore/src clean
    $(MAKE) -C game/src clean
    $(MAKE) -C db/src clean

all:
    @echo "--------------------------------------"
    @echo "Full Build Start"
    @echo "--------------------------------------"

    $(MAKE) -C liblua clean
    $(MAKE) -C liblua

    @touch libsql/Depend
    $(MAKE) -C libsql dep
    $(MAKE) -C libsql clean
    $(MAKE) -C libsql

    @touch libgame/src/Depend
    $(MAKE) -C libgame/src dep
    $(MAKE) -C libgame/src clean
    $(MAKE) -C libgame/src

    @touch libpoly/Depend
    $(MAKE) -C libpoly dep
    $(MAKE) -C libpoly clean
    $(MAKE) -C libpoly

    @touch libthecore/src/Depend
    $(MAKE) -C libthecore/src dep
    $(MAKE) -C libthecore/src clean
    $(MAKE) -C libthecore/src

    @touch game/src/Depend
    $(MAKE) -C game/src dep
    $(MAKE) -C game/src clean
    $(MAKE) -C game/src limit_time
    $(MAKE) -C game/src

    @touch db/src/Depend
    $(MAKE) -C db/src dep
    $(MAKE) -C db/src clean
    $(MAKE) -C db/src

    @echo "--------------------------------------"
    @echo "Full Build End"
    @echo "--------------------------------------"
 
Buradan değişiklik yaptığınız dosyalar ile winmerge ile karşılaştırma yapabilirsiniz. Böylelikle daha rahat bulabilirsiniz.

Linkleri görebilmek için giriş yap veya kayıt ol.
videoda novalinedaki hataları düzeltirken mainlinea bakarak düzeltiyordunuz öyle mi yapmalıyım
 
Geri
Üst