# Getting Unresolved symbols

**URL:** https://discourse.cmake.org/t/getting-unresolved-symbols/6078
**Category:** Usage
**Created:** [July 14, 2022, 3:32am UTC](https://discourse.cmake.org/t/getting-unresolved-symbols/6078 "2022-07-14T03:32:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vasantharaj](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/v/bcef8e/32.png) [@vasantharaj](https://discourse.cmake.org/u/vasantharaj)
#### Post date: [July 14, 2022, 3:32am UTC](https://discourse.cmake.org/t/getting-unresolved-symbols/6078/1 "2022-07-14T03:32:04Z")

</div>

Hello All,  
Need your help resolve following error.

 ![2](https://discourse.cmake.org/uploads/default/original/2X/6/6fb2f80eeaed46f15efff78b5961e25053dcb640.png)  
 ![image](https://discourse.cmake.org/uploads/default/original/2X/d/de44d6ddac91e7cd5e53b62d0e86ad7e888c168e.png)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [July 15, 2022, 2:27pm UTC](https://discourse.cmake.org/t/getting-unresolved-symbols/6078/2 "2022-07-15T14:27:06Z")

</div>

Please provide error messages as text in the future.

This looks to be some embedded device. What compiler is this? Is there a toolchain file associated with it? These symbols seem to indicate that something else is missing in the toolchain description.

---

<div class="post-metadata">

### Author: ![vasantharaj](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/v/bcef8e/32.png) [@vasantharaj](https://discourse.cmake.org/u/vasantharaj)
#### Post date: [July 18, 2022, 4:35am UTC](https://discourse.cmake.org/t/getting-unresolved-symbols/6078/3 "2022-07-18T04:35:56Z")

</div>

1.compiler (GHS Target RH850)  
2.Toolchain find below

```auto
set(CMAKE_C_COMPILER_WORKS 1)

SET(CMAKE_SYSTEM_PROCESSOR "RH850")

SET(GHS_TOOL_CHAIN_PATH "C:/AGL_2005/COMPILER/Renesas/RH850/GREEN_HILLS/V2017_1_5/compiler/")

SET(GHS_TOOL_CHAIN_PATH ${GHS_TOOL_CHAIN_PATH})

SET(RH850_ASSEMBLER "ccrh850.exe")

SET(CMAKE_ASM_COMPILER ${GHS_TOOL_CHAIN_PATH}${RH850_ASSEMBLER})

set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS "s;850")

SET(RH850_COMPILER "ccrh850.exe")

SET(CMAKE_C_COMPILER ${GHS_TOOL_CHAIN_PATH}${RH850_COMPILER})

```
