unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* [29.1] Symbol's function definition is void
@ 2023-09-28 13:14 Amol
  2023-09-28 13:47 ` Emanuel Berg
  2023-09-28 13:59 ` Robert Pluim
  0 siblings, 2 replies; 5+ messages in thread
From: Amol @ 2023-09-28 13:14 UTC (permalink / raw)
  To: help-gnu-emacs

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/



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-29 13:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-28 13:14 [29.1] Symbol's function definition is void Amol
2023-09-28 13:47 ` Emanuel Berg
2023-09-28 13:59 ` Robert Pluim
2023-09-28 16:11   ` Amol
2023-09-29 13:37     ` Emanuel Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).