Problem Building mcf5206elite BSP under Cygwin - Workaround Found
Scott J
scott.j at myrealbox.com
Wed Nov 5 03:38:20 UTC 2003
------ 'Steve Strobel' said the following on 2003-11-01 0:53 ------:
> I just got a successful build!!! (OK, maybe it isn't that exciting, but after you spend days beating your head against the wall...)
>
> I first verified that the "build_alias" error occurred at different places in the build process at different times, even when opening a new cygwin console and running EXACTLY the same sequence of commands each time. (In other words, something in the environment was inconsistent). On a hunch, I tried disabling my virus scanner's "file system real time protection" (it is Symantec AntiVirus Corporate Edition V8.1.0.825) and it built successfully. I still don't know why disabling the virus checker made a difference, but at least I have a way to get it to build now.
>
> I have tried leaving the virus checker enabled but excluding the cygwin directory tree; that doesn't seem to work. So the only workaround I know of at the moment is turning the real time protection completely off when rebuilding RTEMS. It doesn't report finding any viruses (no false positives as far as I can tell).
I also met the build_alias error these days but my experience was
different from Steve's. My problem and solution had nothing to do with
the anti-virus software. My host is Windows 2K Pro SP4 and cygwin. All
of my drives are FAT32 format. I don't install any anti-virus software
or firewall. Everytime I logon to Windows as Administrator.
First I used "configure --prefix=/usr/rtems --enable-rtems-inlines
--disable-posix --disable-itron --disable-networking --disable-cxx
--disable-multiprocessing --enable-tests --disable-rdbg --enable-docs"
I got the build_alias error.
Then I changed to "configure --prefix=/usr/rtems --disable-posix
--disable-itron --disable-networking --enable-tests --target=i386-rtems"
the configuration and make worked well.
You may notice that the first configure options and the second ones
are same on the whole. Options such as --enable-rtems_inlines,
--disable-cxx and --disable_rdbg are default settings. I thought the
first command I used should have the same effect as the second one did
but .... :(
......
--
Scott
More information about the users
mailing list