Ishita Kapadiya <ishimegh@xxxxxxxxx> writes: > CC FLAGS I have used are - /usr/bin/gcc -fpic -DNET_SSL -DLinux > -DLINUX -D_REENTRANT > LD FLAGS are - /usr/bin/gcc -shared -m32 --verbose Are you passing -m32 when you compile? > /usr/bin/ld: warning: i386:x86-64 architecture of input file `test.o' > is incompatible with i386 output This is telling you that you used -m32 on the link line but that test.o was compiled without -m32. Ian