Re: directory prefix on .o

2007-08-09 Thread Jan Engelhardt
On Aug 9 2007 19:08, NightStrike wrote: >> Unfortunately, it does not seem like the directory is encoded into the >> object file, hence automake will fail on me since it wants to use >> hooks.o for both hooks.c files. >> >> Is it currently possible to make the directory part of the object name, >>

Re: directory prefix on .o

2007-08-09 Thread NightStrike
On 8/9/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > Hi again :) > > > in a different project, I have a number of files that have the same > filename, but live in different directories, for example > > project/module1/hooks.c > project/module1/m1.c > project/module2/hooks.

directory prefix on .o

2007-08-09 Thread Jan Engelhardt
Hi again :) in a different project, I have a number of files that have the same filename, but live in different directories, for example project/module1/hooks.c project/module1/m1.c project/module2/hooks.c project/module2/m2.c etc. project/Makefil

Re: Overriding all commands in Makefile.am

2007-08-09 Thread NightStrike
On 8/9/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > * NightStrike wrote on Thu, Aug 09, 2007 at 04:49:00PM CEST: > > > > How do I individually override everything that takes place for a given > > target? > > I don't think there is a general way to do that. You can use 'make -n' > if you wish t

Re: .o naming seems strange

2007-08-09 Thread Brian Dessent
Jan Engelhardt wrote: > CC ccgfs_mount-mount.o ( mount.o ) > CC ccgfs_mount-packet.o( packet.o ) Your Makefile.am defines ccgfs_mount_CFLAGS. > CC storage.o ( ccgfs_storage-storage.o ) > CC packet.o( ccgfs_storage-packet.o )

Re: .o naming seems strange

2007-08-09 Thread Ralf Wildenhues
Hello Jan, * Jan Engelhardt wrote on Thu, Aug 09, 2007 at 09:11:41PM CEST: > > I observe that automake gives programs inconsistent .o names. For > example: Object file names are an internal detail of Automake. Imagine they depend upon the phase of the moon, that helps when writing Makefile.am

.o naming seems strange

2007-08-09 Thread Jan Engelhardt
Hi, I observe that automake gives programs inconsistent .o names. For example: Result when running make (beautified here): Expected result: CC fifo-unblock.o CCLD fifo-unblock CC fifo.o CC launch.o CCLD ccgfs-fifo CC

Re: Internal Error with 1.10, unterminated IF

2007-08-09 Thread Ralf Wildenhues
Hello Jason, * Jason Curl wrote on Mon, Jul 30, 2007 at 04:06:44PM CEST: > > Makefile.am > FILES = dir1 dir2 > if BUILD_DIR3 > FILES += dir3 > fi > SUBDIRS = $(FILES) > > Then you get an error output like: > Makefile.am:19: unterminated conditionals: BUILD_DIR3_TRUE > automake-1.10: ##

Re: Automake 1.10 "make check" created 519 errors

2007-08-09 Thread Ralf Wildenhues
Hello Robert, Thanks for the report. * [EMAIL PROTECTED] wrote on Wed, Aug 08, 2007 at 11:30:54PM CEST: > I ran configure and make with no switches and got no errors. Hmm, that's weird, in conjunction with all the test failures. > The legacy automake and autoconf are both version 1.9. Autoconf

Re: Overriding all commands in Makefile.am

2007-08-09 Thread Ralf Wildenhues
* NightStrike wrote on Thu, Aug 09, 2007 at 04:49:00PM CEST: > > How do I individually override everything that takes place for a given > target? I don't think there is a general way to do that. You can use 'make -n' if you wish to not execute commands, or override the RANLIB or AR or CC (or COM

Re: Build a lib, then example programs

2007-08-09 Thread Ralf Wildenhues
Hello Benoit, all, * Benoit SIGOURE wrote on Thu, Aug 09, 2007 at 10:12:02AM CEST: > > Hmm, that's not related to your problem but I *think* that you should do > something like this: > > nobase_include_HEADERS = DyConnect.h \ > libdconn/DasyneInterface.hpp \ > ... > libdconn/syn

Re: PING: Automake list

2007-08-09 Thread Ralf Wildenhues
Hello, * NightStrike wrote on Thu, Aug 09, 2007 at 04:42:19PM CEST: > On 8/9/07, Noah Slater <[EMAIL PROTECTED]> wrote: > > > I see no messages in the archives for this list for the past two > > > years. Is this list dead? If so, where is the appropriate place for > > > receiving automake suppor

Re: PING: Automake list

2007-08-09 Thread Alexey Beshenov
On Thursday 09 August 2007 18:46, Noah Slater wrote: > > I'm looking here: > > http://sources.redhat.com/ml/automake/ > > You're guess is a good as mine, sorry. http://lists.gnu.org/archive/html/automake/ -- Alexey Beshenov http://beshenov.ru/ +7-960-15-30-7-6-7

Re: PING: Automake list

2007-08-09 Thread Andreas Schwab
NightStrike <[EMAIL PROTECTED]> writes: > Where should I look instead for automake archives? Since the list is @gnu.org, you should be looking at lists.gnu.org. (Also, Gmane is a good place to look.) Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstr

Re: PING: Automake list

2007-08-09 Thread Luca Dionisi
http://lists.gnu.org/archive/html/automake/

Re: PING: Automake list

2007-08-09 Thread NightStrike
On 8/9/07, Noah Slater <[EMAIL PROTECTED]> wrote: > > I'm looking here: > > http://sources.redhat.com/ml/automake/ > > You're guess is a good as mine, sorry. I'm assuming that means that it's blank for you, too, then. Has nobody been checking the archives since 2005?

Overriding all commands in Makefile.am

2007-08-09 Thread NightStrike
Since this list is obviously not dead, here's my first of several questions: (this is all with automake 1.10) How do I individually override everything that takes place for a given target? For example, if I have this: lib_LIBRARIES = libmylib.a libmylib_a_SOURCES = source1.c source2.c The resu

Re: PING: Automake list

2007-08-09 Thread Noah Slater
> I'm looking here: > http://sources.redhat.com/ml/automake/ You're guess is a good as mine, sorry. -- "Creativity can be a social contribution, but only in so far as society is free to use the results." - R. Stallman

Re: PING: Automake list

2007-08-09 Thread NightStrike
On 8/9/07, Noah Slater <[EMAIL PROTECTED]> wrote: > > I see no messages in the archives for this list for the past two > > years. Is this list dead? If so, where is the appropriate place for > > receiving automake support? > > This is a very low volume list - but not /that/ low volume. > > You mu

Re: PING: Automake list

2007-08-09 Thread Noah Slater
> I see no messages in the archives for this list for the past two > years. Is this list dead? If so, where is the appropriate place for > receiving automake support? This is a very low volume list - but not /that/ low volume. You must looking in the wrong place. Noah -- "Creativity can be a

PING: Automake list

2007-08-09 Thread NightStrike
I see no messages in the archives for this list for the past two years. Is this list dead? If so, where is the appropriate place for receiving automake support?

Re: Build a lib, then example programs

2007-08-09 Thread Benoit SIGOURE
On Aug 9, 2007, at 12:58 AM, myrdos2 wrote: I've been trying to use the autotools to compile a static library. The lib itself compiles and installs OK, but I'm having trouble with the example programs. These programs must be linked with the lib to compile. I keep getting 'undefined refere

Re: Build a lib, then example programs

2007-08-09 Thread Ralf Wildenhues
Hello, * myrdos2 wrote on Thu, Aug 09, 2007 at 12:58:38AM CEST: > > lib_LIBRARIES = libdconn.a [...] > noinst_PROGRAMS = udpclient > udpclient_SOURCES = examples/udpclient.cpp > > My example program is udpclient. How would I link udpclient to libdconn.a, > and how would I make sure that udpclien

Re: Build a lib, then example programs

2007-08-09 Thread Alexandre Duret-Lutz
m> I keep getting 'undefined reference' errors when I try to m> compile them, even if the library has already been built. You're likely linking with the installed version, not the one you just built. m> My example program is udpclient. How would I link udpclient to libdconn.a, m> and how woul