help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[29.1] Symbol's function definition is void


From: Amol
Subject: [29.1] Symbol's function definition is void
Date: Thu, 28 Sep 2023 18:44:57 +0530

Hello,

The editor I built and installed locally fails (with or without -Q)
very early (/proc/pid/maps show no .eln loaded) at startup with
these errors:

Symbol's function definition is void: file-name-sans-extension
Symbol’s function definition is void: internal-echo-keystrokes-prefix

The editor seems to be stuck in a loop, all the while making the
system speaker beep in endless intervals. The process has to
be killed.

The flags --debug-init or --debug do not help.
There's no init.el in /home/user/.emacs.d/ folder.

The host system is running Arch Linux.
-----------------------------------------------------------------------------------------
Configuration and Build:

# Source downloaded from [1].

CFLAGS=-O3 ./configure --prefix=/home/user/tools/emacs \
--without-all --with-modules --with-native-compilation --with-zlib \
--without-x --without-json --with-dumping=none --without-sound \
--with-small-ja-dic --disable-build-details --without-sqlite3

# The output of the configuration command is at [2].

make
make install
-----------------------------------------------------------------------------------------
The symptoms are similar to those described in [3] and [4]. But,
since mine is a custom install, the file named `emacs` in the bin dir
of the installation is a sym-link to the ELF binary `emacs-29.1`;
there's no shell-script involved in launching the editor.

Interestingly, if the emacs binary, that gets built in the source folder,
`/home/user/src/emacs-29.1/src/emacs`, is run from that source
folder, the editor launches without any problems. That binary is also
exactly the same as that which gets installed upon 'make install`.

This same problem occurs with the editor built from the git sources
of the master branch, when built yesterday.

Is the configuration (especially the -O3 flag) a problem here?
Am I building the editor with an unsupported/invalid configuration?

Thank you,
Amol Surati
-----------------------------------------------------------------------------------------
[1] http://ftp.gnu.org/gnu/emacs/emacs-29.1.tar.xz
[2] https://pastebin.com/G3jDsfgR
[3] https://lists.gnu.org/r/bug-gnu-emacs/2016-11/msg00403.html
[4] 
https://old.reddit.com/r/openSUSE/comments/15jkrut/emacs_29111_breaks_after_last_update/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]