Zeos661b+Lazarus0922+Ubuntu7.04+AMD64

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Zevang
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 25.11.2005, 17:36

Zeos661b+Lazarus0922+Ubuntu7.04+AMD64

Post by Zevang »

Hi Zeos guys! :-)

Here are the configs I'm currently using:
Zeos 6.6.1-beta
Lazarus 0.9.22 beta
Ubuntu 7.04
AMD64 machine

After opening ZComponent into Lazarus, clicking in "Install", Lazarus asks for a rebuild. I agreed and got the following dialog:

The package "zcore 6.5.1" failed to compile. Remove it from the installation list? [YES][IGNORE]

When I hit [YES] building crashes. So I began again and obtained the same dialog.

When hit [IGNORE] the following errors occurred and prevented rebuilding:

ZCollections.pas:
(275,22) Error: Unknown identifier "EAX"
(275,23) Error: Assembler syntax error in operand
(275,27) Error: Unknown identifier "EBP"
(275,29) Error: Invalid constant expression

The font code for the function where the error occurred is:

{**
Raises a collection error.
@param Msg an eror message.
@param Data a integer value to describe an error.
}
class procedure TZCollection .Error(const Msg: string; Data: Integer);
function ReturnAddr: Pointer;
asm
MOV EAX,[EBP+4]
end;

begin
raise EListError.CreateFmt(Msg, [Data]) at ReturnAddr;
end;

Although I know nothing about assembly programming, it seems there is some incompatibility with register names.
Would it be because I'm using an AMD64 machine?

regards,
Zevang
Post Reply