Re: VC++6 LNK1112 Error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



1st, thx a lot for replying me...

alrite, i actually aware that i using the wrong library... I guess i using
the IA64 version of lib files, while my program is for x86 platform.

i had tried not to refer those library anymore... n i got some other errors
now...

*LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib "libcmt.lib"
conflicts with use of other libs; use /NODEFAULTLIB:library*

n a tons of *error LNK2001: unresolved external symbol* errors...!

I tried refer some other library, but juz can't get it done. Any more ideas?

thx again...


"Joseph M. Newcomer" wrote:

> Yep. Sounds like a valid error message. You are trying to link a module compiled for the
> Itanium into a piece of code destined for an x86. Either use a different library, or
> correctly select your target to be an Itanium.
>
> What is your intended target platform? Itanium or x86? You simply cannot mix-and-match
> code; you will have to choose one or the other. Note also that IX86 is not a valid name
> of a platform; look at the /machine: linker option. The two interesting options are IA64
> and X86, not IX86. The error message appears to be erroneous. But no matter what machine
> type you choose as target, you must choose the correct body of code to link into it.
>
> Note also that you can't really compile IA64 code unless you have a compiler that targets
> to the Itanium.
>
> You might also check out the default directories settings to make sure your X86 project is
> not searching an IA64 library files directory first.
> joe

.



Relevant Pages

  • Re: VC++6 LNK1112 Error
    ... Itanium into a piece of code destined for an x86. ... correctly select your target to be an Itanium. ... Note also that you can't really compile IA64 code unless you have a compiler that targets ...
    (microsoft.public.vc.mfc)
  • RE: fc on hp with itanium 64 bit
    ... > Is FC not supported on hp server with Itanium Processer ... > this is the mail i got from HP support. ... Secondly, it *might*, in theory, be possible to install x86 Fedora using ... IA64 CDs are not listed on the main Fedora download page. ...
    (Fedora)
  • Re: Studio 10 compilers for Solaris released
    ... It's not the Sparc architecture that's the problem, ... * IA64 doesn't run previous binaries well enough to be competitive, ... since converting 32 bit x86 binaries to an engine tuned for VLIW ... the desktop technical computing market ...
    (comp.unix.solaris)
  • Re: Gartner wakes up company executives to X86-64 scalability
    ... Add $50% /CPU for RAC clustering sw. ... And without getting too far into Oracle pricing black-magic - last I checked Oracle licenses were cheaper for multi-core X64 than the cost to achieve a similar Oracle benchmark on currently available Itanium systems. ... The year before last we heavily discussed with HP sales reps, HP technicans and SAP what road to choose. ... We have several multi-core systems as well - and they are performing exceedinly better than the IA64 ones; especially when it comes to java. ...
    (comp.os.vms)
  • Re: Is it time to stop research in Computer Architecture ?
    ... dedicated to cache) made it clear that full-fledged x86 cores could ... It was an x86 front-end driving the Itanium back-end execution ... this amazing new 64-bit thing that also runs my MS Office work", ...
    (comp.arch)