467,130 Members | 1,275 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,130 developers. It's quick & easy.

usr/bin/ld: warning: i386 architecture of input file is incompatible with i386:x86-6

Hi all,

I am having a problem, when I am compiling the code in 32 bit option on a
64 bit machine using the macro CPPFLAGS= -m32 I am getting the following warnings from
the linker .

/`../bin/amd64_stat_gnu_02015/WriteFault.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `../bin/amd64_stat_gnu_02015/WriteLogic.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `../bin/amd64_stat_gnu_02015/WriteModel.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `../bin/amd64_stat_gnu_02015/WriteSaveRestore.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `../bin/amd64_stat_gnu_02015/WriteWindows.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `../bin/amd64_stat_gnu_02015/WriteModelMap.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `../bin/amd64_stat_gnu_02015/smac.o' is incompatible with i386:x86-64 output

is it that linker is linking the 64 bit libraries for 32 bit binaries, is there is any way to set the linking option again to 32 bit

please help me to resolve my problem

thanks in advance
srikar
Jan 13 '07 #1
  • viewed: 4428
Share:

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

16 posts views Thread by David Ford | last post: by
5 posts views Thread by reachcv@yahoo.com | last post: by
165 posts views Thread by Dieter | last post: by
reply views Thread by zjumty@gmail.com | last post: by
13 posts views Thread by rrs.matrix@gmail.com | last post: by
6 posts views Thread by waxinwaxout | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.