Compile error on WinXP/MSVC++E05

J

Jonas Schneider

Heya,


don´t know if you know BOINC: it´s a system for distributed computing,
therefore distributing work to many computers and creating a little
super-computer, see also their homepage: http://boinc.berkeley.edu/.

I get the folllowing errors when I want to compile their default
application (WinXP, MSVC++E05):

<LOG>

------ Erstellen gestartet: Projekt: upper_case, Konfiguration: Debug
Win32 ------
Verknüpfen...
LINK : warning LNK4199: /DELAYLOAD:GDI32.DLL wird ignoriert; keine
Importe von GDI32.DLL gefunden.
LINK : warning LNK4199: /DELAYLOAD:OPENGL32.DLL wird ignoriert; keine
Importe von OPENGL32.DLL gefunden.
LINK : warning LNK4199: /DELAYLOAD:GLU32.DLL wird ignoriert; keine
Importe von GLU32.DLL gefunden.
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_boinc_rename" in Funktion ""int __cdecl do_checkpoint(class
MFILE &,int)" (?do_checkpoint@@YAHAAVMFILE@@H@Z)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""int __cdecl boinc_resolve_filename_s(char const *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &)" (?boinc_resolve_filename_s@@YAHPBDAAV?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)" in
Funktion ""int __cdecl do_checkpoint(class MFILE &,int)" (?
do_checkpoint@@YAHAAVMFILE@@H@Z)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""public: int __thiscall MFILE::flush(void)" (?
flush@MFILE@@QAEHXZ)" in Funktion ""int __cdecl do_checkpoint(class
MFILE &,int)" (?do_checkpoint@@YAHAAVMFILE@@H@Z)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""public: __thiscall MFILE::~MFILE(void)" (??1MFILE@@QAE@XZ)"
in Funktion ""void __cdecl worker(void)" (?worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_boinc_finish" in Funktion ""void __cdecl worker(void)" (?
worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""double __cdecl dtime(void)" (?dtime@@YANXZ)" in Funktion
""void __cdecl worker(void)" (?worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_boinc_fraction_done" in Funktion ""void __cdecl
worker(void)" (?worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_boinc_checkpoint_completed" in Funktion ""void __cdecl
worker(void)" (?worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_boinc_time_to_checkpoint" in Funktion ""void __cdecl
worker(void)" (?worker@@YAXXZ)".
upper_case.obj : error LNK2001: Nicht aufgelöstes externes Symbol
""bool g_sleep" (?g_sleep@@3_NA)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""void __cdecl boinc_sleep(double)" (?boinc_sleep@@YAXN@Z)" in
Funktion ""void __cdecl worker(void)" (?worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""public: int __thiscall MFILE::_putchar(char)" (?
_putchar@MFILE@@QAEHD@Z)" in Funktion ""void __cdecl worker(void)" (?
worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""public: int __thiscall MFILE::eek:pen(char const *,char const
*)" (?open@MFILE@@QAEHPBD0@Z)" in Funktion ""void __cdecl
worker(void)" (?worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_boinc_truncate" in Funktion ""void __cdecl worker(void)" (?
worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""int __cdecl file_size(char const *,double &)" (?
file_size@@YAHPBDAAN@Z)" in Funktion ""void __cdecl worker(void)" (?
worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_boinc_fopen" in Funktion ""void __cdecl worker(void)" (?
worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_boinc_resolve_filename" in Funktion ""void __cdecl
worker(void)" (?worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""public: __thiscall MFILE::MFILE(void)" (??0MFILE@@QAE@XZ)" in
Funktion ""void __cdecl worker(void)" (?worker@@YAXXZ)".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol "_boinc_init" in Funktion "_main".
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""int __cdecl parse_command_line(char *,char * *)" (?
parse_command_line@@YAHPADPAPAD@Z)" in Funktion "_WinMain@16".
Debug/uppercase_5.10_windows_intelx86.exe : fatal error LNK1120: 20
nicht aufgelöste externe Verweise.
Das Buildprotokoll wurde unter "file://c:\Dokumente und Einstellungen
\js\Desktop\boinc\repos\boinc_samples\win_build\Build\Win32\Debug
\upper_case\obj\BuildLog.htm" gespeichert.
upper_case - 21 Fehler, 3 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0
übersprungen ==========

</LOG>

I apologize for it being in german, but if you can tell me how to
change the language setting, please tell me :)
I can translate yo ua few things:
"Verweis auf nicht aufgelöstes externes Symbol" means "Reference to
not solved external symbol" (or something like that)
"wird ignoriert; keine Importe von GDI32.DLL gefunden." means "will be
ignored; no imports of XXX found."

Thanks in advance :)
Jonas
 
K

Keith Thompson

Jonas Schneider said:
don´t know if you know BOINC: it´s a system for distributed computing,
therefore distributing work to many computers and creating a little
super-computer, see also their homepage: http://boinc.berkeley.edu/.

I get the folllowing errors when I want to compile their default
application (WinXP, MSVC++E05):

<LOG>
[...]
upper_case.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""int __cdecl boinc_resolve_filename_s(char const *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &)" (?boinc_resolve_filename_s@@YAHPBDAAV?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)" in
Funktion ""int __cdecl do_checkpoint(class MFILE &,int)" (?
do_checkpoint@@YAHAAVMFILE@@H@Z)".
[...]

The code it's complaining about is C++, not C. You'll have better
luck asking in comp.lang.c++.

I think it's also having problems with "__cdecl" which isn't standard
either in C or in C++.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,054
Latest member
LucyCarper

Latest Threads

Top