Re: libmemcache linking error in application compilation

2011-03-12 Thread Trond Norbye
On 12. mars 2011, at 11.00, Maddy wrote: > Yea i am doing that. I also tried by taking fresh source. Still > getting same error. > Looks like there is something wrong with the flags to dtrace.. try add --disable-dtrace Trond > Please suggest > > On Mar 12, 11:37 pm, Trond Norbye wrote: >>

Re: libmemcache linking error in application compilation

2011-03-12 Thread Maddy
Yea i am doing that. I also tried by taking fresh source. Still getting same error. Please suggest On Mar 12, 11:37 pm, Trond Norbye wrote: > Try make clean first > On Mar 12, 2011 10:34 AM, "Maddy" wrote: > > > > > i did > > ./configure --disable-64bit > > make > > > i am getting compilation e

Re: libmemcache linking error in application compilation

2011-03-12 Thread Trond Norbye
Try make clean first On Mar 12, 2011 10:34 AM, "Maddy" wrote: > i did > ./configure --disable-64bit > make > > i am getting compilation error for that library > > dtrace -64 -o libmemcached/libmemcached_probes.o -G -s libmemcached/ > libmemcached_probes.d `grep '^pic_object' ./libmemcached/*.lo |

Re: libmemcache linking error in application compilation

2011-03-12 Thread Maddy
i did ./configure --disable-64bit make i am getting compilation error for that library dtrace -64 -o libmemcached/libmemcached_probes.o -G -s libmemcached/ libmemcached_probes.d `grep '^pic_object' ./libmemcached/*.lo | cut -f 2 -d\' | sed "s/^/.\/libmemcached\//"` dtrace: failed to link script l

Re: libmemcache linking error in application compilation

2011-03-12 Thread Trond Norbye
On 12. mars 2011, at 09.47, Maddy wrote: > As i said in my 2nd post that the OS is 64 bit. Also -disable-64bit > will only disables libmemcache binaries not the library. I cnt remove > amd64 from -L as the library is only generating in amd64 directory. i > tried to search for any other version of

Re: libmemcache linking error in application compilation

2011-03-12 Thread Maddy
As i said in my 2nd post that the OS is 64 bit. Also -disable-64bit will only disables libmemcache binaries not the library. I cnt remove amd64 from -L as the library is only generating in amd64 directory. i tried to search for any other version of it, but it is not there.. Now i have a confusion

Re: libmemcache linking error in application compilation

2011-03-11 Thread Trond Norbye
You should try building a 32 bit libmemcached by adding --disable-64bit to configure (and remove the amd64 part from -L when you try to link your library) Cheers, Trond On 11. mars 2011, at 19.49, Maddy wrote: > Hi, > I have a requirement to maintain master master replication over 4 > nodes an

Re: libmemcache linking error in application compilation

2011-03-11 Thread Maddy
Just to add i found that the machine is 64 bit /usr/bin/isainfo -kv 64-bit amd64 kernel modules i am new to solaris so got confused. But then i am getting this error. of ELFCLASS64. Please guide On Mar 12, 8:49 am, Maddy wrote: > Hi, > I have a requirement to maintain master master replication

libmemcache linking error in application compilation

2011-03-11 Thread Maddy
Hi, I have a requirement to maintain master master replication over 4 nodes and all 4 nodes should have key/value. My system specification Oracle Solaris 10 9/10 s10x_u9wos_14a X86/SunOS Solaris25 5.10 Generic_142910-17 i86pc i386 i86pc while searching lot on google i found memcached-1.2.8-repc