Ticket #39493

Patch: src/Makefile.am missing escaped newline and term.c

Eröffnet am: 2019-08-20 19:00 Letztes Update: 2021-01-01 20:08

Auswertung:
(Anonym)
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
(Keine)
Priorität:
1 - Unterste
Schweregrad:
1 - Unterste
Lösung:
Gefixt
Datei:
Keine

Details

On MacOS X 10.14.6, generated the configure script by running autoreconf and automake --add-missing . Then ran ./configure --disable-japanese and make. make failed due to missing symbols when linking. Modifying src/Makefile.am to escape a newline after spells.h and add term.c and term.h to the list of source files fixed the problem. Below are the changes to src/Makefile.am as reported by git diff.

diff --git a/src/Makefile.am b/src/Makefile.am
index 2443279c..99ea8ea7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -69,7 +69,7 @@ hengband_SOURCES = \
        \
        rumor.h rumor.c \
        \
-       spells.h
+       spells.h \
        spells1.c spells2.c spells3.c \
        spells-diceroll.c spells-diceroll.h \
        spells-floor.c spells-floor.h \
@@ -79,7 +79,7 @@ hengband_SOURCES = \
        spells-world.c spells-world.h \
        \
        sort.c sort.h \
-       store.h store.c tables.c trap.c trap.h types.h util.c \
+       store.h store.c tables.c term.c term.h trap.c trap.h types.h util.c \
        variable.c wild.h wild.c wizard1.c wizard2.c \
        warning.c warning.h world.c world.h \
        \

Ticket-Verlauf (3/4 Historien)

2019-08-20 19:00 Aktualisiert von: None
  • New Ticket "Patch: src/Makefile.am missing escaped newline and term.c" created
2019-09-11 00:33 Aktualisiert von: deskull
2019-10-26 19:50 Aktualisiert von: deskull
  • Status Update from Offen to Geschlossen
2021-01-01 20:08 Aktualisiert von: deskull

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden