UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 24487

10.1 EDK - In function `xilkernel_init': ........undefined reference to `hw_init'

Description

I have encountered a problem in booting the Xilkernel OS on the MicroBlaze processor using EDK 8.1. When I compile my design in MicroBlaze, I get the following errors:

./microblaze_0/lib//libxil.a(main.o): In function `xilkernel_init':

/.../microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/main.c:114: undefined reference to `hw_init'

/.../microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/main.c:128: undefined reference to `init_idle_task'

Solution

In "Set Compiler Options," select the "Path and Options" tab.

In the "Libraries to Link against (-l)" Box, type "xilkernel."

In the "Other Compiler Options to Append" Box, type "-Dxilinx -lxilkernel -lxil -lxilkernel"

AR# 24487
Date Created 06/16/2008
Last Updated 12/15/2012
Status Active
Type General Article