automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Makefile error in simple library


From: Gavin Smith
Subject: Re: Makefile error in simple library
Date: Wed, 20 Aug 2014 01:30:17 +0100

On Wed, Aug 20, 2014 at 12:47 AM, Arthur Schwarz <address@hidden> wrote:
> I'm trying to build and distribute a static library and keep getting a "
> warning: 'libslip.a': linking libraries using a non-POSIX  archiver requires
> AM_PROG_AR' in 'configure.ac'" message. I don't know why.
>
> The configure.ac lines in question are: (I think)
>
> AC_CONFIG_FILES([
>       Makefile
>       src/Makefile
> ])
>
> # automake macro's - REQUIRED
> AM_INIT_AUTOMAKE([-Wall -Werror])
>
> # linking libraries using a POSIX archiver
> #AM_PROG_AR
>

I don't think that "#" should be there.

>
> From Section Automake Manual Section 8.2 Building a Library it should work.
> I've been hitting a wall on this, any ideas would be appreciated.
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]