1

I don't know what is happening in my Ubuntu 13.10. All my functions using std::threads are throwing the error message :

terminate called after throwing an instance of 'std::system_error'
what(): Operation not permitted Aborted (core dumped)

This same program works perfectly in Ubuntu 13.04 64 and 32 bits... I didn't change the g++ parameters in the Makefile.. It seems to be a bug of Ubuntu 13.10 x64..

Can anyone help me?

( Sorry for my bad English )

Ali
  • 56,466
  • 29
  • 168
  • 265
Lucas Lellis
  • 43
  • 1
  • 5

1 Answers1

1

You are most likely missing the -phtread switch when compiling. If you link in a seperate step you need to add the switch -lpthread to you commandline.

Bo M. Petersen
  • 230
  • 2
  • 7