473,394 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

62
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
0 4896

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

Similar topics

3
by: Al C | last post by:
So I can at least have a basic grasp of what's happening behind the scenes. A site with the history of processor architecture would be even better. Thank you.
16
by: David Ford | last post by:
I have a macro that I use across the board for freeing ram. I'd like to clean up my code so I don't get these warnings. #define sfree(x) _internal_sfree((void **)&x) #define _internal_sfree(x)...
5
by: reachcv | last post by:
Hi, How can the processor architecture/capabilities be determined using a c program? I wanted to know how an OS installer/loader determines this while installing the OS on a fresh system. ...
165
by: Dieter | last post by:
Hi. In the snippet of code below, I'm trying to understand why when the struct dirent ** namelist is declared with "file" scope, I don't have a problem freeing the allocated memory. But...
0
by: zjumty | last post by:
I want to install wxPython 2.6 on Solaris10 x86. I have passed "make install", and want to execute python setup.py install. but i got some problems. first i run "python setup.py install",and i...
6
by: Hareth | last post by:
When i build the sample app baseclasses (that came with winfx sdk) i get an error: Error 1 fatal error LNK1181: cannot open input file 'strmiids.lib' BaseClasses I know where the 'strmiids.lib'...
13
by: rrs.matrix | last post by:
hi i have to detect the type of CPU. whether it is 32-bit or 64-bit.. how can this be done.. can anyone please help me.. thanks.
6
by: waxinwaxout | last post by:
I'm compiling the same set of c++ sources to both x86 (32 & 64) and to mips32. For x86 I'm using gcc 4.1.2 and for mips I'm using gcc 3.4.6. What I don't understand is why the mips binaries are...
33
by: James H. Newman | last post by:
I have a portion of code along the following lines: volatile unsigned char x ; unsigned int f(unsigned char *y) ; When I do unsigned int z = f(&x) ;
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.