eclipse problem (4010 Warning)

Login to reply to this topic.
Sun, 2005-07-03 01:26
Joined: 2005-07-03
Forum posts: 2
I'm a newby in C++ but perhaps somebody can give me a hint. I setup eclipse on windows with visual c++ toolkit 2003 but didn't use the platform sdk but the "own" dumpbin.exe and lib.exe files as described on http://pf128.krakow.sdi.tpnet.pl/symbdev/

When i try to build i get a 4010 warning because a program couldnt be found? Because the message is in german i suppose its from the operating system and not from the compiler....

Code:
Creating build structures...
C:\WINDOWS\system32\cmd.exe /c bldmake bldfiles
ABLD BUILD...
C:\WINDOWS\system32\cmd.exe /c abld -v -k build wins urel
  nmake -nologo -k -f "\Symbian\6.1\Series60\EPOC32\BUILD\CPP_PROJECTS\GROUP\EXPORT.make" EXPORT KEEPGOING=-k
Nothing to do
  nmake -nologo -k -f "\Symbian\6.1\Series60\EPOC32\BUILD\CPP_PROJECTS\GROUP\WINS.make" MAKEFILE KEEPGOING=-k
perl -S makmake.pl -D \CPP_PROJECTS\GROUP\APPTEST WINS
  nmake -nologo -k -f "\Symbian\6.1\Series60\EPOC32\BUILD\CPP_PROJECTS\GROUP\WINS.make" LIBRARY KEEPGOING=-k
nmake -nologo  -k -f "\Symbian\6.1\Series60\EPOC32\BUILD\CPP_PROJECTS\GROUP\APPTEST\WINS\APPTEST.WINS" LIBRARY
  nmake -nologo -k -f "\Symbian\6.1\Series60\EPOC32\BUILD\CPP_PROJECTS\GROUP\WINS.make" RESOURCE CFG=UREL KEEPGOING=-k
nmake -nologo  -k -f "\Symbian\6.1\Series60\EPOC32\BUILD\CPP_PROJECTS\GROUP\APPTEST\WINS\APPTEST.WINS" RESOURCEUREL
  nmake -nologo -k -f "\Symbian\6.1\Series60\EPOC32\BUILD\CPP_PROJECTS\GROUP\WINS.make" TARGET CFG=UREL KEEPGOING=-k
Das angegebene Programm kann nicht ausgef?hrt werden.
NMAKE : warning U4010: '"\Symbian\6.1\Series60\EPOC32\RELEASE\WINS\UREL\Z\SYSTEM\APPS\APPTEST\APPTEST.APP"' : build failed; /K specified, continuing ...
NMAKE : warning U4011: 'UREL' : not all dependents available; target not built
NMAKE : warning U4010: 'TARGETAPPTEST' : build failed; /K specified, continuing ...
NMAKE : warning U4011: 'TARGET' : not all dependents available; target not built

Sun, 2005-07-03 08:25
Joined: 2004-07-01
Forum posts: 26
Re: eclipse problem (4010 Warning)
  Maybe try to check if the paths are set up correctly. Click on a file from the project in the tree in the left pane. Choose "Project > Symbian Command Prompt". This will start a command prompt with the path set as during the compilation. Check if the "dumpbin", "lib", "cl", "link" commands will work...

mikolajz

Sun, 2005-07-03 09:45
Joined: 2004-07-01
Forum posts: 26
Re: eclipse problem (4010 Warning)
Check also if you have "bscmake"

mikolajz

Mon, 2005-07-04 01:25
Joined: 2005-07-03
Forum posts: 2
Re: eclipse problem (4010 Warning)
Yes bscmake was installed. But after the hours of  struggling last night i decided this morning to give code warrior a try. after 20 minutes it worked fine. I think i will go with that the next weeks because i have not much time to loose with installation stuff. Maybe i gona try it with Eclipse again later because i really like the interface and use it as wll for other languages. thanx a lot. 
Wed, 2005-08-24 12:19
Joined: 2005-08-03
Forum posts: 10
Re: eclipse problem (4010 Warning)
Hi,

I imported an existing Symbian project and I also get those warnings (warning U4010 and warning U4011).
I also get an error: *** [TARGETTEST] Error 1.

Do anybody know what to do?

ciao Puh
Tue, 2005-08-30 20:32
Joined: 2004-07-01
Forum posts: 26
Re: eclipse problem (4010 Warning)
Send the full output that is on the Console pane. Maybe I'll understand something...

mikolajz

Wed, 2005-08-31 12:53
Joined: 2005-08-03
Forum posts: 10
Re: eclipse problem (4010 Warning)
Thank you for your help. I alredy found out, that I  probably have a problem with my stack. I have to use the heap for some stuff. I think that solves the problem.
That is the complete output:

Code:
EMMSAPPUI.obj : error LNK2019: unresolved external symbol __chkstk referenced in function "public: void __thiscall CEMMSAppUi::ShowHelpPageL(void)" (?ShowHelpPageL@CEMMSAppUi@@QAEXXZ)
\Symbian\7.0s\Series60_v21\EPOC32\BUILD\ECLIPSE_SYMBIAN\WORKSPACE\FUNCAMAKT\GROUP\EMMS\WINS\UREL\EMMS.APP : fatal error LNK1120: 1 unresolved externals
NMAKE : warning U4010: '"\Symbian\7.0s\Series60_v21\EPOC32\RELEASE\WINS\UREL\Z\SYSTEM\APPS\FUNCAM\EMMS.APP"' konnte nicht erstellt werden; Vorgang wird fortgesetzt, da /K angegeben
NMAKE : warning U4011: 'UREL': nicht alle abhängigen Elemente verfügbar; Ziel nicht erstellt
  make -r  -k -f "\Symbian\7.0s\Series60_v21\EPOC32\BUILD\ECLIPSE_SYMBIAN\WORKSPACE\FUNCAMAKT\GROUP\WINS.make" FINAL CFG=UREL KEEPGOING=-k
Wed, 2005-08-31 20:45
Joined: 2004-07-01
Forum posts: 26
Re: eclipse problem (4010 Warning)
Yes, by default Symbian application have a small stack of 8kb.

mikolajz

  • Login to reply to this topic.