[LLVMdev] SysUtils.c compile problem on Mac OSX 10.3 with llvm-1.4
Reid Spencer
reid at x10sys.com
Tue Sep 27 15:29:33 PDT 2005
Furthermore, the functionality of "executeProgram" has been replaced by the
sys::Program::executeAndWait function (include/llvm/System/Program.h and
lib/System/Unix/Program.inc). This function correctly negotiates the platform
differences wrt RTLD_NEXT and similar #defines from the operating system
include files.
Reid.
Chris Lattner wrote:
> On Tue, 27 Sep 2005, Kevin J. Stephano wrote:
>
>> I am currently running on a Mac OSX 10.3.8 and trying to
>> compile llvm-1.4 on my local machine for Prof. Adve's class.
>>
>> I am using Apple's provided gcc 3.3 as my compiler.
>>
>> I ran into this compile error:
>> SysUtils.c: In function `executeProgram':
>> SysUtils.c:119: error: `RTLD_NEXT' undeclared (first use in
>> this function)
>> SysUtils.c:119: error: (Each undeclared identifier is reported
>> only once
>> SysUtils.c:119: error: for each function it appears in.)
>> make[2]: ***
>> [/Users/senatorned/llvm/tools/llee/Debug/SysUtils.lo] Error 1
>> make[1]: *** [llee/.makeall] Error 2
>> make: *** [all] Error 1
>
>
> llee has been removed from LLVM CVS. If you remove its entry from your
> llvm/tools/Makefile you should be ok.
>
> -Chris
>
More information about the llvm-dev
mailing list