# Error compiling with ic-cdk-timers 0.7+

**URL:** <https://forum.dfinity.org/t/error-compiling-with-ic-cdk-timers-0-7/31319>\
**Category:** Developers\
**Created:** [May 29, 2024, 2:28pm UTC](https://forum.dfinity.org/t/error-compiling-with-ic-cdk-timers-0-7/31319 "2024-05-29T14:28:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rem.codes](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rem.codes/32/40260_2.png) [@rem.codes](https://forum.dfinity.org/u/rem.codes)\
**Post date:** [May 29, 2024, 2:28pm UTC](https://forum.dfinity.org/t/error-compiling-with-ic-cdk-timers-0-7/31319/1 "2024-05-29T14:28:48Z")

</div>

👋

While upgrading my packages i’m running into a `linking with `rust-lld` failed: exit status: 1` issue when going above version `0.6.0` of the `ic-cdk-timers` (@AdamS)

im using an M1 mac with OSX 14.3.1 (23D60)

Not sure if usable but part of the error looks like this

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/0/3/03e1a1ffe7243ff14f9bcb08f97dcee7d76a6814.png)

---

<div class="post-metadata">

**Author:** ![AdamS](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/adams/32/5248_2.png) [@AdamS](https://forum.dfinity.org/u/AdamS)\
**Post date:** [May 31, 2024, 11:54pm UTC](https://forum.dfinity.org/t/error-compiling-with-ic-cdk-timers-0-7/31319/2 "2024-05-31T23:54:51Z")

</div>

This is unfortunately missing the actual error message; can you paste the full thing? (But does `cargo clean` fix it?)

---

<div class="post-metadata">

**Author:** ![rem.codes](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rem.codes/32/40260_2.png) [@rem.codes](https://forum.dfinity.org/u/rem.codes)\
**Post date:** [June 18, 2024, 1:50pm UTC](https://forum.dfinity.org/t/error-compiling-with-ic-cdk-timers-0-7/31319/3 "2024-06-18T13:50:09Z")

</div>

Sorry for the late response but unfortunatly it does not solve the issue;

this are the deps i’m using

```auto
candid = "0.10"
ic-cdk = "0.14"
ic-stable-structures = "0.6"
serde = "1.0"
serde_json = "1.0"
ic-websocket-cdk = "0.3"
ic-cdk-timers = "0.8"
ic-ledger-types = "0.11"
email_address = "0.2"
unicode-segmentation = "1"
icrc-ledger-types = "0.1"

```

but im still getting an error;

```auto
note: rust-lld: error: duplicate symbol: canister_global_timer
          >>> defined in /../release/deps/libic_cdk_timers-72cd1133b0b93799.rlib(ic_cdk_timers-72cd1133b0b93799.ic_cdk_timers.e6d22bddeb331fc9-cgu.05.rcgu.o)
          >>> defined in /../release/deps/libic_cdk_timers-2f8d20a847a37445.rlib(ic_cdk_timers-2f8d20a847a37445.ic_cdk_timers.b0aa4317fd322d96-cgu.04.rcgu.o)
          
          rust-lld: error: duplicate symbol: canister_update <ic-cdk internal> timer_executor
          >>> defined in /../release/deps/libic_cdk_timers-72cd1133b0b93799.rlib(ic_cdk_timers-72cd1133b0b93799.ic_cdk_timers.e6d22bddeb331fc9-cgu.05.rcgu.o)
          >>> defined in /../release/deps/libic_cdk_timers-2f8d20a847a37445.rlib(ic_cdk_timers-2f8d20a847a37445.ic_cdk_timers.b0aa4317fd322d96-cgu.04.rcgu.o)

```

---

<div class="post-metadata">

**Author:** ![AdamS](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/adams/32/5248_2.png) [@AdamS](https://forum.dfinity.org/u/AdamS)\
**Post date:** [June 18, 2024, 1:51pm UTC](https://forum.dfinity.org/t/error-compiling-with-ic-cdk-timers-0-7/31319/4 "2024-06-18T13:51:46Z")

</div>

You need to use the same version of ic-cdk and ic-cdk-timers that ic-websocket-cdk is using.

---

<div class="post-metadata">

**Author:** ![rem.codes](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rem.codes/32/40260_2.png) [@rem.codes](https://forum.dfinity.org/u/rem.codes)\
**Post date:** [June 18, 2024, 1:58pm UTC](https://forum.dfinity.org/t/error-compiling-with-ic-cdk-timers-0-7/31319/5 "2024-06-18T13:58:47Z")

</div>

You are right, thanks for the quick response
