Mega Search
23.2 Million


Sign Up

Make a donation  
Compiling Indy10_5183 - IdGlobal.pas(4724) Error: E2441  
News Group: embarcadero.public.cppbuilder.internet.socket

Hi!

I'm trying to install the latest Indy snapshot but I ran into problems 
right away:

C:\Program Files\CodeGear\RAD 
Studio\5.0\source\Indy10_5183\Lib>Fullc_2007.bat

CodeGear Delphi for Win32 compiler version 18.5
Copyright (c) 1983,2007 CodeGear
IdCompilerDefines.inc(1512)
IdCompilerDefines.inc(1512)
IdCompilerDefines.inc(1512)
IdCompilerDefines.inc(1512)
IdException.pas(116)
IdVers.inc(18)
IdSymbolPlatformOff.inc(4)
IdSymbolPlatformOn.inc(9)
IdResourceStrings.pas(128)
IdCompilerDefines.inc(1512)
IdCompilerDefines.inc(1512)
IdStreamVCL.pas(119)
IdStream.pas(43)
IdDeprecatedImplBugOff.inc(5)
[...]
IdDeprecatedImplBugOn.inc(9)
IdGlobal.pas(4724) Error: E2441 Inline function declared in interface
section must not use local symbol 'PUInt64'
IdDeprecatedImplBugOff.inc(5)
[...]
IdDeprecatedImplBugOn.inc(9)
IdGlobal.pas(8604)
IdBaseComponent.pas(162) Fatal: F2063 Could not compile used unit 
'IdGlobal.pas'
Error!
Press any key to continue . . .


That particular source line says:

PUInt64(@VDest[ADestIndex])^ := ASource;


Does anyone else get this problem?


Br,
Ted

-- 
Windows 7 32bit  |  RAD Studio 2007

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2014, at 9:53 AM EST
From: Ted Lyngmo
 
Re: Compiling Indy10_5183 - IdGlobal.pas(4724) Error: E2441  
News Group: embarcadero.public.cppbuilder.internet.socket
On 2014-09-16 00:27, Ted Lyngmo wrote:
> On 2014-09-16 00:09, Remy Lebeau (TeamB) wrote:
>> Ted wrote:
>>
>>> When installing package dclIndyCore110.bpl, I'm getting this:
>>> ---------------------------
>>> The program can't start because IndySystem110.bpl is missing from your
>>> computer. Try reinstalling the program to fix this problem.
>>
>> Make sure you have your search paths configured correctly.  Also, since you
>> are using Indy's FULLC_2007.BAT script, all of the BPL files should be getting
>> output in the same folder anyway.  Multi-platform output folders were not
>> added until Fullc_XE2.bat
>
> Ok, I changed from
> $(BDS)\source\Indy10_5183\C11
> to
> C:\Program Files\CodeGear\RAD Studio\5.0\source\Indy10_5183\C11
> for both the Header and Library paths, but I got the same result. Are
> there any other search paths I should be adding the path to the C11
> directory to?

Found it. It needed to be added to the Path environment variable too. 
Now the installation worked fine.

Br,
Ted

-- 
Windows 7 32bit  |  RAD Studio 2007 | Indy 10.6.1.5186

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2014, at 10:59 PM EST
From: Ted Lyngmo
 
Re: Compiling Indy10_5183 - IdGlobal.pas(4724) Error: E2441  
News Group: embarcadero.public.cppbuilder.internet.socket
On 2014-09-16 00:09, Remy Lebeau (TeamB) wrote:
> Ted wrote:
>
>> When installing package dclIndyCore110.bpl, I'm getting this:
>> ---------------------------
>> The program can't start because IndySystem110.bpl is missing from your
>> computer. Try reinstalling the program to fix this problem.
>
> Make sure you have your search paths configured correctly.  Also, since you
> are using Indy's FULLC_2007.BAT script, all of the BPL files should be getting
> output in the same folder anyway.  Multi-platform output folders were not
> added until Fullc_XE2.bat

Ok, I changed from
$(BDS)\source\Indy10_5183\C11
to
C:\Program Files\CodeGear\RAD Studio\5.0\source\Indy10_5183\C11
for both the Header and Library paths, but I got the same result. Are 
there any other search paths I should be adding the path to the C11 
directory to?

Br,
Ted

-- 
Windows 7 32bit  |  RAD Studio 2007

Edited by: Ted Lyngmo on Sep 15, 2014 3:26 PM

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2014, at 3:27 PM EST
From: Ted Lyngmo
 
Re: Compiling Indy10_5183 - IdGlobal.pas(4724) Error: E2441  
News Group: embarcadero.public.cppbuilder.internet.socket
Ted wrote:

> When installing package dclIndyCore110.bpl, I'm getting this:
> ---------------------------
> The program can't start because IndySystem110.bpl is missing from your
> computer. Try reinstalling the program to fix this problem.

Make sure you have your search paths configured correctly.  Also, since you 
are using Indy's FULLC_2007.BAT script, all of the BPL files should be getting 
output in the same folder anyway.  Multi-platform output folders were not 
added until Fullc_XE2.bat

--
Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2014, at 3:09 PM EST
From: Remy Lebeau (TeamB)
 
Re: Compiling Indy10_5183 - IdGlobal.pas(4724) Error: E2441  
News Group: embarcadero.public.cppbuilder.internet.socket
When installing package dclIndyCore110.bpl, I'm getting this:
---------------------------
The program can't start because IndySystem110.bpl is missing from your 
computer. Try reinstalling the program to fix this problem.
---------------------------

and directly after that I get this:
---------------------------
Can't load package C:\Program Files\CodeGear\RAD 
Studio\5.0\source\Indy10_5183\C11\dclIndyCore110.bpl.

The specified module could not be found.
---------------------------

So I've probably missed something.

I unpacked the zip at C:\Program Files\CodeGear\RAD 
Studio\5.0\source\Indy10_5183, then replaced Lib\System\IdGlobal.pas 
with the new version that you just checked in.

Then I went to C:\Program Files\CodeGear\RAD 
Studio\5.0\source\Indy10_5183\Lib

and executed Fullc_2007.bat

I got a lot of files here:
C:\Program Files\CodeGear\RAD Studio\5.0\source\Indy10_5183\C11

I added that path to both the Include and Libary paths.

It contains IndySystem110.bpl (+ .RES, .lib and .bpi).

Br,
Ted

-- 
Windows 7 32bit  |  RAD Studio 2007 | Indy 10.1.5 (10_4819)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2014, at 2:53 PM EST
From: Ted Lyngmo
 
Re: Compiling Indy10_5183 - IdGlobal.pas(4724) Error: E2441  
News Group: embarcadero.public.cppbuilder.internet.socket
On 2014-09-15 22:21, Remy Lebeau (TeamB) wrote:
> Ted wrote:
>
>> IdGlobal.pas(4724) Error: E2441 Inline function declared in
>> interface section must not use local symbol 'PUInt64'
>
> I have checked in a fix.

Many thanks - it compiled fine now!

Br,
Ted

-- 
Windows 7 32bit  |  RAD Studio 2007 | Indy 10.1.5 (10_4819)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2014, at 2:10 PM EST
From: Ted Lyngmo
 
Re: Compiling Indy10_5183 - IdGlobal.pas(4724) Error: E2441  
News Group: embarcadero.public.cppbuilder.internet.socket
Ted wrote:

> IdGlobal.pas(4724) Error: E2441 Inline function declared in
> interface section must not use local symbol 'PUInt64'

I have checked in a fix.

--
Remy Lebeau (TeamB)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2014, at 1:21 PM EST
From: Remy Lebeau (TeamB)
 
Re: Compiling Indy10_5183 - IdGlobal.pas(4724) Error: E2441  
News Group: embarcadero.public.cppbuilder.internet.socket
On 2014-09-15 18:53, Ted Lyngmo wrote:
>
> IdGlobal.pas(4724) Error: E2441 Inline function declared in interface section must not use local symbol 'PUInt64'

I moved the

{code}
{$IFDEF HAS_UInt64}
  {$IFNDEF HAS_PUInt64}
type
   PUInt64 = ^UInt64;
  {$ENDIF}
{$ENDIF}
{code}

part out of what I believe was the interface section (I put it at line 
624) and then it compiled. Not nowing pascal, I'm not sure what I just 
did and I won't go ahead with the rest of the installation. I just 
wanted to see if the rest of it would compile.

Br,
Ted

-- 
Windows 7 32bit  |  RAD Studio 2007

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2014, at 12:13 PM EST
From: Ted Lyngmo