Hi all,
I'm new here. But, I was wondering if I could get some help with running pthreads in Bloodshed Dev-C++. I downloaded the pthreads.DevPack and installed it, but when I compile my program I'm making for my class I get linker errors.
[Linker error] undefined reference to `_imp__pthread_attr_init'
[Linker error] undefined reference to `_imp__pthread_create'
[Linker error] undefined reference to `_imp__pthread_join'
[Linker error] undefined reference to `_imp__pthread_exit'
[Linker error] undefined reference to `_imp__pthread_mutex_init'
[Linker error] undefined reference to `_imp__pthread_cond_init'
[Linker error] undefined reference to `_imp__pthread_mutex_lock'
[Linker error] undefined reference to `_imp__pthread_mutex_unlock'
[Linker error] undefined reference to `_imp__pthread_exit'
ld returned 1 exit status
I was wondering if anyone could tell me what I could do to fix it.
Thanks,
Emily