Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: C++ Builder 10.2 1 error linking


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Oct 19, 2017 12:47 AM Last Post By: Martin van der ...
PAJON Alex

Posts: 4
Registered: 1/21/01
C++ Builder 10.2 1 error linking  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 11, 2017 9:36 AM
Hi,
I actually use C++ Builder XE 7 and I want to try XE10 before migrate all my projects on it. So I am on the evaluation version of C++ Builder XE 10.2.1.
When I compile my projects, some of them have this error link :
[ILINK32 Warning] Warning: Unexpected error detected during link
[ILINK32 Error] Error: Unable to perform link
Failed

And no more precision. Have you any idea for solve this problem ? If I can't solve I can't buy XE10.2.

Just in case, I give you the ilink 32 command line :
d:\program files (x86)\embarcadero\studio\19.0\bin\ilink32.exe -G8 -Ls:\Sortie\obj\GenEtat\Win32\Debug;"d:\program files (x86)\embarcadero\studio\19.0\lib\Win32\release\FR";S:\Sortie\Librairies\Win32\Debug;"d:\program files (x86)\embarcadero\studio\19.0\lib\win32\release";s:\Sortie\Librairies\Win32\Debug;s:\Framework\Librairies\Win32\Debug;"s:/Framework/Divers/Steema/Lib/Obj";"d:\program files (x86)\embarcadero\studio\19.0\lib\Win32\Debug";"s:/Framework/Divers/WPTools/Bpl";"d:\program files (x86)\embarcadero\studio\19.0\lib\win32\release";"d:\program files (x86)\embarcadero\studio\19.0\lib\win32\release\psdk";C:\Users\Public\Documents\Embarcadero\Studio\19.0\DCP -js:\Sortie\obj\GenEtat\Win32\Debug;"d:\program files (x86)\embarcadero\studio\19.0\lib\Win32\release\FR";S:\Sortie\Librairies\Win32\Debug;"d:\program files (x86)\embarcadero\studio\19.0\lib\win32\release";s:\Sortie\Librairies\Win32\Debug;s:\Framework\Librairies\Win32\Debug;"s:/Framework/Divers/Steema/Lib/Obj";"d:\program files (x86)\embarcadero\studio\19.0\lib\Win32\Debug";"s:/Framework/Divers/WPTools/Bpl";"d:\program files (x86)\embarcadero\studio\19.0\lib\win32\release";"d:\program files (x86)\embarcadero\studio\19.0\lib\win32\release\psdk";C:\Users\Public\Documents\Embarcadero\Studio\19.0\DCP -Is:\Sortie\obj\GenEtat\Win32\Debug -ls:\Sortie\Librairies\Win32\Debug -dzcomponent.bpl -dzcore.bpl -dzdbc.bpl -dzparsesql.bpl -dzplain.bpl -v -Gi -Gn -aa -x -V5.0 -w -Tpe c0w32w rtl.bpi vcl.bpi vclx.bpi dbrtl.bpi vcldb.bpi bdertl.bpi CTRLSTD.bpi OUTILS.bpi OUTILSV.bpi ibxpress.bpi XML.bpi xmlrtl.bpi vclactnband.bpi vclimg.bpi IndyProtocols.bpi IndyCore.bpi IndySystem.bpi ZComponent.bpi ZCore.bpi ZDbc.bpi ZParseSql.bpi ZPlain.bpi memmgr.lib sysinit.obj s:\Sortie\obj\GenEtat\Win32\Debug\GenEtat.obj s:\Sortie\obj\GenEtat\Win32\Debug\uAjoutEtatExistant.obj s:\Sortie\obj\GenEtat\Win32\Debug\uAligner.obj s:\Sortie\obj\GenEtat\Win32\Debug\uCommentaire.obj s:\Sortie\obj\GenEtat\Win32\Debug\uFrmRtf.obj s:\Sortie\obj\GenEtat\Win32\Debug\uGenEtat.obj s:\Sortie\obj\GenEtat\Win32\Debug\ULangues.obj s:\Sortie\obj\GenEtat\Win32\Debug\uModifOrdreEtats.obj s:\Sortie\obj\GenEtat\Win32\Debug\uOptions.obj s:\Sortie\obj\GenEtat\Win32\Debug\uProprietes.obj s:\Sortie\obj\GenEtat\Win32\Debug\uRegles.obj s:\Sortie\obj\GenEtat\Win32\Debug\USaisieFormule.obj s:\Sortie\obj\GenEtat\Win32\Debug\uSelect.obj s:\Sortie\obj\GenEtat\Win32\Debug\uSQL.obj s:\Sortie\obj\GenEtat\Win32\Debug\uTaille.obj s:\Sortie\obj\GenEtat\Win32\Debug\uVisuDoc.obj , s:\Sortie\Binaires\Win32\Debug\GenEtat.exe , , cg32.lib Etat.lib import32.lib cp32mti.lib , , s:\Sortie\obj\GenEtat\Win32\Debug\Version.res GenEtat.res GenEtat.res

Regards
bernard roussely

Posts: 106
Registered: 2/8/05
Re: C++ Builder 10.2 1 error linking  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 4, 2017 4:23 AM   in response to: PAJON Alex in response to: PAJON Alex
[ILINK32 Warning] Warning: Unexpected error detected during link

Hi,

This is my preferred error message, tie with "Unknown error" :-)

You can try a few things to fix or scope the issue:
- build application instead of run
- if possible, remove some files, build, add files one by one until you identify the faulty one (this may require some changes in the code)
- create a new project file and add your files
- check linker parameters
- switch to 64 bit mode

Bonne chance :-)

bernard
Thierry MAGNE

Posts: 2
Registered: 5/1/00
Re: C++ Builder 10.2 1 error linking  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 18, 2017 8:16 AM   in response to: bernard roussely in response to: bernard roussely
Salut,
Same error for me after upgrading from 10.2
Build is OK with Win64

Regards

bernard roussely wrote:
[ILINK32 Warning] Warning: Unexpected error detected during link

Hi,

This is my preferred error message, tie with "Unknown error" :-)

You can try a few things to fix or scope the issue:
- build application instead of run
- if possible, remove some files, build, add files one by one until you identify the faulty one (this may require some changes in the code)
- create a new project file and add your files
- check linker parameters
- switch to 64 bit mode

Bonne chance :-)

bernard
Martin van der ...

Posts: 57
Registered: 7/14/02
Re: C++ Builder 10.2 1 error linking  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 19, 2017 12:47 AM   in response to: PAJON Alex in response to: PAJON Alex
This can happen if you use delay load DLLs in your project. As a workaround, you can use ilink32.exe from version 10.2.0, which does not have this bug.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02