cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
reisswolf
Visitor
Visitor
7,780 Views
Registered: ‎11-08-2013

Compiler error for Xilkernel + lwip using pthread in SDK 2015.3

Jump to solution

 

Hello Community,

 

I tried to upgrade a working design from Vivado 2014.4 to 2015.3. I was able to upgrade but had difficulties with the SDK. Just to make sure I switched to the VC707 BIST and got the same error there also. I'm struggeling with the SDK because I throughs some error messages that I havn't seen before:

 

unknown type name 'pthread_attr_t' ktypes.h /socket_apps_bsp/microblaze_0/include/sys line 113 C/C++ Problem
unknown type name 'pthread_t' ktypes.h /socket_apps_bsp/microblaze_0/include/sys line 104 C/C++ Problem
unknown type name 'pthread_mutexattr_t' ktypes.h /socket_apps_bsp/microblaze_0/include/sys line 121 C/C++ Problem

 

I just want to mention the two secions in my mss that are important:

 

BEGIN OS
PARAMETER OS_NAME = xilkernel
PARAMETER OS_VER = 6.2
PARAMETER PROC_INSTANCE = microblaze_0
PARAMETER config_msgq = true
PARAMETER config_named_sema = true
PARAMETER config_pthread_mutex = true
PARAMETER config_sema = true
PARAMETER config_time = true
PARAMETER config_yield = true
PARAMETER enhanced_features = true
PARAMETER max_pthread_mutex = 50
PARAMETER max_pthread_mutex_waitq = 20
PARAMETER max_pthreads = 20
PARAMETER max_sem = 50
PARAMETER max_sem_waitq = 20
PARAMETER max_tmrs = 50
PARAMETER msgq_capacity = 50
PARAMETER num_msgqs = 1
PARAMETER pthread_stack_size = 32768
PARAMETER static_pthread_table = ((main_thread,1))
PARAMETER stdin = axi_uart16550_0
PARAMETER stdout = axi_uart16550_0
PARAMETER sysintc_spec = microblaze_0_axi_intc
PARAMETER systmr_dev = axi_timer_0
PARAMETER use_malloc = true
END

 

BEGIN LIBRARY
PARAMETER LIBRARY_NAME = lwip141
PARAMETER LIBRARY_VER = 1.2
PARAMETER PROC_INSTANCE = microblaze_0
PARAMETER api_mode = SOCKET_API
PARAMETER dhcp_does_arp_check = true
PARAMETER lwip_dhcp = true
PARAMETER memp_n_pbuf = 1024
PARAMETER memp_n_tcp_seg = 1024
PARAMETER n_rx_descriptors = 256
PARAMETER n_tx_descriptors = 256
PARAMETER pbuf_pool_size = 1024
PARAMETER tcp_snd_buf = 65535
PARAMETER tcp_wnd = 65535
END

 

Any idea how I can fix the problem?

 

Regards

0 Kudos
1 Solution

Accepted Solutions
Anonymous
Not applicable
14,910 Views
0 Kudos
2 Replies
Anonymous
Not applicable
14,911 Views
0 Kudos
reisswolf
Visitor
Visitor
7,764 Views
Registered: ‎11-08-2013

Great! I had looked for known issues but didn't find it. Thanks again!

0 Kudos