We help IT Professionals succeed at work.
Get Started

ilink32 linker problem - unable to open *.obj file

Malgorzata Kozik
on
50 Views
Last Modified: 2020-09-25
I used my own *.dll and created *.lib in my old Borland C++ Builder 6 software. All was working. I wanted to migrate software to Embarcadero C++ Builder 10.3. When I inlude my *.lib to the new project it's appear problem with ilink32. It's raport [ilink32 Error] Fatal: Unable to open file 'U.obj'. I have no idea what is the 'U' file.

I can't find solution of this problem. What methotology I should use to try find a source of problem.

My library has a name WsDll

Command lines looks in this way :

Checking project dependencies...
Compiling Adc.cbproj (Debug, Win32)
bcc32c command line for "WsDll.h"
  c:\program files (x86)\embarcadero\studio\20.0\bin\bcc32c.exe -cc1 -D _DEBUG -output-dir .\Win32\Debug -I
  "C:\Users\Użytkownik\Documents\Embarcadero\Studio\Projects\Adc" -I "c:\program files (x86)\embarcadero\studio\20.0\include\windows\vcl" -isystem
  "c:\program files (x86)\embarcadero\studio\20.0\include" -isystem "c:\program files (x86)\embarcadero\studio\20.0\include\dinkumware64" -isystem
  "c:\program files (x86)\embarcadero\studio\20.0\include\windows\crtl" -isystem "c:\program files (x86)\embarcadero\studio\20.0\include\windows\sdk"
  -isystem "c:\program files (x86)\embarcadero\studio\20.0\include\windows\rtl" -isystem "c:\program files
  (x86)\embarcadero\studio\20.0\include\windows\vcl" -isystem "c:\program files (x86)\embarcadero\studio\20.0\include\windows\fmx" -isystem
  C:\Users\Public\Documents\Embarcadero\Studio\20.0\hpp\Win32 -isystem C:\Users\Public\Documents\Embarcadero\Studio\20.0\hpp\Win32
  -debug-info-kind=standalone -fborland-extensions -nobuiltininc -nostdsysteminc -triple i686-pc-windows-omf -emit-pch -mrelocation-model static
  -masm-verbose -ffunction-sections -fexceptions -fcxx-exceptions -fseh -mstack-alignment=16 -fno-spell-checking -fno-use-cxa-atexit
  -fno-threadsafe-statics -x c++ -std=c++17 -O0 -fmath-errno -tM -tU -tW -o .\Win32\Debug\WsDll.pch --auto-dependency-output WsDll.h
ilink32 command line
  c:\program files (x86)\embarcadero\studio\20.0\bin\ilink32.exe -G8 -L.\Win32\Debug;"c:\program files (x86)\embarcadero\studio\20.0\lib\Win32\debug";
  "C:\Users\Użytkownik\Documents\Embarcadero\Studio\Projects\Adc";"c:\program files (x86)\embarcadero\studio\20.0\lib\win32c\release";"c:\program files
  (x86)\embarcadero\studio\20.0\lib\win32c\release\psdk";C:\Users\Public\Documents\Embarcadero\Studio\20.0\DCP -j.\Win32\Debug;"c:\program files
  (x86)\embarcadero\studio\20.0\lib\Win32\debug";"C:\Users\Użytkownik\Documents\Embarcadero\Studio\Projects\Adc";"c:\program files
  (x86)\embarcadero\studio\20.0\lib\win32c\release";"c:\program files (x86)\embarcadero\studio\20.0\lib\win32c\release\psdk";
  C:\Users\Public\Documents\Embarcadero\Studio\20.0\DCP -l.\Win32\Debug -c -r -v -GD -Gn -Gk
  -GA"C:\Users\UYTKOW~1\AppData\Local\Temp\vfs606B.tmp"="C:\Users\Użytkownik\Documents\Embarcadero\Studio\Projects\Adc\rj_servertransfer.dfm"
  -GA"C:\Users\UYTKOW~1\AppData\Local\Temp\vfs607B.tmp"="C:\Users\Użytkownik\Documents\Embarcadero\Studio\Projects\Adc\rj_SplashForm.dfm"
  -GA"C:\Users\UYTKOW~1\AppData\Local\Temp\vfs6148.tmp"="C:\Users\Użytkownik\Documents\Embarcadero\Studio\Projects\Adc\rj1.dfm"
  -GA"C:\Users\UYTKOW~1\AppData\Local\Temp\vfs6149.tmp"="C:\Users\Użytkownik\Documents\Embarcadero\Studio\Projects\Adc\rj_datamodul.dfm" -aa -V5.0 -w
  -Tpe c0w32w memmgr.lib sysinit.obj .\Win32\Debug\Adc.obj .\Win32\Debug\rj1.obj .\Win32\Debug\rj_datamodul.obj .\Win32\Debug\rj_servertransfer.obj
  .\Win32\Debug\rj_SplashForm.obj , .\Win32\Debug\Adc.exe , .\Win32\Debug\Adc.map , rtl.lib vcl.lib vclimg.lib WsDll.lib import32.lib cp32mt.lib , ,
  Adc.res
[ilink32 Error] Fatal: Unable to open file 'U.OBJ'
Failed
Elapsed time: 00:00:01.8
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 2 Answers and 7 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant

An Experts Exchange subscription includes unlimited access to online courses.

Get Started
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE