some problems about  CW 8.8 when I make the  programme

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

some problems about  CW 8.8 when I make the  programme

跳至解决方案
1,618 次查看
Freshman
Contributor III

hello :

     I writed a programme,

 

#include <stdio.h>

#include <stdlib.h>

int main(int argc , char **argv )

{

  printf("Hello World !");

}

 

 

but when I make it,there comes 10 errors as the follow:

 

Link Error : undefined :'__init_hardware'

Referenced from '__start' in Runtime.PPCEABI.H.UC.a

、、、

Link failed.

 

help,who can tell me what is wrong?

 

thank you.

bin

标签 (1)
0 项奖励
回复
1 解答
1,404 次查看
CrasyCat
Specialist III

Regarding the issue with File error 206009, did you check following post in the forum?

CW 8.8 file error 206009 when creating new project for P1020RDB

Regarding the linker issue, did you create your project using the wizard?

Is there a file __ppc_eabi_init.c in your project? This is where the function __init_hardware is implemented.

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,404 次查看
Freshman
Contributor III

hi

     When I creat a project in CW8.8 ,  I meet the problem as the follows:

111.jpg

who can help me ? and I just do as the user manual !

0 项奖励
回复
1,404 次查看
CrasyCat
Specialist III

Hello

Which OS are you running on your Host system (Windows XP, Windows 7, ...)?

CrasyCat

0 项奖励
回复
1,404 次查看
Freshman
Contributor III

hi catherine

My host system is Windows XP

bin

0 项奖励
回复
1,405 次查看
CrasyCat
Specialist III

Regarding the issue with File error 206009, did you check following post in the forum?

CW 8.8 file error 206009 when creating new project for P1020RDB

Regarding the linker issue, did you create your project using the wizard?

Is there a file __ppc_eabi_init.c in your project? This is where the function __init_hardware is implemented.

CrasyCat

0 项奖励
回复
1,404 次查看
Freshman
Contributor III

tahnk you very much @CrasyCat , i am too careless to see the fomer answers.

bin

0 项奖励
回复