automake 1.6.3 running on RH 9.0 using GCC 3.2.2

From: dev o'null (devicenull_at_linuxmail.org)
Date: 10/14/03


Date: 14 Oct 2003 03:04:13 -0700

automake 1.6.3 running on RH 9.0 using GCC 3.2.2

Makefile.am

using documentation which seems to allow for the following:

lib_LIBRARIES = m2lib.a
m2lib_a_SOURCES = mlib.h m2.h m3.h

The actual files are located in
./foo/m2.h
./foo/m3.h
./bar/mlib.h

my Makefile.am includes a line for the subdirs
bin_PROGRAMS = m2
m2_SOURCES = m1.c
SUBDIRS = src foo bar

The error i am constantly getting is
automake: Makefile.am: `m2lib.a' is not a standard library name

directly contradicts the documentation i am reading, unless it is that
automake does not support user libraries in subdirs.

incidentally the other error i was getting was
Makefile.am: required file `./depcomp' not found

if i run 'automake -i' that disappears
i failed to find clear documentation on this solution.



Relevant Pages

  • Re: Shared Libraries : library paths ??
    ... I've readed in the documentation of automake and autoconf something about a ... de-ansification feature that can be used in that cases. ...
    (comp.os.linux.development.system)
  • Re: Shared Libraries : library paths ??
    ... I've readed in the documentation of automake and autoconf something about a ... de-ansification feature that can be used in that cases. ...
    (comp.unix.programmer)
  • Re: Shared Libraries : library paths ??
    ... I've readed in the documentation of automake and autoconf something about a ... de-ansification feature that can be used in that cases. ...
    (comp.os.linux.development.apps)
  • Re: Using automake
    ... SUBDIRS = src ... bin_PROGRAMS = livecdrecorder ... The examples in the automake manual are just too trivial for my taste. ... Laurent Guignard, Registered as user #301590 with the Linux Counter ...
    (Debian-User)
  • Re: automake & missing subdirs
    ... > Is there any way to define things such that automake a) doesn't fail ... > SUBDIRS for subdirs ... If you aren't using automake in these optional trees, ... Roger Leigh ...
    (comp.os.linux.development.apps)