Discussion:
Link Error in Infomaker
(too old to reply)
unknown
2009-02-03 13:51:47 UTC
Permalink
When trying to build an executable from a .pbl object in
Infomaker, I'm told that the build failed due to a "link
error". What could be causing this?
Chris Pollach
2009-02-03 14:05:03 UTC
Permalink
Hi Chris;

InfoMaker (like PowerBuilder) can often suffer from problems during the
linkedit step of a compile. The process going on behind the scenes is the
compilation and linking of the C++ code. The "C" Linkage Editor creates
allot of temporary files and is can be sensitive to the path to the
temporary folder - especially, if it is a long path name or riddled with
spaces. I normally change my TEMP folder location to "C:\Temp" in the System
Environment Variable section of XP, Vista, etc. Normally, MS-Windows will
use a local setting like "C:\Documents and Settings\User Name\Local
Settings\Temp" for example. I use a System setting mapping both the TMP and
TEMP variables to "C:\Temp".

Note: On MS-VISTA, allocate the TEMP folder's security to EveryOne
(public).
--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com
Post by unknown
When trying to build an executable from a .pbl object in
Infomaker, I'm told that the build failed due to a "link
error". What could be causing this?
Terry Dykstra [TeamSybase]
2009-02-05 02:50:04 UTC
Permalink
In my experience it is typically an internal path problem. In the library
list painter (I'm assuming you are using IM7 or later) add the imstylexx.pbl
to the library search path. Then try to compile. Make sure to not reuse
existing settings. If this compiles correctly, you can remove the
imstylexx.pbl from the path again

Terry Dykstra [TeamSybase]
Post by Chris Pollach
Hi Chris;
InfoMaker (like PowerBuilder) can often suffer from problems during the
linkedit step of a compile. The process going on behind the scenes is the
compilation and linking of the C++ code. The "C" Linkage Editor creates
allot of temporary files and is can be sensitive to the path to the
temporary folder - especially, if it is a long path name or riddled with
spaces. I normally change my TEMP folder location to "C:\Temp" in the
System Environment Variable section of XP, Vista, etc. Normally,
MS-Windows will use a local setting like "C:\Documents and Settings\User
Name\Local Settings\Temp" for example. I use a System setting mapping both
the TMP and TEMP variables to "C:\Temp".
Note: On MS-VISTA, allocate the TEMP folder's security to EveryOne
(public).
--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com
Post by unknown
When trying to build an executable from a .pbl object in
Infomaker, I'm told that the build failed due to a "link
error". What could be causing this?
Loading...