Oh, never mind, cthreads was missing :P
Found at http://bugs.freepascal.org/view.php?id=9597
Well, I'm happy! :D
2008/2/1, Marco Alvarado <[EMAIL PROTECTED]>:
> I have this class that inherits TThread. I compile and execute
> successfully an application that instantiates it with Delphi and
> Lazarus, on Windows. But when I execute the same Lazarus project in
> Ubuntu, I get the following error dialog:
>
> Project raised exception class 'RunError(232)'.
>
> When I click [OK] i get another dialog:
>
> Execution paused
> Address: $08067027
> Procedure: SYSTEM_NOTHREADERROR
> File:
>
> Another dialog, and the IDE stops at the first line of the thread
> constructor that simply looks like this:
>
> //..............................................................................
> constructor cm_cHilo.Crea(
> Suspendido,
> Libre: Boolean
> );
> begin
> Create(Suspendido);
>
> FreeOnTerminate := Libre;
> cm_TomaProcesadores(_CuentaProcesadores, _MascaraProcesadores);
> end;
>
>
> How can I enable threads for Linux?
>
> Thanks!
> -Marco
>
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives