Ticket #39493

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

Date d'ouverture: 2019-08-20 19:00 Dernière mise à jour: 2021-01-01 20:08

Rapporteur:
(Anonyme)
Propriétaire:
Type:
État:
Atteints
Composant:
(Aucun)
Priorité:
1 - le plus bas
Sévérité:
1 - le plus bas
Résolution:
Fixed
Fichier:
Aucun

Détails

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 History (3/4 Histories)

2019-08-20 19:00 Updated by: None
  • New Ticket "Patch: src/Makefile.am missing escaped newline and term.c" created
2019-09-11 00:33 Updated by: deskull
2019-10-26 19:50 Updated by: deskull
  • État Update from Ouvert to Atteints
2021-01-01 20:08 Updated by: deskull

Attachment File List

No attachments

Modifier

Please login to add comment to this ticket » Connexion