Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Error while generating library ----xilinx EDK

Status
Not open for further replies.

rocket_go

Newbie level 1
Joined
Apr 15, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
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!
 

Hi,

I don't think this kind of declaration makes any problem.

Take a look at original config_init.h in EDK\sw\lib\bsp\\xilkernel...

It should be about separate executable processes that need to be created during system init. (here they named as socket_thread, dummy_thread)

You should check those executable processes.

Regards,
miniuser.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top