Re: Build failed in Hudson: 3.HEAD-i386-opensolaris-SunStudioCc #480

From: Kinkie <gkinkie_at_gmail.com>
Date: Tue, 23 Nov 2010 17:47:33 +0100

Hi Sandeep,

On Tue, Nov 23, 2010 at 4:46 PM, Sandeep Kuttal <skuttal_at_cse.unl.edu> wrote:
> Greetings,
>
> I have installed libcap, ecap and squid 3.1.4 on unix(ubuntu). I tried to transfer the code to my server machine in dept which is 64 bit and is SUSE (unix). When I tried to make libcap I got following error. Looks like incompatibility issue. Libcap is 32 bit app and is trying to run on 64 bit machine.
>
>
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `common/.libs/libcommon.a(memory.o)' is incompatible with i386:x86-64 output
> collect2: ld returned 1 exit status
>
>
> Kindly let me know whats going wrong. I googled and found lot of complains of breaking of squid on 64bit machines. Can I use all these three for 64 bit or just for 32 bit?

You already diagnosed the problem: the version of libcap you installed
is for the wrong architecture.
I am actually surprised that the linker tries to even look it up.
Please intall a 64-bit libcap and everything should just work.

Squid is a 64-bit-clean application, but it requires an environment
just as clean.

-- 
    /kinkie
Received on Tue Nov 23 2010 - 16:47:41 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 23 2010 - 12:00:04 MST