cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
6,279 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
Highlighted
Newbie
Newbie
4,526 Views
Registered: ‎07-15-2008

Hi everyone,

 

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

 

Thanks.

 

 

0 Kudos