User forums > General (but related to Code::Blocks)

Need help for Code blocks

(1/1)

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

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

Navigation

[0] Message Index

Go to full version