Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 4B3AC2E0074 for ; Mon, 14 Jan 2008 20:18:32 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 57908-08 for ; Mon, 14 Jan 2008 20:18:14 -0400 (AST) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by postgresql.org (Postfix) with ESMTP id 7C7732E00B3 for ; Mon, 14 Jan 2008 20:18:18 -0400 (AST) Received: by fg-out-1718.google.com with SMTP id 22so2326573fge.23 for ; Mon, 14 Jan 2008 16:18:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=wnckZwSZoKCzsoF4tDCCpDibGvAOjseLpaYLrqprVOo=; b=IP6aazDEe1bJAK1H47J/y3YbK7l8iY1TT49gOr7gfxxBaSN4JaRCUVmpmTncPQKPXZNQ5777/Xh/9MQQCBCXXWVT9EF8/jXJPESTqkMSr4HLqMRAxsbQRWIUO9nW2G6UFDETZvKjhji0Xlqs+8Ewz1Hjw7peTiuT7DeU2S9cJkg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=VUx8jmNzA2l+UqcUR2ka48oBpb1BkU+ec3zFpst+6I3C4Q+y2Zvhv2mWLMhvR+st/47HVFmtMOfAGca1Sq9/OpbWXzCP+nlobljwnQhyKGd42w+P6j/reQzwPNqAG8i/TG8qUGhWpX1GFHYTkYdUMogWLhK93ssT0Kzw0goEzio= Received: by 10.82.159.15 with SMTP id h15mr12025818bue.36.1200356296536; Mon, 14 Jan 2008 16:18:16 -0800 (PST) Received: by 10.82.178.18 with HTTP; Mon, 14 Jan 2008 16:18:16 -0800 (PST) Message-ID: <6910a60801141618p657441ey605cc700a3daa0bb@mail.gmail.com> Date: Mon, 14 Jan 2008 19:18:16 -0500 From: "Reini Urban" To: "Maciej Grygorcewicz" Subject: Re: Re :Problem with Compiling C function Cc: pgsql-cygwin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 3ed07e07805c2aaa X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/4 X-Sequence-Number: 4386 2008/1/14, Maciej Grygorcewicz : > 2008/1/9, Maciej Grygorcewicz : > >> But linker threw such errors: > > >" > >> Unresolved External: _pgwin32_fopen referended from .... // and so on > > >Unresolved External: _pg_sprintfl referended from .... // and so on " > >> > >> Why???? I have included postgres.h , and all other required files . > > >-lpgport is needed. > > Thanks for the response. But I have few questions > Is this a compiler / linker switch . Can I turn it on on Builder . or have I > to use gcc or g++?? We only support the gnu compiler on cygwin. I don't know builder. Better ask at the -win32 list.