Author Topic: Need help for Code blocks  (Read 3223 times)

thungmail

  • Guest
Need help for Code blocks
« on: October 15, 2009, 08:02:23 am »
I got a error message like this
Quote
Compiling: ..\Ex1\forkexample.c
Linking console executable: ..\Ex1\forkexample.exe
..\Ex1\forkexample.o:forkexample.c:(.text+0x2b): undefined reference to `_fork'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 4 seconds)
1 errors, 0 warnings
How could I fix this problem.Pls gimme some hints.Thanks

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Need help for Code blocks
« Reply #1 on: October 15, 2009, 04:38:08 pm »
How could I fix this problem.Pls gimme some hints.Thanks

By asking in the appropriate forum.

That's a programming question for which you need a forum that supports a mix of your operating system (Windows?), the programming language (C) and/or the API/standard/library/... that is giving you problems (POSIX?).

Please note that these forums are only for Code::Blocks, which is an IDE. We provide the MinGW compiler (which is a GCC port for Windows) for convenience, but we do not give support for it (except for integration with the IDE).