×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    53

    Exclamation Linkage error (Urgent)

    Hello,

    Error spawning 'link.exe'.

    some one can tell me how can I overcome and fix this bug error??

    I have restarted Visual Studio.Net and did not help.
    Restarted also PC and did not help...

    I could not find in google any thing that helps also ...

    but I know that my environment could not activate the linkage process and the reason (I do not know why)...

    Other prjects are ok and no problem....

    Thank you,

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Linkage error (Urgent)

    You do not provide enough info to tell. Basically there is a problem launching the linker but this could be lots of things. The real issue can be easily found in the Output window or Build log just before the message, check that error message and fix accordingly.

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    53

    Exclamation Re: Linkage error (Urgent)

    Hi,

    Here are the errors:-



    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(41): error: the file 'aknqueryvaluetext.h' cannot be opened
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1420): error: undefined identifier 'MAknQueryValue'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1444): error: undefined identifier 'CAknQueryValueText'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1445): error: undefined identifier 'CAknQueryValueTextArray'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(41): error: the file 'aknqueryvaluetext.h' cannot be opened
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1420): error: undefined identifier 'MAknQueryValue'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1444): error: undefined identifier 'CAknQueryValueText'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1445): error: undefined identifier 'CAknQueryValueTextArray'
    c:\Symbian\9.1\S60_3rd_Beta\MyProjects\Bemused\Client\src\BemusedControlContainer.cpp(408): warning: variable / argument 'aEventType' is not used in function
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(41): error: the file 'aknqueryvaluetext.h' cannot be opened
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1420): error: undefined identifier 'MAknQueryValue'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1444): error: undefined identifier 'CAknQueryValueText'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1445): error: undefined identifier 'CAknQueryValueTextArray'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(41): error: the file 'aknqueryvaluetext.h' cannot be opened
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1420): error: undefined identifier 'MAknQueryValue'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1444): error: undefined identifier 'CAknQueryValueText'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1445): error: undefined identifier 'CAknQueryValueTextArray'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(41): error: the file 'aknqueryvaluetext.h' cannot be opened
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1420): error: undefined identifier 'MAknQueryValue'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1444): error: undefined identifier 'CAknQueryValueText'
    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(1445): error: undefined identifier 'CAknQueryValueTextArray'


    Thank you,

  4. #4
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Linkage error (Urgent)

    Quite obviously linking will fail as long as the compilation of the consituents fails. Fix the code so that it compiles, before that linking will not succeed.

  5. #5
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    53

    Exclamation Re: Linkage error (Urgent)

    Hi

    It is very clear that I have to fix these errors. but I can not understand these errors and I could not even fix them.

    Thanx,

  6. #6
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    53

    Exclamation Re: Linkage error (Urgent)

    take for example the first error:--


    C:\Symbian\9.1\S60_3rd_Beta\epoc32\include\aknsettingitemlist.h(41): error: the file 'aknqueryvaluetext.h' cannot be opened

    aknsettingitemlist.h(line41) has include of aknqueryvaluetext.h - but why can not be opened??

    Thanx

  7. #7
    Registered User
    Join Date
    Jun 2003
    Posts
    20

    Re: Linkage error (Urgent)

    Just make sure that you are compiling the project on the correct active "device".
    If you have more than one Symbian-based SDK, in command prompt issue "devices" command and ensure that the correct SDK is tagged with "--default" token in its output.

    Typical mistake when one tries to build a project for one SDK (for example, 2nd Edition) while having different SDK (let's say, 3rd Edition) as "default device". This leads to build toolchain being confused and it mixes up all the headers, paths and etc.

  8. #8
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    53

    Exclamation Re: Linkage error (Urgent)

    Thank you,

    Actually - I have SDK-S80 series and SD-S60 3.0beta version.
    But when I have imported my project - I made sure to configure the SDK Configuration Manger to S60-3.0beta and also tp build it for symbian9 project and not classic.

    How can I make sure that the project is build to the required SDK???

    Thanx

  9. #9
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Linkage error (Urgent)

    How you code is for the different SDKs varies to some degree. So you need to know what SDK the code is intended to work with and then either:
    - use the corresponding SDK
    or
    - modify the code when there are differences and then use the SDK corresponding to the modified code.

    Eg. code developed for the S60 2nd edition SDKs will not compile with either the S80 nor the S60 3.0 SDK unmodified. If you need information on what the diff's are then check out the documents on this, a number of those are available for the doc's section.

Similar Threads

  1. Linkage error (Urgent)
    By waelali in forum Symbian
    Replies: 0
    Last Post: 2006-02-04, 03:15
  2. Linkage to C code
    By mark.wind in forum Symbian
    Replies: 0
    Last Post: 2005-12-01, 14:13
  3. Replies: 3
    Last Post: 2004-07-18, 23:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×