"Source directory already configured" error when running configure.

Travis Wheatley travis.wheatley at emergentspace.com
Wed Mar 16 16:16:32 UTC 2016


I have changed some compilation parameters in a bsp .cfg file in the make/custom directory. Now I am attempting to run configure to propagate those changes through the files used to build test examples. However, when I run configure I am getting an error indication that there is a source directory already configured. The error message suggests that I should run "make distclean" from the offending location. However, I have not been successful in figuring out where that location might be.

I have, of course, manually traversed my build tree and run "make distclean" in pretty much every directory along the way without success. Hoping y'all might be able to clue me in as to the offending directory. Following is the last stanza of the failed configure operation.


--- Begin Included Text ---

configure: configuring in powerpc-rtems4.12/c
configure: running /bin/sh '../../../rtems-git/c/configure' '--prefix=/home/firefly/development/rtems/bsps/4.12' '--host=powerpc-rtems4.12' '--build=x86_64-pc-linux-gnu' '--target=powerpc-rtems4.12'  '--enable-tests=samples' '--enable-networking' '--enable-posix' '--with-target-subdir=powerpc-rtems4.12' '--exec-prefix=/home/firefly/development/rtems/bsps/4.12/powerpc-rtems4.12' '--includedir=/home/firefly/development/rtems/bsps/4.12/powerpc-rtems4.12/include'  '--cache-file=/dev/null' '--srcdir=../../../rtems-git/c'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.11.99.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... powerpc-unknown-rtems4.12
checking target system type... powerpc-unknown-rtems4.12
checking rtems target cpu... powerpc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for powerpc-rtems4.12-strip... powerpc-rtems4.12-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: error: source directory already configured; run "make distclean" there first
configure: error: /bin/sh '../../../rtems-git/c/configure' failed for c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160316/6c9351c0/attachment.html>


More information about the users mailing list