Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Newbie
kd100
Posts: 2
Registered: ‎03-29-2011
0
Accepted Solution

Errors making bsp when following UG670, EDK 13.1

Hello,

 

I've followed the instructions for the benchmarking demo in "UG670 (v3.0) March 18, 2011: AXI Interface Based ML605/SP605 MicroBlaze Processor Subsystem: Software Tutorial"  using EDK 13.1

 

But when I make the BSP, I get the following errors:

 

 

make -k all
libgen -hw ../hw_platform/system.xml\
           -lp C:/sp605_13/Tutorial_Sanbox/SW/benchmark_demo\
           -pe microblaze_0 \
           -log libgen.log \
           system.mss
libgen
Xilinx EDK 13.1 Build EDK_O.40d
Copyright (c) 1995-2010 Xilinx, Inc.  All rights reserved.

Command Line: libgen -hw ../hw_platform/system.xml -lp
C:/sp605_13/Tutorial_Sanbox/SW/benchmark_demo -pe microblaze_0 -log libgen.log
system.mss


Staging source files.
Running DRCs.
Runnning DRC for lwIP library...



lwIP can be used with the following EMAC peripherals found in your system:
Soft_Ethernet_MAC

MFS DRC ...

Running generate.
Little Endian system

MFS generate ...

Running post_generate.
Running include - 'make -s include "COMPILER=mb-gcc" "ARCHIVER=mb-ar"
"COMPILER_FLAGS=-mlittle-endian -mno-xl-soft-mul -mxl-barrel-shift
-mxl-pattern-compare -mcpu=v8.10.a  -O2 -c" "EXTRA_COMPILER_FLAGS=-g -D
XILKERNEL_MB_MPU_DISABLE"'.
cp -r lwip-1.3.0/src/include/ipv4/lwip ../../../include
cp -r lwip-1.3.0/src/include/lwip ../../../include
cp -r lwip-1.3.0/src/include/netif ../../../include
cp -r contrib/ports/xilinx/include/netif ../../../include
cp -r contrib/ports/xilinx/include/arch ../../../include
cp -r contrib/ports/xilinx/include/lwipopts.h ../../../include

Running libs - 'make -s libs "COMPILER=mb-gcc" "ARCHIVER=mb-ar"
"COMPILER_FLAGS=-mlittle-endian -mno-xl-soft-mul -mxl-barrel-shift
-mxl-pattern-compare -mcpu=v8.10.a  -O2 -c" "EXTRA_COMPILER_FLAGS=-g -D
XILKERNEL_MB_MPU_DISABLE"'.
Compiling standalone
Compiling common
Compiling llfifo
/usr/bin/sh: -c: line 3: syntax error: unexpected end of file
make[2]: *** [arch-libs] Error 258
make[2]: Target `libs' not remade because of errors.
make[1]: *** [dir_syscall] Error 2
/usr/bin/sh: -c: line 3: syntax error: unexpected end of file
make[2]: *** [dir_arch] Error 258
/usr/bin/sh: -c: line 3: syntax error: unexpected end of file
make[2]: *** [dir_sys] Error 258
/usr/bin/sh: -c: line 3: syntax error: unexpected end of file
make[2]: *** [dir_ipc] Error 258
make[2]: Target `all' not remade because of errors.
make[1]: *** [dir_src] Error 2
c:\Xilinx\13.1\ISE_DS\EDK\gnu\microblaze\nt64\bin\mb-ar.exe: creating ./libsyscall.a
c:\Xilinx\13.1\ISE_DS\EDK\gnu\microblaze\nt64\bin\mb-ar.exe: ./syscall/arch/microblaze/*.o: Invalid argument
make[1]: *** [rellibs] Error 1
make[1]: Target `libs' not remade because of errors.

Compiling lwIP with mb-gcc
Compiling lwip-1.3.0/src/core/init.c
Compiling lwip-1.3.0/src/core/mem.c
Compiling lwip-1.3.0/src/core/memp.c
Compiling lwip-1.3.0/src/core/netif.c
Compiling lwip-1.3.0/src/core/pbuf.c
Compiling lwip-1.3.0/src/core/raw.c
Compiling lwip-1.3.0/src/core/stats.c
Compiling lwip-1.3.0/src/core/sys.c
Compiling lwip-1.3.0/src/netif/etharp.c
Compiling lwip-1.3.0/src/core/ipv4/ip_addr.c
Compiling lwip-1.3.0/src/core/ipv4/icmp.c
Compiling lwip-1.3.0/src/core/ipv4/inet.c
Compiling lwip-1.3.0/src/core/ipv4/inet_chksum.c
Compiling lwip-1.3.0/src/core/ipv4/ip.c
Compiling lwip-1.3.0/src/core/ipv4/ip_frag.c
Compiling lwip-1.3.0/src/core/tcp.c
Compiling lwip-1.3.0/src/core/tcp_in.c
Compiling lwip-1.3.0/src/core/tcp_out.c
Compiling lwip-1.3.0/src/core/udp.c
Compiling lwip-1.3.0/src/core/dhcp.c
Compiling lwip-1.3.0/src/api/api_lib.c
Compiling lwip-1.3.0/src/api/api_msg.c
Compiling lwip-1.3.0/src/api/err.c
Compiling lwip-1.3.0/src/api/netbuf.c
Compiling lwip-1.3.0/src/api/sockets.c
Compiling lwip-1.3.0/src/api/tcpip.c
Compiling lwIP adapter for Xilinx MAC:
Compiling contrib/ports/xilinx/sys_arch_raw.c
Compiling contrib/ports/xilinx/netif/xpqueue.c
Compiling contrib/ports/xilinx/netif/xadapter.c
Compiling contrib/ports/xilinx/netif/xtopology_g.c
Compiling contrib/ports/xilinx/sys_arch.c
Compiling contrib/ports/xilinx/netif/xaxiemacif_hw.c
Compiling contrib/ports/xilinx/netif/xaxiemacif_physpeed.c
Compiling contrib/ports/xilinx/netif/xaxiemacif.c
Compiling contrib/ports/xilinx/netif/xaxiemacif_dma.c
Creating archive liblwip4.a
Compiling axicdma
Compiling axidma v3.00a
Compiling gpio
Compiling uartlite
Compiling tmrctr
Compiling iic
Compiling bram
Compiling intc
Compiling perf_axi
Compiling uartns550
Compiling spi
Compiling axiethernet
Compiling cpu
ERROR:EDK:369 -  make failed for target "libs"
ERROR:EDK:3418 - Error(s) while running make.
make: *** [microblaze_0/lib/libxil.a] Error 2
make: Target `all' not remade because of errors.

 

Has anyone else resolved this issue yet? Any tips on debugging this would be greatly appreciated.

 

I'm using Windows 7 - 64bit. 

 

Thank you,

Kurt

Xilinx Employee
elzinga
Posts: 180
Registered: ‎08-08-2007
0

Re: Errors making bsp when following UG670, EDK 13.1

Hi Kurt,

 

It looks like you might have Cygwin installed.  If so, you need to launch the Xilinx tools from a DOS prompt with a path cleaned of any knowledge about Cygwin executables.

Newbie
kd100
Posts: 2
Registered: ‎03-29-2011
0

Re: Errors making bsp when following UG670, EDK 13.1

Thank you!  That fixed the problem.

 

Newbie
samyakjaroli
Posts: 1
Registered: ‎10-27-2011
0

Re: Errors making bsp when following UG670, EDK 13.1

I am still getting this error could you please tell how to resolve cygwin issue??

Newbie
vknen
Posts: 1
Registered: ‎05-09-2012
0

Re: Errors making bsp when following UG670, EDK 13.1

I am getting similar error with EDK 13.3. Can anyone post steps how to resolve this?

 

I have no previous cygwin installations. EDK 13.3 seems to have installed version 3.81 of make.

Newbie
ligeraki
Posts: 1
Registered: ‎01-26-2013
0

Re: Errors making bsp when following UG670, EDK 13.1

I have the same problem any ideas?

THX