"build_alias" again in cygwin

Ralf Corsepius ralf_corsepius at rtems.org
Fri Aug 27 04:16:04 UTC 2004


On Thu, 2004-08-26 at 20:13, Scott Newell wrote:
> Someone pointed out that the cygwin binaries are available for download, so
> I tried a couple of rtems builds.  Building only the efi332 bsp took about
> 9 minutes on my machine and completed cleanly, with no build_alias errors.
> 
> However, building all the m68k bsps did not complete due to the dreaded
> build_alias problem:
> 
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating src/imfs/Makefile
> config.status: creating src/dosfs/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> configure: configuring in libmisc
> configure: running /bin/bash
> '../../../../../../rtems-4.6.1/c/src/../../cpukit/l
> ibmisc/configure' --prefix=/opt/rtems-4.6  '--prefix=/opt/rtems-4.6'
> '--host=m68
> k-rtems' '--build=i686-pc-cygwin' '--target=m68k-rtems' '--disable-posix'
> '--dis
> able-networking' '--disable-cxx' '--with-target-subdir=m68k-rtems'
> '--exec-prefi
> x=/opt/rtems-4.6/m68k-rtems' 'build_alias=i686-pc-cygwin'
> 'host_alias=m68k-rtems
> ' 'target_alias=m68k-rtems' 'RTEMS_BSP=dmv152' 'RTEMS_CPU_MODEL=m68020'
> 'RTEMS_B
> SP_FAMILY=dmv152' 'CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer'
> '--with-project-r
> oot=../../' '--enable-rtemsbsp=dmv152' '--cache-file=/dev/null'
> '--srcdir=../../
> ../../../rtems-4.6.1/c/src/../../cpukit' --cache-file=/dev/null
> --srcdir=../../.
> ./../../../rtems-4.6.1/c/src/../../cpukit/libmisc
> configure: error: invalid variable name: build_alias

... I see symptoms of one of my favorite suspects ... ;)

Can you please send me the <srcdir>/cpukit/libmisc/configure script of
the source tree that you had used when building?

> configure: error: /bin/bash
> '../../../../../../rtems-4.6.1/c/src/../../cpukit/li
> bmisc/configure' failed for libmisc
> configure: error: /bin/bash
> '../../../../../rtems-4.6.1/c/src/../../cpukit/confi
> gure' failed for ../../cpukit
> gmake[2]: *** [dmv152] Error 1
> gmake[2]: Leaving directory `/build-rtems/m68k-rtems/c'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/build-rtems/m68k-rtems/c'
> gmake: *** [all-recursive] Error 1
> 
> Here's my cygwin environment:
> 
> !::=::\
> !D:=D:\cygwin\bin
> !G:=G:\Documents and Settings\Administrator\Desktop
> ALLUSERSPROFILE=G:\Documents and Settings\All Users
> APPDATA=G:\Documents and Settings\Administrator\Application Data
> COMMONPROGRAMFILES=G:\Program Files\Common Files
> COMPUTERNAME=NEWELL
> COMSPEC=G:\WIN2K\system32\cmd.exe
> CVSROOT=:XXX:XXX at XXX:/usr/local/cvsroot
> CVS_RSH=/bin/ssh
> HOME=/home/Administrator
> HOMEDRIVE=G:
> HOMEPATH=\
> HOSTNAME=newell
> INFOPATH=/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:
> /usr/autotool/stable/info:
> LM_LICENSE_FILE=d:\apps\flexlm\license.dat
> LOGONSERVER=\\NEWELL
> MAKE_MODE=unix
> MANPATH=/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr
> /ssl/man
> NUMBER_OF_PROCESSORS=2
> OLDPWD=/
> OS2LIBPATH=G:\WIN2K\system32\os2\dll;
> OS=Windows_NT
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/g/WIN2K/system32:
> /cygdrive/g/WIN2K:/cygdrive/g/WIN2K/System32/Wbem:/cygdrive/d/apps/cvs:/usr/
> bin:/cygdrive/d/apps/diab/4.3g/win32/bin:/cygdrive/d/apps/tex/miktex/bin:/cy
> gdrive/c/util:/cygdrive/d/apps/bc5/BIN:/cygdrive/c/DOS:/cygdrive/c/DOS:/opt/
> rtems-4.6/bin

Same comment as to Steve H.: This should be 
PATH=/opt/rtems-4.6/bin:[...]

> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> PROCESSOR_ARCHITECTURE=x86
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
> PROCESSOR_LEVEL=15
> PROCESSOR_REVISION=0209
> PROGRAMFILES=G:\Program Files
> PROMPT=$P$G
> PS1=\[\033]0;\w\007
> \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> $ 
> PWD=/build-rtems
> SHLVL=1
> SYSTEMDRIVE=G:
> SYSTEMROOT=G:\WIN2K
> TEMP=/cygdrive/g/temp
> TERM=cygwin
> TMP=/cygdrive/g/temp
> USER=Administrator
> USERDOMAIN=NEWELL
> USERNAME=Administrator
> USERPROFILE=G:\Documents and Settings\Administrator
> WINDIR=G:\WIN2K
> _=/usr/bin/env
> 
> 
> cygcheck -c:
> 
> Cygwin Package Information
> Package                 Version            Status
> 
> _update-info-dir        00221-1            OK
> ash                     20031007-1         OK
> autoconf                2.57a-1            OK
> autoconf-devel          2.57-2             OK
> autoconf-stable         2.13-5             OK
> automake                1.7.5a-1           OK
> automake-devel          1.7.6-2            OK
> automake-stable         1.4p5-6            OK
> base-files              2.6-1              OK
> base-passwd             1.1-1              OK
> bash                    2.05b-16           OK
> bc                      1.06-1             OK
> binutils                20030901-1         OK
> bison                   20030307-1         OK
> byacc                   1.9-1              OK
> bzip2                   1.0.2-5            OK
> check                   0.8.4-1            OK
> clear                   1.0-1              OK
> clisp                   2.31-2             OK
> cmake                   1.8.1-1            OK
> cpio                    2.5-3              OK
> crypt                   1.1-1              OK
> ctags                   5.5-4              OK
> cvs                     1.11.6-3           OK
> cygipc                  2.02-1             OK
> cygutils                1.2.2-1            OK
> cygwin                  1.5.5-1            OK
AFAIK, this version is known to be problematic, but, as mentioned
before, I am not using Cygwin, so I don't know for sure.

> dejagnu                 20021217-2         OK
> diffutils               2.8.4-1            OK
> editrights              1.01-1             OK
> ELFIO                   1.0.0-1            OK
> emacs                   21.2-12            OK
> emacs-X11               21.2-12            OK
> expat                   1.95.6-2           OK
> expect                  20030128-1         OK
> file                    4.03-2             OK
> fileutils               4.1-2              OK
> findutils               4.1.7-4            OK
> flex                    2.5.4a-3           OK
> fortune                 1.8-2              OK
> gawk                    3.1.3-3            OK
> gcc                     3.3.1-2            OK
> gcc-mingw               20030911-3         OK
> gdb                     20030919-1         OK
> gdbm                    1.8.3-7            OK
> gettext                 0.12.1-3           OK
> gmp                     4.1.2-1            OK
> gperf                   2.7.2-1            OK
> grep                    2.5-1              OK
> groff                   1.18.1-2           OK
> gzip                    1.3.5-1            OK
> indent                  2.2.8-1            OK
> ioperm                  0.4-1              OK
> less                    381-1              OK
> libbz2_1                1.0.2-5            OK
> libdb3.1                3.1.17-2           OK
> libgdbm                 1.8.0-5            OK
> libgdbm-devel           1.8.3-7            OK
> libgdbm3                1.8.3-3            OK
> libgdbm4                1.8.3-7            OK
> libgettextpo0           0.12.1-3           OK
> libiconv2               1.9.1-3            OK
> libintl                 0.10.38-3          OK
> libintl1                0.10.40-1          OK
> libintl2                0.12.1-3           OK
> libjpeg6b               6b-8               OK
> libncurses5             5.2-1              OK
> libncurses6             5.2-8              OK
> libncurses7             5.3-4              OK
> libpcre                 4.1-1              OK
> libpcre0                4.4-2              OK
> libpng12                1.2.5-4            OK
> libpopt0                1.6.4-4            OK
> libreadline4            4.1-2              OK
> libreadline5            4.3-5              OK
> libtiff3                3.6.0-2            OK
> login                   1.9-7              OK
> lynx                    2.8.4-7            OK
> m4                      1.4-1              OK
> make                    3.80-1             OK
> man                     1.5j-2             OK
> mingw-runtime           3.2-1              OK
> mktemp                  1.5-3              OK
> more                    2.11o-1            OK
> nano                    1.2.2-1            OK
> ncurses                 5.3-4              OK
> openssh                 3.7.1p2-1          OK
> openssl                 0.9.7c-1           OK
> openssl096              0.9.6j-1           OK
> patch                   2.5.8-8            OK
> patchutils              0.2.22-2           OK
> pcre                    4.4-2              OK
> pcre-doc                4.4-2              OK
> perl                    5.8.0-5            OK
> pilrc                   3.1                OK
> prc-tools               2.3                OK
> prc-tools-htmldocs      2.3                OK
> python                  2.3.2-1            OK
> readline                4.3-5              OK
> rsync                   2.5.6-2            OK
> ruby                    1.8.0-2            OK
> rxvt                    2.7.10-3           OK
> sed                     4.0.7-3            OK
> sh-utils                2.0.15-4           OK
> sharutils               4.2.1-3            OK
> splint                  3.1.1-1            OK
> tar                     1.13.25-3          OK
> tcltk                   20030901-1         OK
> tcsh                    6.12.00-7          OK
> termcap                 20021106-2         OK
> terminfo                5.3_20030726-1     OK
> texinfo                 4.2-4              OK
> textutils               2.0.21-1           OK
> time                    1.7-1              OK
> unzip                   5.50-5             OK
> w32api                  2.4-1              OK
> wget                    1.8.2-2            OK
> which                   1.5-2              OK
> whois                   4.6.7-1            OK
> XFree86-base            4.3.0-1            OK
> XFree86-bin             4.3.0-5            OK
> XFree86-etc             4.3.0-3            OK
> XFree86-fenc            4.2.0-3            OK
> XFree86-fnts            4.2.0-3            OK
> XFree86-lib             4.3.0-1            OK
> XFree86-lib-compat      4.3.0-1            OK
> XFree86-startup-scripts 4.2.0-5            OK
> XFree86-xserv           4.3.0-20           OK
> zip                     2.3-5              OK
> zlib                    1.1.4-4            OK
> 
> What else can I do to narrow down the cause?

I'd be highly interested in seeing your
<sourcedir>/cpukit/libmisc/configure, after the breakdown has occurred.

Ralf





More information about the users mailing list