Subject: Build failure

From: David Ponce <[email-masked]>
Date: Sat, 30 Mar 2024 16:26:28 +0100

Same error here:

   CCLD     temacs

/usr/bin/ld: emacs.o: in function `main':
/home/dponce/installs/emacs/src/emacs.c:2478: undefined reference to `syms_of_json'
collect2: error: ld returned 1 exit status
   make[3]: *** [Makefile:739: temacs] Error  1
   make[2]: *** [Makefile:554: src] Error  2
   make[1]: *** [Makefile:1293: actual-bootstrap] Error  2

It seems that the json.c file is no more compiled after this commit:

author	Mattias Engdegård <[email-masked]>	2024-03-30 15:13:24 +0100
committer	Mattias Engdegård <[email-masked]>	2024-03-30 15:19:56 +0100
commit	1135ce461d188869e0294af45641edc2cbfacbf0 (patch)
tree	fe0c7ec4113ac62c6ab0d28b9bc8bc81dc005906
parent	890edfd2bb8fd79730919972cc82811b73c7f572 (diff)
download	emacs-1135ce461d188869e0294af45641edc2cbfacbf0.tar.gz
Always enable native JSON support and remove Jansson referencesHEADmaster
* src/json.c (Fjson__available_p): Remove.
* lisp/subr.el (json-available-p): Always return t.
* admin/nt/dist-build/build-dep-zips.py:
* configure.ac:
* doc/lispref/text.texi (Parsing JSON):
* java/INSTALL:
* java/org/gnu/emacs/EmacsNative.java (EmacsNative):
* lisp/term/w32-win.el (dynamic-library-alist):
* m4/ndk-build.m4 (ndk_INIT):
* msdos/sed1v2.inp:
* nt/INSTALL:
* nt/INSTALL.W64:
* src/Makefile.in:
* src/emacs.c (main):
* src/lisp.h:
Remove JSON configuration options and references to it and Jansson from
documentation and build files.
* etc/NEWS: Announce.