#1 Re: Free Pascal Compiler » Undefined symbol: __endthreadex on FPC 3.1.1 » 2015-10-12 11:21:58

Hi,
I am not having the message anymore with the new files.
I will go for the blog creation next.

Thank you very much,
Tudor

#2 Free Pascal Compiler » Undefined symbol: __endthreadex on FPC 3.1.1 » 2015-10-11 22:20:17

tudi_x
Replies: 5

Hi,
I am using the Lazarus version created with fpcup (Lazarus 1.5 32b on Win 7 64b).
I have downloaded the latest nightly build and the additional files based on the links in the documentation (http://synopse.info/files/html/Synopse% … l#TITL_113).

I am getting Undefined symbol: __endthreadex both when I try to run compilFPC.bat or when compiling 02 - Embedded SQLite3 ORM.
I did not get this error when compiling 01 - In Memory ORM.
Please advise what I am missing.

From D:\tempbuild\fpc\compilMsg file:

Free Pascal Compiler version 3.1.1 [2015/10/11] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling TestSQL3.dpr
Compiling ..\SynLZ.pas
SynLZ.pas(347,17) Warning: Calling an overload function in assembler
SynLZ.pas(505,21) Warning: Local variable "cache" does not seem to be initialized
SynLZ.pas(960,21) Warning: Local variable "cache" does not seem to be initialized
Compiling ..\SynLZO.pas
....
Compiling mORMotSelfTests.pas
mORMotSelfTests.pas(163,3) Warning: unreachable code
mORMotSelfTests.pas(80,3) Hint: Unit "SynBigTable" not used in mORMotSelfTests
TestSQL3.dpr(98,3) Hint: Unit "SynLZ" not used in TestSQL3
TestSQL3.dpr(99,3) Hint: Unit "SynLZO" not used in TestSQL3
TestSQL3.dpr(102,3) Hint: Unit "SynBidirSock" not used in TestSQL3
TestSQL3.dpr(105,3) Hint: Unit "SynTests" not used in TestSQL3
TestSQL3.dpr(117,3) Hint: Unit "dddInfraAuthRest" not used in TestSQL3
TestSQL3.dpr(118,3) Hint: Unit "dddInfraSettings" not used in TestSQL3
TestSQL3.dpr(120,3) Hint: Unit "dddInfraEmail" not used in TestSQL3
TestSQL3.dpr(122,3) Hint: Unit "dddInfraRepoUser" not used in TestSQL3
TestSQL3.dpr(128,3) Hint: Unit "SynSM" not used in TestSQL3
TestSQL3.dpr(130,3) Hint: Unit "SynBigTable" not used in TestSQL3
TestSQL3.dpr(140,3) Hint: Unit "mORMotHttpServer" not used in TestSQL3
TestSQL3.dpr(165,3) Hint: Unit "mORMotMongoDB" not used in TestSQL3
TestSQL3.dpr(168,3) Hint: Unit "SynZip" not used in TestSQL3
Linking d:\tempbuild\fpc\TestSQL3.exe
TestSQL3.dpr(187,1) Error: Undefined symbol: __endthreadex
TestSQL3.dpr(187,1) Error: Undefined symbol: __beginthreadex
TestSQL3.dpr(187,1) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: c:\Development\fpc\bin\i386-win32\ppc386.exe returned an error exitcode

Thank you,
Tudor

Board footer

Powered by FluxBB