This is the mail archive of the pthreads-win32@sourceware.org mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re:Status for Windows CE with pthreads 2.7.0?


I can compile, if the following flag are set /D "WINCE" /D "HAVE_CONFIG_H"
Further more some header files like <process.h> should be prevented from being included like this.
#ifndef WINCE
# include <procee.h>
#endif


Doing that I could create a static library if I compiled the follow files:

"private.c" "attr.c""barrier.c""cancel.c" "cleanup.c" "condvar.c" "create.c" "dll.c"
"errno.c" "exit.c" "fork.c" "global.c" "misc.c" "mutex.c" "nonportable.c"
"rwlock.c" "sched.c" "semaphore.c" "signal.c" "spin.c" "sync.c" "tsd.c"


unfortunately it gives me linking errors when I try to link it to my program.

create.obj : error LNK2019: unresolved external symbol ptw32_threadDestroy referenced in function pthread_create
create.obj : error LNK2019: unresolved external symbol ptw32_setthreadpriority referenced in function pthread_create
create.obj : error LNK2019: unresolved external symbol ptw32_threadStart referenced in function pthread_create
create.obj : error LNK2019: unresolved external symbol ptw32_new referenced in function pthread_create
SCUtility.lib(SCUtility.obj) : error LNK2019: unresolved external symbol __imp_pthread_join referenced in function "int __cdecl exit(void)" (?exit@@YAHXZ)



I can see that source code exist for the unresolved external symbols, but if I add some of the files I get "already defined" warnings..
I would appreciate if someone could tell us what files are appropriate for use with windows CE.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]