some problems about  CW 8.8 when I make the  programme

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

some problems about  CW 8.8 when I make the  programme

Jump to solution
604 Views
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

Labels (1)
0 Kudos
1 Solution
390 Views
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

View solution in original post

0 Kudos
5 Replies
390 Views
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 Kudos
390 Views
CrasyCat
Specialist III

Hello

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

CrasyCat

0 Kudos
390 Views
Freshman
Contributor III

hi catherine

My host system is Windows XP

bin

0 Kudos
391 Views
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 Kudos
390 Views
Freshman
Contributor III

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

bin

0 Kudos