On Tue, Jul 13, 2010 at 9:38 AM, OLOPS Daniel (MM)
<[email protected]> wrote:
> The parameters passed to the configure script were: "--with-user=amanda 
> --with-group=system --with-amandahosts --without-ipv6". Its output is 
> attached. Then I did some hacking as proposed by "vincent" on this post at 
> Zmanda Forum: http://forums.zmanda.com/archive/index.php/t-1958.html (the 
> Perl script to link libgnu.a and the abused getconf). Finally, I edited the 
> Makefile inside tape-src to avoid tape-posix to be compiled at all, because 
> it has so many undefined entities (I'll talk about this in another 
> opportunity), and changed all occurrences of "-qthreaded" in the Makefiles by 
> "-pthread". Ring any bells?
>
> Regarding to your message about the 2.5.0p1 How-To, it has nothing that I 
> could reuse here. It suggests linking Amanda statically, but you said it's no 
> longer possible...

I assume you mean device-src, not tape-src.  tape-src has been gone since 2.6.0.

That you had to replace -qthreaded with -pthread suggests that glib
was compiled with the IBM compiler (taking -qthreaded), but you're
using gcc (which needs -pthread).  The pkg-config check for glib
produces the flags that were originally used to build glib, assuming
the same compiler will be used to build Amanda.  Presumably perl was
also compiled with the IBM compiler.  Maybe there's some ABI
incompatibility between IBM-generated and gcc-generated binaries?

I'm taking shots in the dark here..

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com

Reply via email to