Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: thungmail on October 15, 2009, 08:02:23 am

Title: Need help for Code blocks
Post by: thungmail 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
Title: Re: Need help for Code blocks
Post by: Ceniza 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).