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: 
Highlighted
Observer shijiluoben
Observer
6,246 Views
Registered: ‎04-10-2008

Error while generating library

The errors are as follows:
 
../../../../..//include/config/config_init.h:36: error: 'socket_thread' undeclared here (not in a function)
../../../../..//include/config/config_init.h:37: error: 'dummy_thread' undeclared here (not in a function)
 
file config_init.h is as follows;
 
*******************************************************************/
#ifndef _CONFIG_INIT_H
#define _CONFIG_INIT_H
 
/*******************************************************************
*
* CAUTION: This file is automatically generated by libgen.
* Version: Xilinx EDK 10.1 EDK_K.15
* DO NOT EDIT.
*
* Copyright (c) 2005 Xilinx, Inc.  All rights reserved.
*
* Description: LibXilKernel Initialization structures
*
*******************************************************************/
#include <sys/init.h>
#include <os_config.h>

struct _process_init se_process_table[2] = {
 {socket_thread,1},
 {dummy_thread,1}
};
extern void socket_thread();
extern void dummy_thread();
struct _elf_pthread_init kb_pthread_table[2] = {
 {socket_thread,1},
 {dummy_thread,1}
};
#endif
 
It seems the socket_thread() and  dummy_thread() are declared after struct _process_init  which caused the error. But this is a automatically generated file, so I am little confued about how to solve it. Can anybody help? Thanks a lot!
0 Kudos
1 Reply
Newbie iamyuwei
Newbie
4,493 Views
Registered: ‎07-15-2008

Re: Error while generating library

Hi everyone,

 

I am getting the same problem as well. Does anyone know how solve this, really appreciate it.

 

Thanks.

 

 

0 Kudos