all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Vilata i Balaguer <ivan@selidor.net>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: 53424@debbugs.gnu.org
Subject: bug#53424: tftp-hpa: Fails to build (multiple definition of 'toplevel' when linking)
Date: Sat, 22 Jan 2022 22:08:22 +0100	[thread overview]
Message-ID: <YexyRqzz9UxbzRXf@sax.terramar.selidor.net> (raw)
In-Reply-To: <87fspgzswh.fsf@nckx>

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

Tobias Geerinckx-Rice (2022-01-21 22:20:15 +0100) wrote:

> Hullo Ivan,
> 
> At a glance, this *looks* like what is frequently fixed by adding ‘-fcommon’
> to CFLAGS[0].  Worth a try…
> 
> Kind regards,
> 
> T G-R
> 
> [0]: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ab5d31c53eb06ced0873599a98c74dba80b46b1e

(Please note that I know very little about the GNU Build System.)

I downloaded the sources with `guix build --source tftp-hpa`, extracted them,
ran `guix environment -C --pure tftp-hpa` and in the environment `./configure
CFLAGS=-fcommon`, then `make` was able to build everything without error,
though warnings were still there.

Cheers,

-- 
Ivan Vilata i Balaguer -- https://elvil.net/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-01-22 21:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-21 21:06 bug#53424: tftp-hpa: Fails to build (multiple definition of 'toplevel' when linking) Ivan Vilata i Balaguer
2022-01-21 21:20 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-01-22 21:08   ` Ivan Vilata i Balaguer [this message]
2022-01-22 21:39     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-01-21 22:14 ` Maxime Devos

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

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

  git send-email \
    --in-reply-to=YexyRqzz9UxbzRXf@sax.terramar.selidor.net \
    --to=ivan@selidor.net \
    --cc=53424@debbugs.gnu.org \
    --cc=me@tobias.gr \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.