unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Amol <suratiamol@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: [29.1] Symbol's function definition is void
Date: Thu, 28 Sep 2023 18:44:57 +0530	[thread overview]
Message-ID: <CA+nuEB96e3wBtUVPhGvniUABgfdQC5bR=wqKe2Bg_oHOQCTc+w@mail.gmail.com> (raw)

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	other threads:[~2023-09-28 13:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-28 13:14 Amol [this message]
2023-09-28 13:47 ` [29.1] Symbol's function definition is void Emanuel Berg
2023-09-28 13:59 ` Robert Pluim
2023-09-28 16:11   ` Amol
2023-09-29 13:37     ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+nuEB96e3wBtUVPhGvniUABgfdQC5bR=wqKe2Bg_oHOQCTc+w@mail.gmail.com' \
    --to=suratiamol@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).