Issue resolved after adding CFLAGS="-fpic" to configure command. Thanks And Regards , Mangesh Sawant .
On Mon, Jul 22, 2013 at 11:49 AM, Mangesh Sawant <m.v.saw...@gmail.com>wrote: > Compiling HTTPDSRC2.2.7 sources on 64 bit machine. There is no issue with > compilation. > When I try to link libmain.a with my xyz.so I get error saying xyz.so can > not link to libmain.a, recompile libmain.a as libmain.so. > Facing this problem only on 64 bit machines. > On 32 bit machine there is no issue. > > Is it possible to build libmain.a as libmain.so, if yes what would be > configuration options? > > > Thanks And Regards , > Mangesh Sawant . >