From mint-bounce@lists.fishpool.fi  Fri Aug 13 15:29:22 2010
X-Virus-Scanned: amavisd-new at demon.co.uk
Subject: Re: [MiNT] automake & configure (m4-1.4.1)
From: Alan Hourihane <alanh@fairlite.co.uk>
To: Matt Waller <mw333@hotmail.com>
Cc: mint <mint@lists.fishpool.fi>
In-Reply-To: <SNT125-W40CE7251A1000FD6585A63E6980@phx.gbl>
References: <0001c724.01b432629a82@smtp.freeola.net>
	 ,<0012797b.01b8d262c965@smtp.freeola.net>
	 <SNT125-W40CE7251A1000FD6585A63E6980@phx.gbl>
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 13 Aug 2010 20:25:55 +0100
Message-ID: <1281727555.9481.0.camel@jetpack.demon.co.uk>
Mime-Version: 1.0
X-Mailer: Evolution 2.30.2 
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: alanh@fairlite.co.uk
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

You need to either install the debug mintlib libraries or make sure
CFLAGS doesn't have -g in it.

Alan.

On Fri, 2010-08-13 at 20:12 +0100, Matt Waller wrote:
> Hi,
> I'm trying to do a few simple things to check my system is set up &
> build some confidence..
> I thought I'd try and get m4-1.4.1 to compile from source [because
> there's already one in sparemint, and I'd guess m4 is a fairly basic
> gnu utility]
> Anyway, I try ./configure and it generates a config.h file, and then
> when I make, I get lots of redefined symbols,
> I could manually mess with config.h so it gets closer to compiling.
> But I'd rather figure out the reasons for configure not doing its job
> correctly.
> 
> 
> Here are some lines from configure that don't seem right:
> checking for library containing strerror... no
> checking for tmpfile... no
> 
> 
> and config.log suggests its looking for c_g?
> Any obvious things I should check? Any obvious libraries I don't have?
> 
> 
> thanks,
> Matt.
> 
> 
> configure:2796: checking for library containing strerror
> configure:2826: gcc -o conftest -g -O2   conftest.c  >&5
> /usr/bin/ld: cannot find -lc_g
> collect2: ld returned 1 exit status
> configure:2832: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PRODUCT "m4"
> | #define VERSION "1.4.1"
> | /* end confdefs.h.  */
> | 
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char strerror ();
> | int
> | main ()
> | {
> | strerror ();
> |   ;
> |   return 0;
> | }
> 
> 


