Libgcrypt 1.3.1 fails to build from source on HPPA (undefined?reference to `__udiv_qrnnd')
Werner Koch
wk at gnupg.org
Mon Oct 29 21:25:51 CET 2007
On Mon, 29 Oct 2007 20:20, ametzler at downhill.at.eu.org said:
> ${target} seems to be empty when the script is invoked, see /mpi/asm-syntax.h.
Ah well, I forgot to fix it in mpi/config.links. Try this patch:
2007-10-29 Werner Koch <wk at g10code.com>
* config.links: No Candadian Cross here, thus use $host instead of
$target.
Index: mpi/config.links
===================================================================
--- mpi/config.links (revision 1265)
+++ mpi/config.links (working copy)
@@ -35,10 +35,10 @@
echo '/* created by config.links - do not edit */' >./mpi/asm-syntax.h
-echo "/* Target: ${target} */" >>./mpi/asm-syntax.h
+echo "/* Host: ${host} */" >>./mpi/asm-syntax.h
if test "$try_asm_modules" = "yes" ; then
-case "${target}" in
+case "${host}" in
powerpc-apple-darwin* | \
i[34567]86*-*-openbsd[12]* | \
i[34567]86*-*-openbsd3.[0123]*)
@@ -326,7 +326,7 @@
mpi_mod_list=
path=`echo "$mpi_extra_path $path generic" | tr ':' ' '`
echo '/* Created by config.links - do not edit */' >./mpi/mod-source-info.h
-echo "/* Target: ${target} */" >>./mpi/mod-source-info.h
+echo "/* Host: ${host} */" >>./mpi/mod-source-info.h
echo "static char mod_source_info[] =" >>./mpi/mod-source-info.h
for fn in $mpi_required_modules ; do
fnu=`echo $fn | sed 's/-/_/g'`
--
Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.
More information about the Gnupg-devel
mailing list