4.5.0 Build Problem - make distclean

Steve DeLaney steve.delaney at pacific-computing.com
Sat Aug 18 04:17:10 UTC 2001

I'm building 4.5.0 for 68360 (deliquent upgrade from 3.6.0 !)

On caldera linux build machine, with vanilla 4.5.0, I've successfully completed clean build, and run tests/samples/hello on target.  So far so good.

Next I'm attempting to "splice" netdemos into the source tree in ...c/src/tests.  Netdemos doesn't have its own makefile.am or configure.in.  
With respect to the instructions in 4.5. FAQ section 4.2, I've created and edited Makefile.ams, configure.ins, run automake and autoconf

Next in my build directory, while attempting configure and make to pull in the netdemos subdirectory, 
I've run into this:

/bin/sh ./config.status --recheck
running /bin/sh ../../../../../rtems-4.5.0/c/src/tests/configure  --target=m68k-rtems --with-target-subdir=m68k-rtems --cache-file=.././config.cache --srcdir=../../../../../rtems-4.5.0/c/src/tests --no-create --no-recursion
loading cache .././config.cache
checking for RTEMS Version... 4.5.0
checking host system type... i686-pc-linux-gnu
checking target system type... m68k-unknown-rtems
checking build system type... i686-pc-linux-gnu
checking rtems target cpu... m68k
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
configure: error: source directory already configured; run make distclean there first
make: *** [config.status] Error 1

make distclean gives me the same error...

The questions are:
1) what is the recommended way to introduce code into the source tree?  After we complete netdemos, then we need to splice our 3.6.0 application code in the source tree.
2) what is the recommended way to build it?
3) is it advisable to run a make distclean in src directory?  From what I can see Makefiles in the src tree are sparse.


Steve DeLaney
Pacific Computing
Wideband Cable, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20010817/898660ca/attachment.html>

More information about the users mailing list