delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/14/02:26:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <425E0D72.2E2005A8@dessent.net>
Date: Wed, 13 Apr 2005 23:28:02 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Installing Courier-Imap
References: <425CABBC DOT 1040504 AT yahoo DOT co DOT uk> <425CB466 DOT 26E80E7F AT dessent DOT net> <425DF35D DOT 5040800 AT yahoo DOT co DOT uk> <425DF8C5 DOT 4B0179C8 AT dessent DOT net> <425DFDF5 DOT 6020900 AT yahoo DOT co DOT uk>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Kees Vonk wrote:

Okay, the .la is just the libtool version of an .a file.  That's all
fine and good.

> gcc -I./.. -I.. -Wall -g -O2    makedatprog.c   -o makedatprog

This is your problem.  make is invoking an implicit rule for
makedatprog, rather than the one specified by the Makefile which
contains all the required libs.  This happens when the Makefile doesn't
use $(EXEEXT) for names of executables.  It doesn't matter under linux
because binares have no extensions but it's required for Cygwin.  You
probably need to change Makefile.am to

EXTRA_PROGRAMS=makedatprog$(EXEEXT)

...and then autoreconf to regenerate all the files.  There may be other
cases where a binary name is referenced without $(EXEEXT) that you will
have to correct.  You should take this up on the courier list though.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019