GNU bug report logs -
#60236
[4.9] Link error on MinGW cross compile Linux -> Windows
Previous Next
To reply to this bug, email your comments to 60236 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-sed <at> gnu.org
:
bug#60236
; Package
sed
.
(Wed, 21 Dec 2022 07:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Frank Büttner <frank.buettner <at> mdc-berlin.de>
:
New bug report received and forwarded. Copy sent to
bug-sed <at> gnu.org
.
(Wed, 21 Dec 2022 07:30:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
the version 4.9 will compile, but the link part will fails with:
make[2]: Entering directory '/builddir/build/BUILD/sed-4.9/build_win64'
x86_64-w64-mingw32-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions --param=ssp-buffer-size=4 -fstack-protector -lssp -o
sed/sed.exe sed/sed-compile.o sed/sed-debug.o sed/sed-execute.o
sed/sed-mbcs.o sed/sed-regexp.o sed/sed-sed.o sed/sed-utils.o
sed/libver.a lib/libsed.a
make[2]: Leaving directory '/builddir/build/BUILD/sed-4.9/build_win64'
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/../../../../x86_64-w64-mingw32/bin/ld:
lib/libsed.a(libsed_a-getrandom.o): in function `getrandom':
/builddir/build/BUILD/sed-4.9/build_win64/../lib/getrandom.c:128:
undefined reference to `BCryptGenRandom'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3154: sed/sed.exe] Error 1
make[1]: *** [Makefile:5237: all-recursive] Error 1
make: *** [Makefile:2761: all] Error 2
Build OS: Fedora 36 64 bit
Target: Windows 64 bit
I have added the list with the used packages and the full build log.
Or make I something complete wrong at the build?
Thanks for help.
Frank
--
*Frank Büttner*
IT
MDC Berlin-Buch
Max-Delbrück-Centrum für Molekulare Medizin in der Helmholtz-Gemeinschaft
Robert-Rössle-Straße 10
13125 Berlin
☎ +49 30 9406 2038
℻ +49 30 9406 2599
✉ frank.buettner <at> mdc-berlin.de
[installed_pkgs.log (text/x-log, attachment)]
[build.log (text/x-log, attachment)]
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-sed <at> gnu.org
:
bug#60236
; Package
sed
.
(Tue, 27 Dec 2022 10:45:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 60236 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
It looks like, an "-lbryrpt" is missing in the linker config.
because ./configure .. LIBS=-lbcrypt
will fix it.
--
*Frank Büttner*
IT
MDC Berlin-Buch
Max-Delbrück-Centrum für Molekulare Medizin in der Helmholtz-Gemeinschaft
Robert-Rössle-Straße 10
13125 Berlin
☎ +49 30 9406 2038
℻ +49 30 9406 2599
✉ frank.buettner <at> mdc-berlin.de
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-sed <at> gnu.org
:
bug#60236
; Package
sed
.
(Tue, 27 Dec 2022 13:25:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 60236 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
It looks like, an "-lbryrpt" is missing in the linker config.
because ./configure .. LIBS=-lbcrypt
will fix it.
--
*Frank Büttner*
IT
MDC Berlin-Buch
Max-Delbrück-Centrum für Molekulare Medizin in der Helmholtz-Gemeinschaft
Robert-Rössle-Straße 10
13125 Berlin
☎ +49 30 9406 2038
℻ +49 30 9406 2599
✉ frank.buettner <at> mdc-berlin.de
[smime.p7s (application/pkcs7-signature, attachment)]
This bug report was last modified 2 years and 1 day ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.