[fpc-pascal]Error Compiling INET sample program

Michael Van Canneyt michael at wisa.be
Tue Aug 27 20:49:03 CEST 2002

On Tue, 27 Aug 2002, Fernando Lozano wrote:

> Hi there,
> It looks like the inet and sockets unit from the win32 FPC 1.0.6
> distribution have some build bugs. Here's what happens:
> fpc testinet.pp
> Free Pascal Compiler version 1.0.6 [2002/04/23] for i386
> Copyright (c) 1993-2002 by Florian Klaempfl
> Target OS: Win32 for i386
> Compiling testinet.pp
> Linking testinet.exe
> -: cannot find -lc
> testinet.pp(249,1) Error: Error while linking

This is not meant to work on Windows, only on linux.
The inet unit only works on linux. feel free to make it work on Windows,
that should be not too much work.

> fpc pfinger.pp

Same here, as it uses inet.


More information about the fpc-pascal mailing list