Forum Discussion
Altera Monitor Program Error in Win8
Hi everybody
I'm trying to realize a simple project using Altera Monitor Program on a PC with Win8. but when I'm going to compile the C source I receive the following error. 0 [main] bash 14212 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list [email protected] Please note that the same project works perfectly on a older PC (with Win7 and maybe with a older release of Altera Monitor Program) Any suggestion ? Thanks in advance15 Replies
- Altera_Forum
Honored Contributor
Adding some observation:
I've realized the problem comes from a not updated version of "cygwin" present in the tool Quartus. I've tryed to substitute the entire cygwin directory located inside quartus with a newest one. Now the warning does not appear and the compilation seems to work fine (both the .elf and the .srec file are genereted) But the download of the file to the board does not work (and even the connection to the board fails) Probably due to a problem in the JTAG UART connection. Howevere using the previous version of cygwin it was the opposite The JTAG connection works but the compilation fails - Altera_Forum
Honored Contributor
Probably I've found tyhe solution:
I've downloaded the cygwin new release (both the 32 and the 64 bit) and I've used them to substitute the cygwin software delivered with quartus. Moreover remember to include during the installation of cygwin the "perl" utility. - Altera_Forum
Honored Contributor
--- Quote Start --- Probably I've found tyhe solution: I've downloaded the cygwin new release (both the 32 and the 64 bit) and I've used them to substitute the cygwin software delivered with quartus. Moreover remember to include during the installation of cygwin the "perl" utility. --- Quote End --- Thank you! Worked perfectly for me running on Windows 8.1. - Altera_Forum
Honored Contributor
hi there :D
Could you provide me some more detail information about how to install the cywind, please? i did a very simple example with qsys but my eclipse can not generate the elf file. The build log shows some error that it cannot compute FAST_CWD pointer. - Altera_Forum
Honored Contributor
--- Quote Start --- Probably I've found tyhe solution:I've downloaded the cygwin new release (both the 32 and the 64 bit) and I've used them to substitutethe cygwin software delivered with quartus.Moreover remember to include during the installation of cygwin the "perl" utility. --- Quote End --- Thanks for this info - I'm also getting the warning: couldn't compute fast_cwd pointer problem on Windows 8.1.I found that the default install for cygwin doesn't include gcc or g++ so you also have to include the devel package in the installation options (or at least some of it, the whole devel package brings the cygwin install up to 4GB, which is quite a lot and not really necessary). - Altera_Forum
Honored Contributor
or may be you just simply scroll to the bottom of this page and download the patch:
http://www.altera.com/education/univ/unv-index.html it says the patch is for quartus 13.1 but i find out it works for 13.0sp1 too. - Altera_Forum
Honored Contributor
--- Quote Start --- or may be you just simply scroll to the bottom of this page and download the patch: http://www.altera.com/education/univ/unv-index.html it says the patch is for quartus 13.1 but i find out it works for 13.0sp1 too. --- Quote End --- I'm using quartus 14.0, but I'll give the patch a try. Thanks. - Altera_Forum
Honored Contributor
I too am having this problem but in the NIOS Eclipse tools - though it will all be using the same Cygwin toolset. I tried to use the patch but it doesn't work with Quartus 14 - basically after extracting it as instructed NIOS stops being able to compile the smallc library. I checked the log file and that says something along the lines of "gcc cannot produce executable" (can't remember the exact wording).
Any suggestions? - Altera_Forum
Honored Contributor
That sounds like an error from autoconf building some host tool.
- Altera_Forum
Honored Contributor
After extracting the zip (I've tried using windows, 7-zip, and Cygwin 'unzip'), if I open cygwin in the quartus directory and try typing gcc and pressing enter, nothing happens - the command silently fails. In the version that came with the quartus download gcc commands work as expected except for the FAST_CWD warning.
One thing I notice is that when I start the patched cygwin I see this: " Your group is currently "mkpasswd". This indicates that your gid is not in /etc/group and your uid is not in /etc/passwd. The /etc/passwd (and possibly /etc/group) files should be rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] > /etc/passwd mkgroup -l [-d] > /etc/group Note that the -d switch is necessary for domain users." Which was not happening on the unpatched version. Edit: I tried the commands it suggested and that got rid of the messages but hasn't fixed gcc.