denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Build Error from libsmf.a


From: Richard Shann
Subject: Re: [Denemo-devel] Build Error from libsmf.a
Date: Mon, 08 Jun 2009 16:26:42 +0100

On Mon, 2009-06-08 at 07:55 -0500, Jeremiah Benham wrote:
> On Mon, 2009-06-08 at 11:28 +0100, Richard Shann wrote:
> > On Mon, 2009-06-08 at 02:51 -0500, Jeremiah Benham wrote:
> > > On Sat, 2009-06-06 at 16:50 +0100, Richard Shann wrote:
> > > > On Sat, 2009-06-06 at 10:04 +0100, Richard Shann wrote:
> > > > > On Thu, 2009-06-04 at 10:50 +0200, Nils Gey wrote:
> > > > > > Hi,
> > > > > > 
> > > > > > make gives me an error: 
> > > > > > 
> > > > > > make[2]: *** No rule to make target `../libsmf/libsmf.a', needed by 
> > > > > > `denemo'.  Stop.
> > > > > 
> > > > > I can still build ok.
> > > > However, doing autogen.sh generates a configure file that reproduces the
> > > > problem for me as well.
> > > 
> > > I can't seem to reproduce this.
> > You have done distclean and autogen.sh I guess?
> > >  I pushed libsmf to the top of the subdir
> > > list in Makefile.am. Let me know if this fixes it for you.
> > 
> > This didn't help, unfortunately - it did start building in libsmf, but
> > still ended with ...
> > 
> > make[2]: *** No rule to make target `../libsmf/libsmf.a', needed by
> > `denemo'.  Stop.
> > make[2]: Leaving directory `/home/rshann/git-denemo/newbuild/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/rshann/git-denemo/newbuild'
> > make: *** [all] Error 2
> > address@hidden:~/git-denemo/newbuild$ ls -lrt libsmf
> > total 252
> > -rw-r--r-- 1 rshann rshann 25359 2009-06-08 09:09 Makefile
> > -rw-r--r-- 1 rshann rshann 39068 2009-06-08 09:09 libsmf_la-smf.o
> > -rw-r--r-- 1 rshann rshann   346 2009-06-08 09:09 libsmf_la-smf.lo
> > -rw-r--r-- 1 rshann rshann 25360 2009-06-08 09:09 libsmf_la-smf_decode.o
> > -rw-r--r-- 1 rshann rshann   367 2009-06-08 09:09
> > libsmf_la-smf_decode.lo
> > -rw-r--r-- 1 rshann rshann 32116 2009-06-08 09:09 libsmf_la-smf_load.o
> > -rw-r--r-- 1 rshann rshann   361 2009-06-08 09:09 libsmf_la-smf_load.lo
> > -rw-r--r-- 1 rshann rshann 27508 2009-06-08 09:09 libsmf_la-smf_save.o
> > -rw-r--r-- 1 rshann rshann   361 2009-06-08 09:09 libsmf_la-smf_save.lo
> > -rw-r--r-- 1 rshann rshann 21540 2009-06-08 09:09 libsmf_la-smf_tempo.o
> > -rw-r--r-- 1 rshann rshann   364 2009-06-08 09:09 libsmf_la-smf_tempo.lo
> > -rw-r--r-- 1 rshann rshann  1294 2009-06-08 09:09 libsmf.la
> > -rw-r--r-- 1 rshann rshann 37764 2009-06-08 09:09 smfsh-smfsh.o
> > -rwxr-xr-x 1 rshann rshann  5654 2009-06-08 09:09 smfsh
> > 
> 
> Yes. That solves it you are missing libsmf/Makefile.am. 

I should have explained that this is not an in-place configure & build,
but one in a parallel directory. So there is no .c or .h files either. I
am building now in two directories (normally) a jack and a nojack build.
For testing the problem Nils found I created a new directory and
did ../denemo/configure, make to create the files you see in that
listing.
I am still able to build in my jack and nojack directories because, I
suspect, I still have the required libsmf.a built, and I have never
cleaned. But I am skating on thin ice now, if I clean I will not be able
to re-build.
I have just tried to do an in-place build, and that has failed as well.
Can you find the rule in your libsmf/Makefile that builds the libsmf.a?

Richard




>  I wonder why
> you don't have it. Its in git. See here:
> 
> http://git.savannah.gnu.org/cgit/denemo.git/tree/libsmf/Makefile.am
> 
> Jeremiah
> 
> 
> > 
> > Attached is the Makefile from newbuild/libsmf, this should have the
> > libsmf.a target in it but doesn't, I guess. Can I send anything else
> > that might shed light on the problem?
> > In the end we can just put the libsmf stuff in src if we can't figure it
> > out. Does anyone know when it stopped working? There is some fancy git
> > binary search for this sort of problem as I recall. But that must be
> > overkill in this case, libsmf has only been there a short while.
> > 
> > Richard
> > 
> > 
> > > 
> > > Jeremiah 
> > > 
> > > 
> > > > Richard
> > > > 
> > > > 
> > > > 
> > > > >  I guess the order of building is not being
> > > > > controlled. If so, a simple workaround is to do
> > > > > 
> > > > > make -k
> > > > > 
> > > > > and when that is finished: 
> > > > > 
> > > > > make
> > > > > 
> > > > > and it should build libsmf. Alternatively
> > > > > cd libsmf
> > > > > make
> > > > > cd ..
> > > > > make
> > > > > 
> > > > > should also work around the bug.
> > > > > 
> > > > > Richard
> > > > > 
> > > > > 
> > > > > 
> > > > > > 
> > > > > > Nils
> > > > > > 
> > > > > > 
> > > > > > _______________________________________________
> > > > > > Denemo-devel mailing list
> > > > > > address@hidden
> > > > > > http://lists.gnu.org/mailman/listinfo/denemo-devel
> > > > > 
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > Denemo-devel mailing list
> > > > > address@hidden
> > > > > http://lists.gnu.org/mailman/listinfo/denemo-devel
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Denemo-devel mailing list
> > > > address@hidden
> > > > http://lists.gnu.org/mailman/listinfo/denemo-devel
> > > 
> 





reply via email to

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