Hmm, just a suggestion: Change all calls to (I don't know if argument lists are the same, it's been a long time) Listen() to fpListen() ShutDown() to fpShutDown() Socket to fpSocket() Bind() to fpBind()
Prefix symbols: Family, port and addr symbols with `sin_` Make sure that unit sockets is used (normally not a problem). If there are any other problems, the sort of `wrong number of arguments` or `wrong argument type`, post them and the associated code, I have a working TCPserver here which compiles on 2.6, so I'm sure I can lookup the calls and "translate" them. I think the cause of the issue is that Listen(), Bind(), etc... where the previous name of the calls. Most changed to something prefixed with `fp`. Note that I can not guarantee that the modified code will work, as there are probably other incompatibilities lingering around somewhere. Good luck :-) On 11/07/2012 07:51 PM, bsquared wrote: > 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. > -- Ewald Events don't necessarily happen in chronological order; yet somehow they do persist to happen. Sometimes. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal