Re: problem compiling 32 bit application on 64 bit Linux server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux