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

Building latest snapshot



Has any one experienced this problem building the new snapshot. I'm running on cygwin b20 on NT.

configure run fine and creates a top level makefile and an m68k-rtemself directory with a directory c below that.

Then running make, it fails trying to run configure in the gen68360 directory below the c directory saying:

Configuring RTEMS_BSP=gen68360
/bin/sh: ../../../rtems-19990820.new/../rtems-19990820.new/c/src/configure: No such file or directory

The makefile has this code to create and configure the bsp:

gen68360: src/configure
 @set fnord $(MAKEFLAGS); amf=$$2; \
 test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
   echo "Configuring RTEMS_BSP=$$i"; \
   test -d $$i || mkdir $$i; \
   ( cd $$i && \
     RTEMS_BSP=$$i $(rtems_bsp_configure) \
     && $(MAKE) $(AM_MAKEFLAGS) preinstall ) \
   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
 done

and it seems as though it doesn't perform the cd $$i before trying to run the configure script. It does seem to create the directory and if I run it a second time, it complains that there is nothing to make for all in gen68360.

Sorry for the long email, anyone have any ideas?

Thanks

Peter

Oh BTW: I have to fix the following lines in the configure.in file in the c directory of the source tree else it didn;t even get this far:

old code:
## Adjust paths
case $srcdir in
/*) rtems_bsp_configure="$srcdir/src/configure";;
*)  rtems_bsp_configure="../$srcdir/src/configure";;
esac

new code:
## Adjust paths
case $srcdir in
*) rtems_bsp_configure="$srcdir/src/configure";;
/*)  rtems_bsp_configure="../$srcdir/src/configure";;
esac


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rtems.rtems.org/pipermail/rtems-users/attachments/19990824/3011b566/attachment.html