Error cannot execute link exe



Error cannot execute link exe

This forum is closed. Thank you for your contributions.

Answered by:

Question

I am developing an application for PDA. So, I installed the following SDK, Tool and Emulator to work on PDA.

1. Installed Microsoft ActiveSyne 4.5.

2. Installed eMbedded Visual C++4.0 and Service Pack 4.

3. Installed Pocket Pc 2003 SDK

4. Installed the Emulator for Pocket PC 2003 Second Edition.

5. And also installed Developer Resources for Windows Mobile 2003 Second Edition

The project’s build and execution were successfull. now i use dumpbin command with dependents option to the windows command prompt. I am getting the following error:

error : cannot execute LINK.EX E

Can anyone tell me the reason and how can i get infromation using dumpbin command?

Answers

This could possibly be due to missing directories within the PATH command line environment variable.

How are you opening the command prompt which you run dumpbin from? If you are opening a plain command prompt and specifying the path to the dumpbin executable you will probably find the error you have stated.

Within one of the Embedded Visual C directories there should be a small batch file which configures the command line console for use with the embedded visual c tools. One aspect of this batch file is configuring the PATH envrionment variable as required to access the eVC tools such as link.exe, it also configures various other environment variables used by the linker etc.

I’m sorry but I don’t have the exact path to this batch file handy, since I havn’t had eVC installed on my machine for quite a while. It should be fairly easily found within the eVC program files directory somewhere.

Hope this helps,

All replies

I think the installation is not proper. Check whether the LINK.exe is present in the folder » :\Program Files\Microsoft eMbedded C++ 4.0\EVC\wce420\bin». If not then then the installation is not proper. Reinstall the SDK as well as EVC and check for the files presence and then use the DUMPBIN.exe.

Check this link for DumpBin usage

If the compilation goes fine without error during compilation, mostly the error has occured during the linking process.

I suggest try to cleanup your code on the build menu, close any open and running console and then try again to compile and link your source code.

goodluck to you and more power.

This could possibly be due to missing directories within the PATH command line environment variable.

How are you opening the command prompt which you run dumpbin from? If you are opening a plain command prompt and specifying the path to the dumpbin executable you will probably find the error you have stated.

Within one of the Embedded Visual C directories there should be a small batch file which configures the command line console for use with the embedded visual c tools. One aspect of this batch file is configuring the PATH envrionment variable as required to access the eVC tools such as link.exe, it also configures various other environment variables used by the linker etc.

Читайте также:  Error 17 bosch стиральная машина

I’m sorry but I don’t have the exact path to this batch file handy, since I havn’t had eVC installed on my machine for quite a while. It should be fairly easily found within the eVC program files directory somewhere.

Hope this helps,

Hi
Thanks everyone.Again thanks Christopher for your details reply.

Hi Christopher, the problem is solved. Now, a new problem has arrised. I have developed an application for PDA and the application is running in emulator smoothly. But it is not working on target device the error is as follows
«MP_CESample» is not a valid pocket pc application. I got many more information on MSDN forum. To figure out problem i used the «dumpbin» command for dependency dlls.

i got the following dependency files

1.AvSynchronizer.dll
2. DataBroker.dll
3. PacketMaker.dll
4. COREDLL.dll
5. commctrl.dll
6. AYGSHELL.dll
7. DocList.dll
8. WININET.dll

First 3 dll files are third party dlls which are used to my application. But AYGSHELL.dll, DocList.dll and WININET.dll files are not available to my target device under \windows directory.

I think my application is not running due to miss those dll files. If so would you tell me how can i get those files to copy to my device? If not please would you give me hints , any idea or any solution that i can solve my problem.

Can anyone give me any Idea ,any hints or any kind of solution?

Источник

Error cannot execute link exe

This forum is closed. Thank you for your contributions.

Answered by:

Question

I am developing an application for PDA. So, I installed the following SDK, Tool and Emulator to work on PDA.

1. Installed Microsoft ActiveSyne 4.5.

2. Installed eMbedded Visual C++4.0 and Service Pack 4.

3. Installed Pocket Pc 2003 SDK

4. Installed the Emulator for Pocket PC 2003 Second Edition.

5. And also installed Developer Resources for Windows Mobile 2003 Second Edition

The project’s build and execution were successfull. now i use dumpbin command with dependents option to the windows command prompt. I am getting the following error:

error : cannot execute LINK.EX E

Can anyone tell me the reason and how can i get infromation using dumpbin command?

Answers

This could possibly be due to missing directories within the PATH command line environment variable.

How are you opening the command prompt which you run dumpbin from? If you are opening a plain command prompt and specifying the path to the dumpbin executable you will probably find the error you have stated.

Within one of the Embedded Visual C directories there should be a small batch file which configures the command line console for use with the embedded visual c tools. One aspect of this batch file is configuring the PATH envrionment variable as required to access the eVC tools such as link.exe, it also configures various other environment variables used by the linker etc.

Читайте также:  Truncate table error foreign key

I’m sorry but I don’t have the exact path to this batch file handy, since I havn’t had eVC installed on my machine for quite a while. It should be fairly easily found within the eVC program files directory somewhere.

Hope this helps,

All replies

I think the installation is not proper. Check whether the LINK.exe is present in the folder » :\Program Files\Microsoft eMbedded C++ 4.0\EVC\wce420\bin». If not then then the installation is not proper. Reinstall the SDK as well as EVC and check for the files presence and then use the DUMPBIN.exe.

Check this link for DumpBin usage

If the compilation goes fine without error during compilation, mostly the error has occured during the linking process.

I suggest try to cleanup your code on the build menu, close any open and running console and then try again to compile and link your source code.

goodluck to you and more power.

This could possibly be due to missing directories within the PATH command line environment variable.

How are you opening the command prompt which you run dumpbin from? If you are opening a plain command prompt and specifying the path to the dumpbin executable you will probably find the error you have stated.

Within one of the Embedded Visual C directories there should be a small batch file which configures the command line console for use with the embedded visual c tools. One aspect of this batch file is configuring the PATH envrionment variable as required to access the eVC tools such as link.exe, it also configures various other environment variables used by the linker etc.

I’m sorry but I don’t have the exact path to this batch file handy, since I havn’t had eVC installed on my machine for quite a while. It should be fairly easily found within the eVC program files directory somewhere.

Hope this helps,

Hi
Thanks everyone.Again thanks Christopher for your details reply.

Hi Christopher, the problem is solved. Now, a new problem has arrised. I have developed an application for PDA and the application is running in emulator smoothly. But it is not working on target device the error is as follows
«MP_CESample» is not a valid pocket pc application. I got many more information on MSDN forum. To figure out problem i used the «dumpbin» command for dependency dlls.

i got the following dependency files

1.AvSynchronizer.dll
2. DataBroker.dll
3. PacketMaker.dll
4. COREDLL.dll
5. commctrl.dll
6. AYGSHELL.dll
7. DocList.dll
8. WININET.dll

First 3 dll files are third party dlls which are used to my application. But AYGSHELL.dll, DocList.dll and WININET.dll files are not available to my target device under \windows directory.

I think my application is not running due to miss those dll files. If so would you tell me how can i get those files to copy to my device? If not please would you give me hints , any idea or any solution that i can solve my problem.

Читайте также:  Failed to initialize application error

Can anyone give me any Idea ,any hints or any kind of solution?

Источник

Проблемма с DirectInput

Вот класс пишу по DirectInput, и фигня возникла, не пойму в чем дело
ругаеться компилятор и именно на этой строчке (без нее работает):
hr = pKeyboard -> SetDataFormat(&c_dfDIKeyboard);
а пишет:
dinput.lib(dilib2.obj) : fatal error LNK1103: debugging information corrupt; recompile module
ктонить сталкивался.

попробуй Rebuild All

Не помогает.
Переставил DirectX, проблема осталась. Может, кто-нибудь может мне помочь классом под DirectInput, который 100% рабочий. Я проверю, может, я налагал в классе.

эй люди кто с такой херней сталкивался. dinput.lib : fatal error LNK1103: debugging information corrupt; recompile module

Это у тебя такие сообщение при компиляции с Target = Debug только или с Release тоже?

Релизиться нормально, но Exeшник выбрасывает

Похоже, у тебя откуда-то берется левый dinput.lib, проверь еще раз настройки путей DX SDK.

Значиться все проверил, береться из папки дарект/lib/x86 помойму это то что надо но не подлинковываеться, трабл, точно не в кривизне моих пальцев т.к. проверяю на работающих до этого проектах, работающих но не у меня. В нете такие траблы видел но как исправили нет негде. ХЕЕЕЕЕЛЛЛЛППП

у тебя случаем нe VS6 ?

Да шестерка))) Был но нехрена не понял, порусски бы да на пальцах)))

Либо поменяй VC6 на 200x, либо сделай lib файлы из dll именно под VS6 с помощью 2х утилит impdef (нужно вытащить из Borland Builder) и lib.exe (есть в VC6)

impdef.exe Class.def Class.dll
lib.exe /def:Class.def /out:Class.lib

Это же надо писать в командной строке или *.bat ?

Источник

Error cannot execute link exe

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

could it be that the VC6 linker has a slight problem with my huge Object file?

The cpp.-file contains about 470,000 lines of code (automatically generated), it compiles fine, but linking is aborted with following message:

c:\gsoap-win32-2.7\samples\test_message\soapc.cpp(65536) : warning C4049: compiler limit : terminating line number emission

.\Debug\soapC.obj : error : Internal error during ReadSymbolTable

ExceptionInformation[ 0] = 00000000

ExceptionInformation[ 1] = 04983EF0

Eax = 002D0000 Esp = 0012F098

Ebx = FFFF8000 Ebp = 016E3EE0

Ecx = 01950000 Esi = 401F4D60

Edx = 004A7F18 Edi = 401F4D60

Eip = 00462864 EFlags = 00010213

SegCs = 0000001B SegDs = 00000023

SegSs = 00000023 SegEs = 00000023

SegFs = 0000003B SegGs = 00000000

Dr0 = 0012F098 Dr3 = FFFF8000

Dr1 = 016E3EE0 Dr6 = 01950000

Dr2 = 00000000 Dr7 = 00000000

Error executing link.exe.

Tool execution canceled by user.

The ExceptionCode = C0000005 sounds like a memory access violation… what can I do to avoid it? Is there ANYTHING I can do to avoid it? 😉 If not, is there a possibility to get more (useful) information about the Linker error?

Where can I find some information about the linker/compiler limitations? 470,000 lines of code can’t be too much, huh? I mean: we are talking about MS VC6. 😉

Источник

Оцените статью
toolgir.ru
Adblock
detector