Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

Qsys Error: Failed to elaborate classic module C:/Users/.../yysystem.ptf

Altera_Forum
Honored Contributor II
1,278 Views

Hello, 

i didn't touch my project for a while. 

Now i get the error: 

Error: Failed to elaborate classic module C:/Users/.../AppData/Local/Temp/alt7407_3755802541581721576.dir/0007_sopclgen/yysystem.ptf (254) 

 

In other topics they told to close qsys, quartus and reboot the system but that all didn't help. 

 

I only changed some c and h files on my NIOSII code (nothing related to the qsys) 

Is maybe the quartus installation corrupt? If maybe yes, how to reinstall it preferably (install over the old, remove reinstall)? 

 

Quartus II 64Bit 12.1 SP1 installed 

 

Below the last messages of th Generate log before the error occurs: 

 

Info: Starting classic module elaboration. 1 sh (6408) C:\altera\12.1sp1\quartus\bin\cygwin\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0xE708D0/0x612708D0. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. 0 sh 5140 fork: child -1 - forked process 6408 died unexpectedly, retry 0, exit code -1073741819, errno 11 C:/altera/12.1sp1/quartus/sopc_builder/bin/nios_sh: fork: retry: Resource temporarily unavailable 2 sh (6756) C:\altera\12.1sp1\quartus\bin\cygwin\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0xE708D0/0x612708D0. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. 1090043 sh 5140 fork: child -1 - forked process 6756 died unexpectedly, retry 0, exit code -1073741819, errno 11 C:/altera/12.1sp1/quartus/sopc_builder/bin/nios_sh: fork: retry: Resource temporarily unavailable 1 sh (1376) C:\altera\12.1sp1\quartus\bin\cygwin\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0xE708D0/0x612708D0. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. 3170757 sh 5140 fork: child -1 - forked process 1376 died unexpectedly, retry 0, exit code -1073741819, errno 11 C:/altera/12.1sp1/quartus/sopc_builder/bin/nios_sh: fork: retry: Resource temporarily unavailable 2 sh (3976) C:\altera\12.1sp1\quartus\bin\cygwin\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0xE708D0/0x612708D0. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. 7258297 sh 5140 fork: child -1 - forked process 3976 died unexpectedly, retry 0, exit code -1073741819, errno 11 C:/altera/12.1sp1/quartus/sopc_builder/bin/nios_sh: fork: retry: Resource temporarily unavailable 3 sh (776) C:\altera\12.1sp1\quartus\bin\cygwin\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0xE708D0/0x612708D0. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL. 15338349 sh 5140 fork: child -1 - forked process 776 died unexpectedly, retry 0, exit code -1073741819, errno 11 C:/altera/12.1sp1/quartus/sopc_builder/bin/nios_sh: fork: Resource temporarily unavailable Error: Failed to elaborate classic module C:/Users/ith/AppData/Local/Temp/alt7407_3755802541581721576.dir/0022_sopclgen/yysystem.ptf (254) Info: Finished elaborating classic module. 

 

Now i found out that after a certain version checked in in svn the QSYS doesn't work any more. So i made a diff of the two versions, see pictures: 

 

https://alteraforum.com/forum/attachment.php?attachmentid=14549&stc=1  

 

https://alteraforum.com/forum/attachment.php?attachmentid=14550&stc=1  

 

But there are only .c, .h files and .cproject and Makefile which are different, and all in the "..\software\ALD02070_socket" and not in the "..\software\ALD02070_socket_bsp" folder! 

In my opignion, to generate the QSYS i don't need any files in the software folder or are i'm wrong? 

First i need to generate the QSYS, then generate the bsp, and then compile the software. So i think that the QSYS is not dependent of all in the software\...socket folder... 

 

Sorry, the picture SVN_Folders.gif is automatically reduced to a very low quality even it is only 50kB... 

So i try to load it in two separate pics..
0 Kudos
0 Replies
Reply