Hi Steve, Unless you're using make's -j option, there should not be any concurrency issues. Check the command line and your MAKEFLAGS variable.
Best regards, Marcel Loose. On Wed, 2009-08-19 at 17:31 -0700, Steve Mathers wrote: > Hi Michael. that option is what I am already doing, which is why I am > confused. 'make' from the terminal works great, 'make' from eclipse craps > out. > > I tried running eclipse from the terminal, and it didnt help. > > I noticed something else strange > > here is the output from eclipse once I have done a make from the terminal, > then done a build in eclipse (essentially nothing to do, so eclipse doesnt > bomb) > > > **** Build of configuration Linux GCC for project mdc **** > > make VERBOSE=1 -d > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > This program built for i686-redhat-linux-gnu > Reading makefiles... > Reading makefile `Makefile'... > Updating makefiles.... > Considering target file `Makefile'. > Looking for an implicit rule for `Makefile'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `Makefile,v'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `RCS/Makefile,v'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `RCS/Makefile'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `s.Makefile'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `SCCS/s.Makefile'. > No implicit rule found for `Makefile'. > Finished prerequisites of target file `Makefile'. > No need to remake target `Makefile'. > Updating goal targets.... > > etc.... > > -------------------------------------------------------------------------------------------------------------------------------------------------------- > NOW, here is the output having modfiied foo so that it needs to be rebuilt. > (one run) > > > > **** Build of configuration Linux GCC for project mdc **** > > make VERBOSE=1 -d > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > This program built for i686-redhat-linux-gnu > Reading makefiles... > Reading makefile `Makefile'... > Updating makefiles.... > Considering target file `Makefile'. > Looking for an implicit rule for `Makefile'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `Makefile,v'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `RCS/Makefile,v'. > make[2]: *** [CMakeFiles/appmonitor.dir/AppMonitor/foo.cpp.o] Error 1 > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `RCS/Makefile'. > make[1]: *** [CMakeFiles/appmonitor.dir/all] Error 2 > make: *** [all] Error 2 > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `s.Makefile'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `SCCS/s.Makefile'. > No implicit rule found for `Makefile'. > > ---------------------------------------------------------------------------------------------------------------------------------- > and here is the output of a second run... > > notice how the errors are reported in different stages... is that because > there is some kind of concurrnecy thing going on with the build or what? Is > it important? I have no clue about this, but it seems to me that eclipse is > alomst trying to compete with the makefile if that makes sense? I dont > know... > > **** Build of configuration Linux GCC for project mdc **** > > make VERBOSE=1 -d > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > make[2]: *** [CMakeFiles/appmonitor.dir/AppMonitor/foo.cpp.o] Error 1 > make[1]: *** [CMakeFiles/appmonitor.dir/all] Error 2 > make: *** [all] Error 2 > PARTICULAR PURPOSE. > > This program built for i686-redhat-linux-gnu > Reading makefiles... > Reading makefile `Makefile'... > Updating makefiles.... > Considering target file `Makefile'. > Looking for an implicit rule for `Makefile'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `Makefile,v'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `RCS/Makefile,v'. > Trying pattern rule with stem `Makefile'. > Trying implicit prerequisite `RCS/Makefile'. > Trying pattern rule with stem `Makefile'. > > > ----- Original Message ---- > > > Message: 4 > > Date: Wed, 19 Aug 2009 09:56:35 -0400 > > From: Michael Jackson > > Subject: Re: [CMake] eclipse-cmake bug - more info > > To: Cmake Mailing List > > Message-ID: <418516b5-1a33-4599-93b9-8752fc2da...@bluequartz.net> > > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > > > Another similar approach to try and diagnose the problem would be to > > have CMake generate plain Makefiles > > > > http://www.cmake.org/Wiki/CMake:Eclipse_UNIX_Tutorial > > > > Use "Option 2" from that tutorial. > > > > You should be able to build your project from the terminal with > > "Make" and from Eclipse. Both should give you the same results. > > > > Also, something I have noticed is that I have to launch Eclipse > > _from the terminal_ in order to get my environment correct. If I click > > on the Eclipse icon in the Linux GUI (KUbuntu) then I have noticed > > that Eclipse can not find somethings. odd. > > > > Just another thought. > > _________________________________________________________ > > Mike Jackson mike.jack...@bluequartz.net > > > > __________________________________________________________________________________ > Find local businesses and services in your area with Yahoo!7 Local. > Get started: http://local.yahoo.com.au > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake