Received: from snickers.hotpop.com (snickers.hotpop.com [204.57.55.49]) by postgresql.org (Postfix) with ESMTP id 46F06475D41 for ; Thu, 1 Aug 2002 01:19:43 -0400 (EDT) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by snickers.hotpop.com (Postfix) with SMTP id 7CBB273EC1 for ; Thu, 1 Aug 2002 05:19:38 +0000 (UTC) Received: from gam (unknown [202.155.70.116]) by smtp-2.hotpop.com (Postfix) with SMTP id B14391B8547 for ; Thu, 1 Aug 2002 05:19:37 +0000 (UTC) Message-ID: <001401c2391a$e3117420$d101a8c0@intra.magna.co.id> From: "Ahmad Munif" To: Subject: Getting "unknown host name ..." complied with static library ? Date: Thu, 1 Aug 2002 12:18:22 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Archive-Number: 200208/1 X-Sequence-Number: 2963 i'm using MingW (windows) to compile libpq program. if i used dynamic library (-lpqdll), the program can be compiled and running well (i can access the database). but, if i used static library (-lpq), the program can be compiled, but can't access the database. the error message is "unknown host name: 192.168.1.1". What's wrong and how to handle it ? thanks