From: Jon Turney <jon.turney@dronecode.org.uk>
To: "cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>
Subject: Re: setup build failure
Date: Tue, 5 Oct 2021 18:02:02 +0100 [thread overview]
Message-ID: <6539c015-3e88-0118-bf86-626509acebcf@dronecode.org.uk> (raw)
In-Reply-To: <b9e854bf-6602-327e-c99c-f1b22c22db10@cornell.edu>
On 05/10/2021 17:29, Ken Brown via Cygwin-apps wrote:
> The current setup sources fail to build because ~StringChoiceOption is
> not defined:
>
> CXXLD setup.exe
> /usr/lib/gcc/x86_64-w64-mingw32/11/../../../../x86_64-w64-mingw32/bin/ld: io_stream_cygfile.o:/home/kbrown/src/cygsetup/x86_64/../setup/io_stream_cygfile.cc:40:
> undefined reference to `StringChoiceOption::~StringChoiceOption()'
> /usr/lib/gcc/x86_64-w64-mingw32/11/../../../../x86_64-w64-mingw32/bin/ld: io_stream_cygfile.o:/home/kbrown/src/cygsetup/x86_64/../setup/io_stream_cygfile.cc:43:
> undefined reference to
> `StringChoiceOption::StringChoiceOption(std::vector<std::pair<char
> const*, int>, std::allocator<std::pair<char const*, int> > >, char, char
> const*, std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, bool, int, int)'
> /usr/lib/gcc/x86_64-w64-mingw32/11/../../../../x86_64-w64-mingw32/bin/ld: main.o:/home/kbrown/src/cygsetup/x86_64/../setup/main.cc:107:
> undefined reference to `StringChoiceOption::~StringChoiceOption()'
> /usr/lib/gcc/x86_64-w64-mingw32/11/../../../../x86_64-w64-mingw32/bin/ld: main.o:/home/kbrown/src/cygsetup/x86_64/../setup/main.cc:107:
> undefined reference to
> `StringChoiceOption::StringChoiceOption(std::vector<std::pair<char
> const*, int>, std::allocator<std::pair<char const*, int> > >, char, char
> const*, std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, bool, int, int)'
> collect2: error: ld returned 1 exit status
You need to autoreconf in the libgetopt++ subdir (the simplest way is
just to re-run the top-level bootstrap.sh script)
I'm not sure why the necessary autofoolery doesn't happen automatically.
prev parent reply other threads:[~2021-10-05 17:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-05 16:29 Ken Brown
2021-10-05 17:02 ` Jon Turney [this message]
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=6539c015-3e88-0118-bf86-626509acebcf@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin-apps@cygwin.com \
/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).