when i use a fork function, the compiler always tell me that:
[Linker error] undefined reference to `fork'
it should be that, compiler could not find the library file, but the library path is correct.
why??????
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when i use a fork function, the compiler always tell me that:
[Linker error] undefined reference to `fork'
it should be that, compiler could not find the library file, but the library path is correct.
why??????
try to get pthread for win NT
http://sources.redhat.com/pthreads-win32/
I think that Fork() is not implemented but with this library, you can make posix thread ...
(I think that fork is not allowed under window)
bye