Ishita Kapadiya <ishimegh@xxxxxxxxx> writes: > I am using 'make' to compile this plug-in. I have used the Makefile > that generated at the time of installation of web server. So I think > it should work with little change (e.g. adding '-m32' to make it 32 > bit). I have used the same Makefile previously and it worked fine for > me with -m32 option. Not sure why it's throwing error. After adding > --verbose in LD Flags it seems like gcc is using > --host=x86_64-redhat-linux option. > I think solution would be as per this link - > http://gcc.gnu.org/ml/gcc-help/2011-02/msg00182.html > > But not sure how to force gcc to use 32 bit libraries? gcc will use the 32 bit libraries if you link with -m32. The error you showed earlier was a case of gcc using the 32-bit libraries, but your code not being compiled with -m32. Ian