[LLVMdev] Compiling errors from UnixLocalInferiorProcess.cpp when compiling on MinGW
Reid Spencer
reid at x10sys.com
Wed Oct 6 13:22:47 PDT 2004
This file (UnixLocalInferiorProcess.cpp) is due for porting and placement in
lib/System but I haven't gotten there yet. If you come up with something that
works on MINGW, please let me know.
Thanks,
Reid.
Henrik Bach wrote:
> Hi
>
> When compiling UnixLocalInferiorProcess.cpp, I get these errors:
> -----------------------
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:41:22:
> sys/wait.h: No such file or directory
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:
> In
> member function `void <unnamed>::IP::startChild(llvm::Module*, const
> std::vector<std::string, std::allocator<std::string> >&, const char*
> const*)
> ':
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:255:
> error: `
> pipe' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:255:
> error: (Each
> undeclared identifier is reported only once for each function it appears
> in.)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:264:
> error: `
> fork' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:
> In
> member function `void <unnamed>::IP::killChild() const':
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:428:
> error: `
> WNOHANG' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:428:
> error: `
> waitpid' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:437:
> error: `
> usleep' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:452:
> error: `
> WIFEXITED' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:453:
> error: `
> WEXITSTATUS' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:454:
> error: `
> WIFSIGNALED' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:455:
> error: `
> WTERMSIG' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:460:
> error: `
> SIGKILL' undeclared (first use this function)
> C:/MinGW/msys/local/projects/src/llvm/lib/Debugger/UnixLocalInferiorProcess.cpp:460:
> error: `
> kill' undeclared (first use this function)
> -----------------------
>
> It seems to be unix platform specific. However, I'm compiling this on
> MinGW. Shouldn't this be moved to lib/System/platform for every platform?
>
> Any suggestions?
>
> =============================================================
> Henrik Bach
> Open Source Developer
>
> e-mail: henrik_bach_llvm at hotmail.com
> =============================================================
> Got Freedom?
> Software Freedom Day 2004 - 28th of August
> http://www.softwarefreedomday.org/
> =============================================================
>
> _________________________________________________________________
> Opret en gratis Hotmail-konto http://www.hotmail.com med udsigt til 250
> MB lagerkapacitet
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list