Error in SoPC Builder

B

BJP

Guest
I'm using Quartus II 2.2 with service pack 2 and SoPC Builder 2.7 but
when generating the system, I get a number of "grep: not found"
errors. I checked the Altera website but I couldn't find anything.
Has anyone had similar problems/know why these errors are occuring?
Please CC any replies to this group to me at pelletie@caltech.edu.
Thanks! A more detailed report is as follows:

Altera SOPC Builder Version 2.6

Copyright (c) 1999-2002 Altera Corporation. All rights reserved.



# 2004.04.27 15:06:14 (*) mk_custom_sdk starting

# 2004.04.27 15:06:14 (*) Reading project

# 2004.04.27 15:06:15 (*) Finding all available components

# 2004.04.27 15:06:23 (*) Finding all CPUs

# 2004.04.27 15:06:23 (*) Finding all peripherals

# 2004.04.27 15:06:23 (*) Generating gnu SDK for nios_0

# 2004.04.27 15:06:23 (*) Copying Files for nios_0

# 2004.04.27 15:06:24 (*) Generating Memory Map for nios_0

# 2004.04.27 15:06:24 (*) Generating Makefile and excalibur.h for
nios_0

grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
# 2004.04.27 15:06:31 (*) Wrote gnu tcl script for nios_0

grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
# 2004.04.27 15:06:33 (*) Making Library

grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
/c: Can't open /c: No such file or directory
make: *** [obj32] Error 2
# 2004.04.27 15:06:36 (*) Building onchip_memory_0_contents.srec using
"germs"

# 2004.04.27 15:06:36 (*) cd d:/qdesigns/ee52/minimalnios ; nios-build
--sdk_directory=d:/qdesigns/ee52/minimalnios/nios_0_sdk -np -s -o
onchip_memory_0_contents.srec -b 8192-16384
d:/qdesigns/ee52/minimalnios/nios_0_sdk/lib/nios_germs_monitor.s

grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
Can't locate strict.pm in @INC (@INC contains:
/cygdrive/c/altera/excalibur/sopc_builder/bin/perl_lib:/cygdrive/c/altera/excalibur/sopc_builder/bin/europa:/cygdrive/c/altera/excalibur/sopc_builder/bin:
..) at - line 3.

BEGIN failed--compilation aborted at - line 3.

# mk_custom_sdk: WARNING 512 cd d:/qdesigns/ee52/minimalnios ;
nios-build --sdk_directory=d:/qdesigns/ee52/minimalnios/nios_0_sdk -np
-s -o onchip_memory_0_contents.srec -b 8192-16384
d:/qdesigns/ee52/minimalnios/nios_0_sdk/lib/nios_germs_monitor.s

ERROR: Could not build Peripheral Contents for nios_0



Error in processing. System NOT successfully generated.
 
pelletie@caltech.edu (BJP) writes:

I'm using Quartus II 2.2 with service pack 2 and SoPC Builder 2.7 but
when generating the system, I get a number of "grep: not found"
It seems like you have problems with your cygwin installation. Have
you installed cygwin yourself, or do the one that came with your nios
kit? Can you run make from your bash shell?

Petter
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
 
Hi,

I had a similar problem when I installed Cygwin for an unrelated
purpose after installing SOPC Builder. Are you sure the only Cygwin
install on your machine is the one that came with SOPC Builder? At the
time, I found a way around it, but I don't remember how anymore.

-- Pete


I'm using Quartus II 2.2 with service pack 2 and SoPC Builder 2.7 but
when generating the system, I get a number of "grep: not found"
errors. I checked the Altera website but I couldn't find anything.
Has anyone had similar problems/know why these errors are occuring?
Please CC any replies to this group to me at pelletie@caltech.edu.
Thanks! A more detailed report is as follows:

Altera SOPC Builder Version 2.6

Copyright (c) 1999-2002 Altera Corporation. All rights reserved.



# 2004.04.27 15:06:14 (*) mk_custom_sdk starting

# 2004.04.27 15:06:14 (*) Reading project

# 2004.04.27 15:06:15 (*) Finding all available components

# 2004.04.27 15:06:23 (*) Finding all CPUs

# 2004.04.27 15:06:23 (*) Finding all peripherals

# 2004.04.27 15:06:23 (*) Generating gnu SDK for nios_0

# 2004.04.27 15:06:23 (*) Copying Files for nios_0

# 2004.04.27 15:06:24 (*) Generating Memory Map for nios_0

# 2004.04.27 15:06:24 (*) Generating Makefile and excalibur.h for
nios_0

grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
# 2004.04.27 15:06:31 (*) Wrote gnu tcl script for nios_0

grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
# 2004.04.27 15:06:33 (*) Making Library

grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
/c: Can't open /c: No such file or directory
make: *** [obj32] Error 2
# 2004.04.27 15:06:36 (*) Building onchip_memory_0_contents.srec using
"germs"

# 2004.04.27 15:06:36 (*) cd d:/qdesigns/ee52/minimalnios ; nios-build
--sdk_directory=d:/qdesigns/ee52/minimalnios/nios_0_sdk -np -s -o
onchip_memory_0_contents.srec -b 8192-16384
d:/qdesigns/ee52/minimalnios/nios_0_sdk/lib/nios_germs_monitor.s

grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
grep: not found
Can't locate strict.pm in @INC (@INC contains:
/cygdrive/c/altera/excalibur/sopc_builder/bin/perl_lib:/cygdrive/c/altera/excalibur/sopc_builder/bin/europa:/cygdrive/c/altera/excalibur/sopc_builder/bin:
.) at - line 3.

BEGIN failed--compilation aborted at - line 3.

# mk_custom_sdk: WARNING 512 cd d:/qdesigns/ee52/minimalnios ;
nios-build --sdk_directory=d:/qdesigns/ee52/minimalnios/nios_0_sdk -np
-s -o onchip_memory_0_contents.srec -b 8192-16384
d:/qdesigns/ee52/minimalnios/nios_0_sdk/lib/nios_germs_monitor.s

ERROR: Could not build Peripheral Contents for nios_0



Error in processing. System NOT successfully generated.
 
pelletie@caltech.edu (BJP) wrote in message news:<2107fbac.0404271452.70eb7e87@posting.google.com>...
I'm using Quartus II 2.2 with service pack 2 and SoPC Builder 2.7 but
when generating the system, I get a number of "grep: not found"
errors. I checked the Altera website but I couldn't find anything.
Has anyone had similar problems/know why these errors are occuring?
Please CC any replies to this group to me at pelletie@caltech.edu.
Thanks! A more detailed report is as follows:
Hi,

In addition to Pete's & Petter's comments: The #1 cause for this type
of error in the past (barring some issue with the installation simply
not completing successfully) was having SOPC Builder installed (with
its private Cygwin installation) when your system already had a Cygwin
distribution installed somewhere else.

Not-supporting multiple Cygwin installations was a limitation of SOPC
Builder/Nios kits that went away when SOPC Builder 3.02 was released
(SOPC Builder now comes with Quartus, independent of the Nios kit). In
this release, several changes were made that now allow a separate
install of the Cygwin/GNUPro tools to be installed on the PC alongside
SOPC Builder.

If at all possible I recommend moving up to the latest Quartus II/SOPC
Builder release. Of course, if this is not an option to you, (assuming
that the problem is multiple Cygwin installations) you will have to
remove the other Cygwin installation from your system.

Regards,

Jesse Kempa
Altera Corp.
jkempa at altera dot com
 

Welcome to EDABoard.com

Sponsor

Back
Top