fpc-1.0.10/packages/base/inet
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
When compiling a program with inet I encounter the following error:
inet.o(.text+0x3b7): In function _INET$$_$$_THOST_$$_NAMELOOKUP$STRING':<br/> : undefined reference to
h_errno'
inet.o(.text+0x422): In function _INET$$_$$_THOST_$$_ADDRESSLOOKUP$THOSTADDR':<br/> : undefined reference to
h_errno'
inet.o(.text+0x7c7): In function _INET$$_$$_TNET_$$_NAMELOOKUP$STRING':<br/> : undefined reference to
h_errno'
inet.o(.text+0x82f): In function _INET$$_$$_TNET_$$_ADDRESSLOOKUP$LONGINT':<br/> : undefined reference to
h_errno'
inet.o(.text+0xb51): In function _INET$$_$$_TSERVICE_$$_NAMELOOKUP$STRING$STRING':<br/> : undefined reference to
h_errno'
inet.o(.text+0xc1c): more undefined references to `h_errno' follow
I have the same error even upon compiling the testinet.pp or pfinger.pp included on the package.
I just installed the new 1.0.10 freepascal on linux, so no changes made in it.
The error appears only upon linking, aborting the linking procedure.
I can't figure out what should be wrong
Additional information:
Reporter: Antal
EMail: antal at carmelcomputer dot com
Mantis conversion info:
- Mantis ID: 4830
- OS: Linux
- Version: 1.0.10
- Fixed in version: 1.9.2