Giter VIP home page Giter VIP logo

Comments (10)

jtrmal avatar jtrmal commented on May 17, 2024

Is it a fresh clone? Or just an update?
If update, do make clean and make depend again
Kws-funxtions have moved to a new lib a while ago.
Contact me directly if still not working
Y.
On Jul 23, 2015 6:11 PM, "Nicola Montecchio" [email protected]
wrote:

The output of running make in the src directory follows below. This
particular attempt was configured with ./configure --use-cuda=no
--openblas-root=/usr/local/opt/openblas, but different configurations
behave the same way (always fail to build kaldi-lat.a). tools/ builds
fine.

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lat
Makefile:29: warning: overriding commands for target kaldi-lat.a' ../makefiles/default_rules.mk:35: warning: ignoring old commands for targetkaldi-lat.a'
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o kaldi-lattice.o kaldi-lattice.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o lattice-functions.o lattice-functions.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o word-align-lattice.o word-align-lattice.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o phone-align-lattice.o phone-align-lattice.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o word-align-lattice-lexicon.o word-align-lattice-lexicon.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o sausages.o sausages.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o push-lattice.o push-lattice.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o minimize-lattice.o minimize-lattice.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o determinize-lattice-pruned.o determinize-lattice-pruned.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Winit-self -DHAVE_EXECINFO_H=1 -DHAVE_CXXABI_H -DHAVE_CLAPACK -I/Users/echonest/repos/kaldi/tools/openfst/include -Wno-sign-compare -g -Wno-mismatched-tags -stdlib=libstdc++ -c -o confidence.o confidence.cc
ar -d kaldi-lat.a kws-functions.o
ar: kaldi-lat.a: No such file or directory
make[1]: *** [kaldi-lat.a] Error 1
make: *** [lat] Error 2


Reply to this email directly or view it on GitHub
#22.

from kaldi.

nicolamontecchio avatar nicolamontecchio commented on May 17, 2024

fresh clone; did make depend and make but that's the error

from kaldi.

jtrmal avatar jtrmal commented on May 17, 2024

I'm afk, will look into it in 2 hrs
Y.
On Jul 23, 2015 6:24 PM, "Nicola Montecchio" [email protected]
wrote:

fresh clone; did make depend and make but that's the error


Reply to this email directly or view it on GitHub
#22 (comment).

from kaldi.

jtrmal avatar jtrmal commented on May 17, 2024

Ok, can you please change line 29 in lat/Makefile to

test -f $(LIBNAME).a && $(AR) -d $(LIBNAME).a kws-functions.o

and test again, I don;t have access to MacOS, so I cannot test it. But
this should resolve the problem.
Be careful about the whitespaces in the Makefile

y.

On Thu, Jul 23, 2015 at 6:28 PM, Jan Trmal [email protected] wrote:

I'm afk, will look into it in 2 hrs
Y.
On Jul 23, 2015 6:24 PM, "Nicola Montecchio" [email protected]
wrote:

fresh clone; did make depend and make but that's the error


Reply to this email directly or view it on GitHub
#22 (comment).

from kaldi.

nicolamontecchio avatar nicolamontecchio commented on May 17, 2024

didn't work :(
(also made a make clean and depend to be sure)

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lat
Makefile:29: warning: overriding commands for target `kaldi-lat.a'
../makefiles/default_rules.mk:35: warning: ignoring old commands for target `kaldi-lat.a'
test -f kaldi-lat.a && ar -d kaldi-lat.a kws-functions.o
make[1]: *** [kaldi-lat.a] Error 1
make: *** [lat] Error 2

from kaldi.

jtrmal avatar jtrmal commented on May 17, 2024

Ok, I still don understand, but let's just ignore the error -- please
prepend '-' to the former command, i.e. it will look like:

-$(AR) -d $(LIBNAME).a kws-functions.o

that will ignore the return code (we don't need it anyway).
y.

On Thu, Jul 23, 2015 at 7:04 PM, Nicola Montecchio <[email protected]

wrote:

didn't work :(
(also made a make clean and depend to be sure)

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lat
Makefile:29: warning: overriding commands for target kaldi-lat.a' ../makefiles/default_rules.mk:35: warning: ignoring old commands for targetkaldi-lat.a'
test -f kaldi-lat.a && ar -d kaldi-lat.a kws-functions.o
make[1]: *** [kaldi-lat.a] Error 1
make: *** [lat] Error 2


Reply to this email directly or view it on GitHub
#22 (comment).

from kaldi.

jtrmal avatar jtrmal commented on May 17, 2024

OK, I just removed the kaldi-lat custom rule. It does not matter now. Can you please test?

from kaldi.

danpovey avatar danpovey commented on May 17, 2024

I wonder if the right way to do it is to just change
$(AR) -d $(LIBNAME).a kws-functions.o
to
-$(AR) -d $(LIBNAME).a kws-functions.o
so it will never generate an error.

Dan

On Fri, Jul 24, 2015 at 11:20 AM, jtrmal [email protected] wrote:

OK, I just removed the kaldi-lat custom rule. It does not matter now. Can
you please test?


Reply to this email directly or view it on GitHub
#22 (comment).

from kaldi.

danpovey avatar danpovey commented on May 17, 2024

... or whatever. no problem.

On Fri, Jul 24, 2015 at 11:55 AM, Daniel Povey [email protected] wrote:

I wonder if the right way to do it is to just change
$(AR) -d $(LIBNAME).a kws-functions.o
to
-$(AR) -d $(LIBNAME).a kws-functions.o
so it will never generate an error.

Dan

On Fri, Jul 24, 2015 at 11:20 AM, jtrmal [email protected] wrote:

OK, I just removed the kaldi-lat custom rule. It does not matter now. Can
you please test?


Reply to this email directly or view it on GitHub
#22 (comment).

from kaldi.

nicolamontecchio avatar nicolamontecchio commented on May 17, 2024

i tested this on my home computer (mac - same setup in terms of os/xcode versions) and it worked

thanks for your help

from kaldi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.