[fpc-pascal] Re: cannot make debugserver

bsquared bwcode4u at gmail.com
Wed Nov 7 19:51:32 CET 2012


On 11/07/2012 09:26 AM, bsquared wrote:
>
> Hello,
>
> I am trying to get back up to speed after a couple of years away from
> FPC/Laz, and I hope I am not a P.I.T.A. ...
>
> I searched the mail archive, but I found nothing.
>
> I am using 'fpc 2.7.1', and debugserver does not compile/make for me.
>
> Did I overlook a setting?
>
> Thank you.
>
> This is the output of make:
> $ make
> /usr/lib/codetyphon/fpc/bin/i386-linux/ppc386 -Fu../../rtl -FE.
> -FUunits/i386-linux -di386 msgintf.pp
> /usr/lib/codetyphon/fpc/bin/i386-linux/ppc386 -Fu../../rtl -FE.
> -FUunits/i386-linux -di386 debugserverintf
> debugserverintf.pp(116,18) Error: Identifier not found "Socket"
> debugserverintf.pp(122,3) Warning: Symbol "Str2UnixSockAddr" is deprecated
> debugserverintf.pp(123,10) Error: Wrong number of parameters specified
> for call to "Bind"
> debugserverintf.pp(125,17) Error: Identifier not found "Listen"
> debugserverintf.pp(165,18) Error: Identifier not found "Socket"
> debugserverintf.pp(171,13) Warning: Symbol "family" is deprecated
> debugserverintf.pp(173,13) Warning: Symbol "port" is deprecated
> debugserverintf.pp(174,13) Warning: Symbol "addr" is deprecated
> debugserverintf.pp(175,10) Error: Wrong number of parameters specified
> for call to "Bind"
> debugserverintf.pp(176,48) Warning: Local variable "FFileName" does not
> seem to be initialized
> debugserverintf.pp(177,17) Error: Identifier not found "Listen"
> debugserverintf.pp(244,13) Error: Wrong number of parameters specified
> for call to "Accept"
> debugserverintf.pp(283,11) Error: Identifier not found "ShutDown"
> debugserverintf.pp(381) Fatal: There were 8 errors compiling module,
> stopping
> Fatal: Compilation aborted
> make: *** [debugserverintf.ppu] Error 1
>
>

After more searching I found some posts that seem to indicate that the 
debugserver has not worked for some time.  One of those posts lead me to 
the debugserver server that is an example in fpGUI.  I built that and it 
works.  tiOPF was also suggested.  I intend to look into it as well.

-- 
Regards,
Brian




More information about the fpc-pascal mailing list