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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer umerdarazawan
Observer
8,790 Views
Registered: ‎11-01-2010

uCOS-II in EDK error (Urgent)

Hi all

Please i am facing the following problem when i build application in EDK....

 

./microblaze_0/lib//libxil.a(write.o): In function `write':
/gnu/mb_gnu/src/gcc/libgloss/microblaze/write.c:36: undefined reference to `outbyte'
/gnu/mb_gnu/src/gcc/libgloss/microblaze/write.c:34: undefined reference to `outbyte'
./microblaze_0/lib//libxil.a(read.o): In function `read':
/gnu/mb_gnu/src/gcc/libgloss/microblaze/read.c:35: undefined reference to `inbyte'
collect2: ld returned 1 exit status
make: *** [test_1/executable.elf] Error 1

 

Thanks for help

umer

0 Kudos
9 Replies
Instructor
Instructor
8,779 Views
Registered: ‎08-14-2007

Re: uCOS-II in EDK error (Urgent)

I had this same problem when my code had "print" or "xil_printf" functions

and the "stdin" and "stdout" were set to "none."  If you want to use the

JTAG terminal you should set them to "mdm_0" or if you have a real

UART in the design you should set them to "uart."  If you only see

"none" in the options, then you need to add support in the hardware

configuration.

 

Also, I found that setting the stdin and stdout to "mdm_0" causes

the program to stall waiting for the JTAG terminal if you try to

run the program without the JTAG debug terminal attached.

So this is not an appropriate setting for a working software

release.  It would have made more sense to me for the

debug prints to fall on the floor rather than waiting for a

JTAG connection.  That way you could actually release a

debug version of code and still have a debug port available

in the field.

 

-- Gabor

-- Gabor
0 Kudos
Observer umerdarazawan
Observer
8,769 Views
Registered: ‎11-01-2010

Re: uCOS-II in EDK error (Urgent)

Sir

I have Xilinx Spartan-3E starter board, I just want to generate .mcs file to load in xilinx platform PROM for uCOS-II demo code.

I have tested successfully in debug and release configration in SDK. Now i want to place my .bit file in PROM, please tell me how it will possible.

I am using real UART in hyperterminal and i want to run my program in real mode not in debug mode.

 

thanks for guidline

umer

 

 

0 Kudos
Instructor
Instructor
8,755 Views
Registered: ‎08-14-2007

Re: uCOS-II in EDK error (Urgent)

Which version of EDK are you running?

-- Gabor
0 Kudos
Observer umerdarazawan
Observer
8,747 Views
Registered: ‎11-01-2010

Re: uCOS-II in EDK error (Urgent)

Sir

Thanks for reply

 

I am using EDK 12.2

 

 

umer

0 Kudos
Instructor
Instructor
8,739 Views
Registered: ‎08-14-2007

Re: uCOS-II in EDK error (Urgent)

My project was built under EDK 11.5, so it may be a bit different, but I can find the

stdout and stdin referenced in the .mss file like:



 PARAMETER VERSION = 2.2.0


BEGIN OS
 PARAMETER OS_NAME = standalone
 PARAMETER OS_VER = 2.00.a
 PARAMETER PROC_INSTANCE = microblaze_0
 PARAMETER stdin = uart_0
 PARAMETER stdout = uart_0
END

 

Also under rev 11.5 you can open up Software --> Software Platform Settings

and find these values under "OS and Lib Configuration" --> Standalone

 

-- Gabor

-- Gabor
0 Kudos
Observer umerdarazawan
Observer
8,728 Views
Registered: ‎11-01-2010

Re: uCOS-II in EDK error (Urgent)

Thanks alot Sir

 

Problem is solved...............

 

 

 

umer

0 Kudos
Observer umerdarazawan
Observer
8,584 Views
Registered: ‎11-01-2010

Re: uCOS-II in EDK error (Urgent)

Hi

Sir

I want to implement uCOS-II on xilinx virtex-4 PPC405 ML403 board, i follow the complete document given by the Micrium web but there are many error occurs when i generate lib....

I am using EDK 12.2

 

In file included from bsp.h:17,
                 from bsp.c:14:
../../../include/xgpio_l.h:92:23: error: xil_types.h: No such file or directory
../../../include/xgpio_l.h:93:24: error: xil_assert.h: No such file or directory
../../../include/xgpio_l.h:94:20: error: xil_io.h: No such file or directory
make[1]: *** [standalone_libs] Error 1
In file included from xgpio.c:77:
xgpio.h:122:23: error: xil_types.h: No such file or directory
xgpio.h:123:24: error: xil_assert.h: No such file or directory
In file included from xgpio.h:125,
                 from xgpio.c:77:
xgpio_l.h:94:20: error: xil_io.h: No such file or directory
xgpio.c: In function ‘XGpio_CfgInitialize’:
xgpio.c:147: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio.c:147: error: (Each undeclared identifier is reported only once
xgpio.c:147: error: for each function it appears in.)
xgpio.c: In function ‘XGpio_SetDataDirection’:
xgpio.c:174: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio.c: In function ‘XGpio_GetDataDirection’:
xgpio.c:204: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio.c: In function ‘XGpio_DiscreteRead’:
xgpio.c:230: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio.c: In function ‘XGpio_DiscreteWrite’:
xgpio.c:258: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
In file included from xgpio_extra.c:70:
xgpio.h:122:23: error: xil_types.h: No such file or directory
xgpio.h:123:24: error: xil_assert.h: No such file or directory
In file included from xgpio.h:125,
                 from xgpio_extra.c:70:
xgpio_l.h:94:20: error: xil_io.h: No such file or directory
xgpio_extra.c: In function ‘XGpio_DiscreteSet’:
xgpio_extra.c:108: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio_extra.c:108: error: (Each undeclared identifier is reported only once
xgpio_extra.c:108: error: for each function it appears in.)
xgpio_extra.c: In function ‘XGpio_DiscreteClear’:
xgpio_extra.c:151: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
In file included from xgpio_g.c:16:
xgpio.h:122:23: error: xil_types.h: No such file or directory
xgpio.h:123:24: error: xil_assert.h: No such file or directory
In file included from xgpio.h:125,
                 from xgpio_g.c:16:
xgpio_l.h:94:20: error: xil_io.h: No such file or directory
In file included from xgpio_intr.c:72:
xgpio.h:122:23: error: xil_types.h: No such file or directory
xgpio.h:123:24: error: xil_assert.h: No such file or directory
In file included from xgpio.h:125,
                 from xgpio_intr.c:72:
xgpio_l.h:94:20: error: xil_io.h: No such file or directory
xgpio_intr.c: In function ‘XGpio_InterruptGlobalEnable’:
xgpio_intr.c:105: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio_intr.c:105: error: (Each undeclared identifier is reported only once
xgpio_intr.c:105: error: for each function it appears in.)
xgpio_intr.c: In function ‘XGpio_InterruptGlobalDisable’:
xgpio_intr.c:132: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio_intr.c: In function ‘XGpio_InterruptEnable’:
xgpio_intr.c:162: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio_intr.c: In function ‘XGpio_InterruptDisable’:
xgpio_intr.c:198: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio_intr.c: In function ‘XGpio_InterruptClear’:
xgpio_intr.c:233: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio_intr.c: In function ‘XGpio_InterruptGetEnabled’:
xgpio_intr.c:268: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio_intr.c: In function ‘XGpio_InterruptGetStatus’:
xgpio_intr.c:297: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
In file included from xgpio_selftest.c:67:
xgpio.h:122:23: error: xil_types.h: No such file or directory
xgpio.h:123:24: error: xil_assert.h: No such file or directory
In file included from xgpio.h:125,
                 from xgpio_selftest.c:67:
xgpio_l.h:94:20: error: xil_io.h: No such file or directory
xgpio_selftest.c: In function ‘XGpio_SelfTest’:
xgpio_selftest.c:106: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xgpio_selftest.c:106: error: (Each undeclared identifier is reported only once
xgpio_selftest.c:106: error: for each function it appears in.)
In file included from xgpio_i.h:72,
                 from xgpio_sinit.c:68:
xgpio.h:122:23: error: xil_types.h: No such file or directory
xgpio.h:123:24: error: xil_assert.h: No such file or directory
In file included from xgpio.h:125,
                 from xgpio_i.h:72,
                 from xgpio_sinit.c:68:
xgpio_l.h:94:20: error: xil_io.h: No such file or directory
make[1]: *** [libs] Error 1
In file included from xuartlite.c:81:
xuartlite.h:148:23: error: xil_types.h: No such file or directory
xuartlite.h:149:24: error: xil_assert.h: No such file or directory
In file included from xuartlite_i.h:77,
                 from xuartlite.c:82:
xuartlite_l.h:78:20: error: xil_io.h: No such file or directory
xuartlite.c: In function ‘XUartLite_CfgInitialize’:
xuartlite.c:153: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xuartlite.c:153: error: (Each undeclared identifier is reported only once
xuartlite.c:153: error: for each function it appears in.)
xuartlite.c: In function ‘XUartLite_Send’:
xuartlite.c:220: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xuartlite.c: In function ‘XUartLite_Recv’:
xuartlite.c:304: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xuartlite.c: In function ‘XUartLite_ResetFifos’:
xuartlite.c:364: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
In file included from xuartlite_g.c:16:
xuartlite.h:148:23: error: xil_types.h: No such file or directory
xuartlite.h:149:24: error: xil_assert.h: No such file or directory
In file included from xuartlite_intr.c:68:
xuartlite.h:148:23: error: xil_types.h: No such file or directory
xuartlite.h:149:24: error: xil_assert.h: No such file or directory
In file included from xuartlite_i.h:77,
                 from xuartlite_intr.c:69:
xuartlite_l.h:78:20: error: xil_io.h: No such file or directory
xuartlite_intr.c: In function ‘XUartLite_SetRecvHandler’:
xuartlite_intr.c:114: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xuartlite_intr.c:114: error: (Each undeclared identifier is reported only once
xuartlite_intr.c:114: error: for each function it appears in.)
xuartlite_intr.c: In function ‘XUartLite_SetSendHandler’:
xuartlite_intr.c:147: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xuartlite_intr.c: In function ‘XUartLite_DisableInterrupt’:
xuartlite_intr.c:302: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xuartlite_intr.c: In function ‘XUartLite_EnableInterrupt’:
xuartlite_intr.c:332: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
In file included from xuartlite_l.c:65:
xuartlite_l.h:76:23: error: xil_types.h: No such file or directory
xuartlite_l.h:77:24: error: xil_assert.h: No such file or directory
xuartlite_l.h:78:20: error: xil_io.h: No such file or directory
In file included from xuartlite_l.c:65:
xuartlite_l.h:331: error: expected ‘)’ before ‘BaseAddress’
xuartlite_l.h:332: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XUartLite_RecvByte’
xuartlite_l.c:97: error: expected ‘)’ before ‘BaseAddress’
xuartlite_l.c:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XUartLite_RecvByte’
xuartlite_selftest.c:65:23: error: xil_types.h: No such file or directory
xuartlite_selftest.c:66:24: error: xil_assert.h: No such file or directory
In file included from xuartlite_i.h:77,
                 from xuartlite_selftest.c:69:
xuartlite_l.h:78:20: error: xil_io.h: No such file or directory
xuartlite_selftest.c: In function ‘XUartLite_SelfTest’:
xuartlite_selftest.c:114: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xuartlite_selftest.c:114: error: (Each undeclared identifier is reported only once
xuartlite_selftest.c:114: error: for each function it appears in.)
In file included from xuartlite_i.h:76,
                 from xuartlite_sinit.c:65:
xuartlite.h:148:23: error: xil_types.h: No such file or directory
xuartlite.h:149:24: error: xil_assert.h: No such file or directory
In file included from xuartlite_i.h:77,
                 from xuartlite_sinit.c:65:
xuartlite_l.h:78:20: error: xil_io.h: No such file or directory
xuartlite_stats.c:65:23: error: xil_types.h: No such file or directory
xuartlite_stats.c:66:24: error: xil_assert.h: No such file or directory
In file included from xuartlite_i.h:77,
                 from xuartlite_stats.c:68:
xuartlite_l.h:78:20: error: xil_io.h: No such file or directory
xuartlite_stats.c: In function ‘XUartLite_GetStats’:
xuartlite_stats.c:106: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xuartlite_stats.c:106: error: (Each undeclared identifier is reported only once
xuartlite_stats.c:106: error: for each function it appears in.)
xuartlite_stats.c: In function ‘XUartLite_ClearStats’:
xuartlite_stats.c:140: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
make[1]: *** [libs] Error 1
xintc.c:73:23: error: xil_types.h: No such file or directory
xintc.c:74:24: error: xil_assert.h: No such file or directory
In file included from xintc.h:145,
                 from xintc.c:75:
xintc_l.h:99:20: error: xil_io.h: No such file or directory
xintc.c: In function ‘XIntc_Initialize’:
xintc.c:141: error: ‘XIL_COMPONENT_IS_STARTED’ undeclared (first use in this function)
xintc.c:141: error: (Each undeclared identifier is reported only once
xintc.c:141: error: for each function it appears in.)
xintc.c:216: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xintc.c: In function ‘XIntc_Start’:
xintc.c:260: error: expected ‘;’ before ‘Xil_AssertNonvoid’
xintc.c:278: error: ‘XIL_COMPONENT_IS_STARTED’ undeclared (first use in this function)
xintc.c: In function ‘XIntc_Stop’:
xintc.c:304: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xintc.c: In function ‘XIntc_Connect’:
xintc.c:350: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xintc.c: In function ‘XIntc_Disconnect’:
xintc.c:389: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xintc.c: In function ‘XIntc_Enable’:
xintc.c:439: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xintc.c: In function ‘XIntc_Disable’:
xintc.c:484: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xintc.c: In function ‘XIntc_Acknowledge’:
xintc.c:527: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
In file included from xintc_g.c:16:
xintc.h:141:23: error: xil_types.h: No such file or directory
xintc.h:142:24: error: xil_assert.h: No such file or directory
In file included from xintc.h:145,
                 from xintc_g.c:16:
xintc_l.h:99:20: error: xil_io.h: No such file or directory
xintc_intr.c:106:23: error: xil_types.h: No such file or directory
xintc_intr.c:107:24: error: xil_assert.h: No such file or directory
In file included from xintc.h:145,
                 from xintc_intr.c:109:
xintc_l.h:99:20: error: xil_io.h: No such file or directory
xintc_l.c:77:23: error: xil_types.h: No such file or directory
xintc_l.c:78:24: error: xil_assert.h: No such file or directory
In file included from xintc.h:145,
                 from xintc_l.c:79:
xintc_l.h:99:20: error: xil_io.h: No such file or directory
xintc_options.c:68:23: error: xil_types.h: No such file or directory
xintc_options.c:69:24: error: xil_assert.h: No such file or directory
In file included from xintc.h:145,
                 from xintc_options.c:70:
xintc_l.h:99:20: error: xil_io.h: No such file or directory
xintc_options.c: In function ‘XIntc_SetOptions’:
xintc_options.c:107: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xintc_options.c:107: error: (Each undeclared identifier is reported only once
xintc_options.c:107: error: for each function it appears in.)
xintc_options.c: In function ‘XIntc_GetOptions’:
xintc_options.c:140: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xintc_selftest.c:64:23: error: xil_types.h: No such file or directory
xintc_selftest.c:65:24: error: xil_assert.h: No such file or directory
In file included from xintc.h:145,
                 from xintc_selftest.c:66:
xintc_l.h:99:20: error: xil_io.h: No such file or directory
xintc_selftest.c: In function ‘XIntc_SelfTest’:
xintc_selftest.c:116: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xintc_selftest.c:116: error: (Each undeclared identifier is reported only once
xintc_selftest.c:116: error: for each function it appears in.)
xintc_selftest.c: In function ‘XIntc_SimulateIntr’:
xintc_selftest.c:203: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
make[1]: *** [libs] Error 1
In file included from xtmrctr.c:67:
xtmrctr.h:144:23: error: xil_types.h: No such file or directory
xtmrctr.h:145:24: error: xil_assert.h: No such file or directory
In file included from xtmrctr.h:147,
                 from xtmrctr.c:67:
xtmrctr_l.h:75:20: error: xil_io.h: No such file or directory
xtmrctr.c: In function ‘XTmrCtr_Initialize’:
xtmrctr.c:184: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr.c:184: error: (Each undeclared identifier is reported only once
xtmrctr.c:184: error: for each function it appears in.)
xtmrctr.c: In function ‘XTmrCtr_Start’:
xtmrctr.c:218: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr.c: In function ‘XTmrCtr_Stop’:
xtmrctr.c:271: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr.c: In function ‘XTmrCtr_GetValue’:
xtmrctr.c:313: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr.c: In function ‘XTmrCtr_SetResetValue’:
xtmrctr.c:345: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr.c: In function ‘XTmrCtr_GetCaptureValue’:
xtmrctr.c:373: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr.c: In function ‘XTmrCtr_Reset’:
xtmrctr.c:402: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr.c: In function ‘XTmrCtr_IsExpired’:
xtmrctr.c:447: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
In file included from xtmrctr_g.c:16:
xtmrctr.h:144:23: error: xil_types.h: No such file or directory
xtmrctr.h:145:24: error: xil_assert.h: No such file or directory
In file included from xtmrctr.h:147,
                 from xtmrctr_g.c:16:
xtmrctr_l.h:75:20: error: xil_io.h: No such file or directory
In file included from xtmrctr_intr.c:64:
xtmrctr.h:144:23: error: xil_types.h: No such file or directory
xtmrctr.h:145:24: error: xil_assert.h: No such file or directory
In file included from xtmrctr.h:147,
                 from xtmrctr_intr.c:64:
xtmrctr_l.h:75:20: error: xil_io.h: No such file or directory
xtmrctr_intr.c: In function ‘XTmrCtr_SetHandler’:
xtmrctr_intr.c:108: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr_intr.c:108: error: (Each undeclared identifier is reported only once
xtmrctr_intr.c:108: error: for each function it appears in.)
In file included from xtmrctr_l.c:66:
xtmrctr_l.h:74:23: error: xil_types.h: No such file or directory
xtmrctr_l.h:75:20: error: xil_io.h: No such file or directory
In file included from xtmrctr_l.c:66:
xtmrctr_l.h:166: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XTmrCtr_Offsets’
xtmrctr_l.c:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XTmrCtr_Offsets’
In file included from xtmrctr_options.c:64:
xtmrctr.h:144:23: error: xil_types.h: No such file or directory
xtmrctr.h:145:24: error: xil_assert.h: No such file or directory
In file included from xtmrctr.h:147,
                 from xtmrctr_options.c:64:
xtmrctr_l.h:75:20: error: xil_io.h: No such file or directory
xtmrctr_options.c: In function ‘XTmrCtr_SetOptions’:
xtmrctr_options.c:141: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr_options.c:141: error: (Each undeclared identifier is reported only once
xtmrctr_options.c:141: error: for each function it appears in.)
xtmrctr_options.c: In function ‘XTmrCtr_GetOptions’:
xtmrctr_options.c:200: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr_selftest.c:64:20: error: xil_io.h: No such file or directory
In file included from xtmrctr_selftest.c:65:
xtmrctr.h:144:23: error: xil_types.h: No such file or directory
xtmrctr.h:145:24: error: xil_assert.h: No such file or directory
xtmrctr_selftest.c: In function ‘XTmrCtr_SelfTest’:
xtmrctr_selftest.c:114: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr_selftest.c:114: error: (Each undeclared identifier is reported only once
xtmrctr_selftest.c:114: error: for each function it appears in.)
In file included from xtmrctr_stats.c:63:
xtmrctr.h:144:23: error: xil_types.h: No such file or directory
xtmrctr.h:145:24: error: xil_assert.h: No such file or directory
In file included from xtmrctr.h:147,
                 from xtmrctr_stats.c:63:
xtmrctr_l.h:75:20: error: xil_io.h: No such file or directory
xtmrctr_stats.c: In function ‘XTmrCtr_GetStats’:
xtmrctr_stats.c:99: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
xtmrctr_stats.c:99: error: (Each undeclared identifier is reported only once
xtmrctr_stats.c:99: error: for each function it appears in.)
xtmrctr_stats.c: In function ‘XTmrCtr_ClearStats’:
xtmrctr_stats.c:119: error: ‘XIL_COMPONENT_IS_READY’ undeclared (first use in this function)
make[1]: *** [libs] Error 1
ERROR:EDK:369 -  make failed for target "libs"
ERROR:EDK:3418 - Error(s) while running make.
make: *** [ppc405_0/lib/libxil.a] Error 2

 

 

0 Kudos
Instructor
Instructor
8,581 Views
Registered: ‎08-14-2007

Re: uCOS-II in EDK error (Urgent)

It looks like your system is having a problem finding some header files.

Looking through my EDK 12.1 distribution it seems there are multiple

versions of the header files you are getting the errors for.  They apparently

depend on the board support package.  I would suggest starting a new

thread for this question so you can get better support.

 

-- Gabor

-- Gabor
0 Kudos
3,081 Views
Registered: ‎12-04-2015

Re: uCOS-II in EDK error (Urgent)

sir, i am using xilinx sdk14.4. i am using ucos1.11.i am using zynq board. i already set my stdout port on ps7_uart1. afterthat, i am getting the same error. undefined reference in outbyte on write.c file. i attached my error postion also.only in the write .c file ,these errors are coming.please help me quickly..

 

 

Description Resource Path Location Type
more undefined references to `outbyte' follow write.c /mac_project_bsp/ps7_cortexa9_0/libsrc/ucos_standalone_v1_11/src line 84 C/C++ Problem
undefined reference to `outbyte' write.c /mac_project_bsp/ps7_cortexa9_0/libsrc/ucos_standalone_v1_11/src line 60 C/C++ Problem
undefined reference to `outbyte' write.c /mac_project_bsp/ps7_cortexa9_0/libsrc/ucos_standalone_v1_11/src line 82 C/C++ Problem
undefined reference to `outbyte' write.c /mac_project_bsp/ps7_cortexa9_0/libsrc/ucos_standalone_v1_11/src line 84 C/C++ Problem

 

 

 

Thank you

error position.jpg
0 Kudos