Author Topic: Problem with : undefined reference to symbol 'timer_settime  (Read 1279 times)

Offline jmb

  • Multiple posting newcomer
  • *
  • Posts: 24
Problem with : undefined reference to symbol 'timer_settime
« on: December 23, 2023, 02:17:48 am »
Hi

The same Problem with: timer_create

I tried the Option -lrt  and I tried to add this library :  /lib/i386-linux-gnu/librt.so.1

Nothing helps. In the Net I found the hint, that the order for the compiler-option is important.
But I dont want to edit a makefile. Is it not possible, to do that via the IDE ?

Any Idea how I can compile my Project ?






« Last Edit: December 23, 2023, 02:22:54 am by jmb »
Linux Mint, Cinnamon 19.3 , Code::Blocks 20.03

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Problem with : undefined reference to symbol 'timer_settime
« Reply #1 on: December 24, 2023, 06:40:28 am »
If you post a build log; someone might be able to help.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline jmb

  • Multiple posting newcomer
  • *
  • Posts: 24
Re: Problem with : undefined reference to symbol 'timer_settime
« Reply #2 on: December 24, 2023, 09:10:47 pm »
I must have damaged my configuration. I finally got it to work. Thanks for the answer though.

Merry Christmas to you all

Linux Mint, Cinnamon 19.3 , Code::Blocks 20.03