Re: Circular dependency with glibc libpthread libihash

2014-05-31 Thread Ludovic Courtès
Samuel Thibault skribis: > Ludovic Courtès, le Fri 30 May 2014 17:29:27 +0200, a écrit : >> Manolis Ragkousis skribis: >> >> > I had to put one more line after AC_NO_EXECUTABLES, otherwise it would >> > fail with >> >>> syntax error near unexpected token `fi'. >> >> AC_NO_EXECUTABLES expands

Re: Circular dependency with glibc libpthread libihash

2014-05-30 Thread Samuel Thibault
Ludovic Courtès, le Fri 30 May 2014 17:29:27 +0200, a écrit : > Manolis Ragkousis skribis: > > > I had to put one more line after AC_NO_EXECUTABLES, otherwise it would fail > > with > >>> syntax error near unexpected token `fi'. > > AC_NO_EXECUTABLES expands to nothing, hence the error. It see

Re: Circular dependency with glibc libpthread libihash

2014-05-30 Thread Ludovic Courtès
Manolis Ragkousis skribis: > I had to put one more line after AC_NO_EXECUTABLES, otherwise it would fail > with >>> syntax error near unexpected token `fi'. AC_NO_EXECUTABLES expands to nothing, hence the error. It seems that we don’t even have to use it in a conditional. Ludo’.

Re: Circular dependency with glibc libpthread libihash

2014-05-29 Thread Samuel Thibault
Manolis Ragkousis, le Thu 29 May 2014 21:01:02 +, a écrit : > Works like a charm. Good, applied, thanks! Samuel

Re: Circular dependency with glibc libpthread libihash

2014-05-29 Thread Manolis Ragkousis
> Could you try > > AC_MSG_WARN("cross-compiling, disabling linking") > > ? diff --git a/configure.ac b/configure.ac index ecabfdf..7ede6db 100644 --- a/configure.ac +++ b/configure.ac @@ -83,6 +83,13 @@ AC_PROG_INSTALL AC_PROG_AWK AC_PROG_SED +if test "x$cross_compiling" = "xyes"; then + # I

Re: Circular dependency with glibc libpthread libihash

2014-05-29 Thread Samuel Thibault
Manolis Ragkousis, le Wed 28 May 2014 18:47:57 +, a écrit : > I sent the mail by mistake incomplete, I am sorry. > > > Could you try this patch for the Hurd’s configure.in? > > I had to put one more line after AC_NO_EXECUTABLES, otherwise it would fail > with > >> syntax error near unexpecte

Re: Circular dependency with glibc libpthread libihash

2014-05-28 Thread Manolis Ragkousis
I sent the mail by mistake incomplete, I am sorry. > Could you try this patch for the Hurd’s configure.in? I had to put one more line after AC_NO_EXECUTABLES, otherwise it would fail with >> syntax error near unexpected token `fi'. Other than that it works as expected for me. diff --git a/config

Re: Circular dependency with glibc libpthread libihash

2014-05-28 Thread Manolis Ragkousis
> Could you try this patch for the Hurd’s configure.in? I had to put one more line after AC_NO_EXECUTABLES, otherwise it would fail with >> syntax error near unexpected token `fi'.

Re: Circular dependency with glibc libpthread libihash

2014-04-11 Thread Ludovic Courtès
Manolis Ragkousis skribis: > 0:00 Ludovic Courtès : >> >> Could you show what test tries to compile a program? (Send config.log.) >> > > Here it is Thanks. > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It w

Re: Circular dependency with glibc libpthread libihash

2014-04-11 Thread Manolis Ragkousis
0:00 Ludovic Courtès : > > Could you show what test tries to compile a program? (Send config.log.) > Here it is This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU Hurd configure 0.5, which was genera

Re: Circular dependency with glibc libpthread libihash

2014-04-11 Thread Ludovic Courtès
Manolis Ragkousis skribis: > When libpthread tries to link against "libihash.so" I get the error: > > /lib/libihash.so: file not recognized: File format not recognized. > > This happens because libihash was built using the native compiler. > So I changed the flag in libihash configure to "--host"

Re: Circular dependency with glibc libpthread libihash

2014-04-10 Thread Samuel Thibault
Manolis Ragkousis, le Fri 11 Apr 2014 00:03:40 +, a écrit : > When libpthread tries to link against "libihash.so" I get the error: > > /lib/libihash.so: file not recognized: File format not recognized. > > This happens because libihash was built using the native compiler. > So I changed the f

Circular dependency with glibc libpthread libihash

2014-04-10 Thread Manolis Ragkousis
When libpthread tries to link against "libihash.so" I get the error: /lib/libihash.so: file not recognized: File format not recognized. This happens because libihash was built using the native compiler. So I changed the flag in libihash configure to "--host" so it will use the cross-compiler. But