rocket_go
Newbie level 1
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!
../../../../..//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!