I wrote a code with fork() but I keep on getting the problem undefined reference to fork(). I know my code works 100% because I run it on my school computer and it works. How do I fix this problem? I use code blocks IDE with GCC compiler and GDB debugger from MinGW.
War_Archer
0
Newbie Poster
Recommended Answers
Jump to PostWhat operating system? fork() is not supported on MS-Windows and your school computer is probably running *nix.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.