lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Shmuel Zeigerman wrote:
> Jerome Vuarand wrote:
>> Shmuel Zeigerman wrote:
>>> I suppose it may be due to old versions of GCC (3.4.2) and LD
>>> (2.15.91) that are installed on my system.
>> 
>> I used MinGW 5.0.2 which comes with gcc 3.4.4, ld 2.16.91. I used my
>> script with the following command line:
> 
> After I upgraded (gcc 4.1.2, ld 2.16.91), the DLL was built
> successfully (ld did the trick!) 
> 
> But alas, when I execute an old lua.exe that depends on lua51.dll, I
> get the following error: 
> 
>  > lua.exe - Entry Point Not Found
>  > The procedure entry point lua5.1.luaL_checkstack could not
>  > be located in the dynamic link library lua51.dll. 

It seems to work if I remove the -shared option to gcc, but with a
warning though. Can you check if it works with your installation ?