Menu

cannot use fork function

2002-12-06
2012-09-26
  • Nobody/Anonymous

    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??????

     
    • Nobody/Anonymous

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.