Re: [fpc-pascal] Linux daemon crashing
Thanks or that, that seems to start it fine, but it doesn't close the master process and return to my terminal, as the non object oriented version from FPC 2.0.4 does. Any ideas if this is possible with the OOP version? On Wed, 2008-01-23 at 22:54 +0100, Michael Van Canneyt wrote: > > On Thu, 24 Jan 2008, Rob van der Linde wrote: > > > Hi all, I'm trying to make a Linux daemon using FPC 2.2 > > > > I tried compiling the bundled daemon.pp (fcl-base/tests), it's an object > > oriented version. Compilation is ok, but when I run the daemon I get the > > following error: > > > > exception at 0046BF6C: > > Options do not allow determining what needs to be done. > > > > And the daemon exits. > > Add -r (or --run) to the command-line option. > > Michael. > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal signature.asc Description: This is a digitally signed message part ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Linux daemon crashing
Hi all, I'm trying to make a Linux daemon using FPC 2.2 I tried compiling the bundled daemon.pp (fcl-base/tests), it's an object oriented version. Compilation is ok, but when I run the daemon I get the following error: exception at 0046BF6C: Options do not allow determining what needs to be done. And the daemon exits. I also tried compiling an older version of daemon.pp, that was bundled with FPC 2.0.4 (but still compiling it with FPC 2.2). The older version is not object oriented, and contains more complex code, but it does work. Is this a known problem when creating a daemon in Linux, using the new units? Or maybe it could be because I am using AMD64? I have not yet tried it on a 32 bit Linux installation, so I am not sure. I would like to use the object oriented version if possible, I like the code, it looks clean and easy to use, but it doesn't work, so I am temporarily having to use the older version of daemon.pp for now. signature.asc Description: This is a digitally signed message part ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal