News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Need help for Code blocks

Started by thungmail, October 15, 2009, 08:02:23 AM

Previous topic - Next topic

thungmail

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

Ceniza

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).