View Single Post
Old Mar 10th, 2008, 7:23 AM   #8
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 291
Rep Power: 4 Klarre is on a distinguished road
Re: [MASM32] Working with arrays

The source file:
int main() { return 0; }

The linker command line (debug configuration):
/OUT:"G:\workspace\linktest\linktest\Debug\linktest.exe" /INCREMENTAL /NOLOGO /MANIFEST /MANIFESTFILE:"Debug\linktest.exe.intermediate.manifest" /NODEFAULTLIB /SUBSYSTEM:CONSOLE /ENTRY:"main" /MACHINE:X86 /ERRORREPORT:PROMPT
Causes these errors:
1>Linking...
1>main.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
1>main.obj : error LNK2001: unresolved external symbol __RTC_InitBase
1>G:\workspace\linktest\linktest\Debug\linktest.exe : fatal error LNK1120: 2 unresolved externals

The linker command line (release configuration):
/OUT:"G:\workspace\linktest\linktest\Release\linktest.exe" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"Release\linktest.exe.intermediate.manifest" /NODEFAULTLIB /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /LTCG /ENTRY:"main" /MACHINE:X86 /ERRORREPORT:PROMPT
Causes these errors:
1>Linking...
1>main.obj : error LNK2001: unresolved external symbol @__security_check_cookie@4
1>G:\workspace\linktest\linktest\Release\linktest.exe : fatal error LNK1120: 1 unresolved externals
__________________
http://www.klarre.se
Klarre is offline   Reply With Quote