# What is wrong on linking the bubble example?

**URL:** <https://forums.windriver.com/t/what-is-wrong-on-linking-the-bubble-example/360>\
**Category:** Uncategorized\
**Created:** [September 7, 2024, 1:21pm UTC](https://forums.windriver.com/t/what-is-wrong-on-linking-the-bubble-example/360 "2024-09-07T13:21:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfb](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dfb](https://forums.windriver.com/u/dfb)\
**Post date:** [September 7, 2024, 1:21pm UTC](https://forums.windriver.com/t/what-is-wrong-on-linking-the-bubble-example/360/1 "2024-09-07T13:21:46Z")

</div>

I’m using Eclipse plugin, but the same error there is using command line (env.bat is just done), I’m not able to complete the build process. I’m using the basic example generated automatically by Eclipse, only choose a diffrent processor, no more.  
The CDT under eclipse use the following command line

`dld -tPPC555EN:windiss -o PPC_Test.out ../bubble.dld ./bubble.o ./crt0.o ./swap.o`

and the error is

```auto

15:15:39 ****Incremental Build of configuration Debug for project PPC_Test****

make all

Building target: PPC_Test.out

Invoking: Diab C Linker

dld -tPPC555EN:windiss -o PPC_Test.out ../bubble.dld ./bubble.o ./crt0.o ./swap.o

dld: warning: Undefined symbol 'exit' in file './bubble.o'

dld: warning: Undefined symbol 'printf' in file './bubble.o'

dld: warning: Undefined symbol '__init_main' in file './crt0.o'

dld: warning: Undefined symbol '__cie' in file './bubble.o'

dld: error: Undefined symbols found - no output written

make: *** [PPC_Test.out] Error 1

"make all" terminated with exit code 2. Build might be incomplete.

15:15:40 Build Failed. 2 errors, 4 warnings. (took 245ms)

```

 ![Immagine WhatsApp 2024-09-07 ore 14.49.55_9fc5f6a8](https://canada1.discourse-cdn.com/flex035/uploads/windriver1/original/1X/49b9db5446bab5f2075677bca39389df8af70603.jpeg)

Thanks
