Alex
Tue Aug 16 20:26:34 CDT 2005
Don't you think this needs to be quoted?
armv4_POCKET PC 2003_wce420_c99_standard_ne_static.lib
As well as any other input file with spaces in its name
--
Alex Feinman
---
Visit
http://www.opennetcf.org
"babak" <babak.ayani@gmail.com> wrote in message
news:1124200272.791304.93160@g44g2000cwa.googlegroups.com...
>I added the file just after Chris suggested it. Thought it was worth a
> try.
> But the conclusion is that I get the same error message both with and
> without the file added to the project settings.
> So the problem still remains and the question is how do I solve it?
>
> I also get this following error message (when I do a total rebuild of
> the project):
>
> armv4_POCKET PC 2003_wce420_c99_standard_ne_static.lib
> LINK : fatal error LNK1195: target machine 'ARM' requires
> '/SUBSYSTEM:WINDOWSCE'
> Error executing clarm.exe.
>
> even though I clearly have added "/SUBSYSTEM:WINDOWSCE" to my project
> settings (see the last line):
>
> commctrl.lib coredll.lib Ws2.lib iphlpapi.lib UtilityLibCE4ARMV4_R.lib
> SocketCE4ARMV4_R.lib CryptoLibCE4ARMV4_R.lib CertLibCE4ARMV4_R.lib
> DNSLibCE4ARMV4_R.lib CryptModLibCE4ARMV4_R.lib armv4_POCKET PC
> 2003_wce420_c99_standard_ne_static.lib 4.20 armv4_POCKET.obj /nologo
> /base:"0x00010000" /stack:0x40000,0x1000 /entry:"WinMainCRTStartup"
> /incremental:no /pdb:"ARMV4Rel/WVPNCECl.pdb"
> /nodefaultlib:"$(CENoDefaultLib)" /out:"ARMV4Rel/WVPNCECl.exe"
> /libpath:"..\..\..\..\..\Libs\CryptoLib\FIPS_CM_1.4\Lib"
> /libpath:"..\..\..\..\..\Libs\UtilityLib\FIPS_CM_1.4\Lib"
> /libpath:"..\..\..\..\..\Libs\CertLib\FIPS_CM_1.4\Lib"
> /libpath:"..\..\..\..\..\Libs\SocketLib\FIPS_CM_1.4\Lib"
> /libpath:"..\..\..\..\..\Libs\DNSLib\1.4.1\Lib"
> /libpath:"..\..\..\..\..\Libs\CryptModLib\FIPS_CM_1.4\Lib"
> /subsystem:Windowsce /align:"4096" /MACHINE:ARM
>
> I don't know if they have anything to do with each other or if they are
> 2 separate problems. Do you have any suggestions?
>
> Thanks for all your help.
> /Babak
>
>
> David skrev:
>
>> I think you may have missed the point. If you added the file to the
>> Project Settings window, then you need to provide the file.
>>
>> The question becomes why did you add that to your project without having
>> the file? Or are you just not pointing to the file correctly?
>>
>> David
>> CTO
>> Soft360.com
>>
>>
>> babak wrote:
>> > Yes, I added 'armv4_POCKET.obj' to the Project Settings under the
>> > 'Link' tab and then 'Project Options:' but with the same result.
>> > Do I have to add the file some where else?
>> >
>> > /Babak
>> >
>> >
>> >
>> > <ctacke/> skrev:
>> >
>> >
>> >>The problem *is* that there is no such file and it's looking for it.
>> >>Have
>> >>you added this file to the linker settings?
>> >>
>> >>-Chris
>> >>
>> >>
>> >>"babak" <babak.ayani@gmail.com> wrote in message
>> >>news:1124191588.724851.161210@g49g2000cwa.googlegroups.com...
>> >>
>> >>>Hi everyone
>> >>>I'm doing a project in Microsoft embedded Visual C++ 4.0 and I get the
>> >>>following error when I try to compile:
>> >>>
>> >>>...
>> >>>Generating Code...
>> >>>armv4_POCKET PC 2003_wce420_c99_standard_ne_static.lib
>> >>>Linking...
>> >>>LINK : fatal error LNK1181: cannot open input file 'armv4_POCKET.obj'
>> >>>Error executing link.exe.
>> >>>
>> >>>There is no file called 'armv4_POCKET.obj' either in my project or on
>> >>>my computer.
>> >>>Does anyone have a clue what the problem might be?
>> >>>
>> >>>
>> >>>Thanks for your help.
>> >>>/Babak
>> >>>
>> >
>> >
>