[LLVMdev] Subversion head: build problem on cygwin?
Jules
jules at dsf.org.uk
Tue Mar 11 13:14:37 PDT 2008
Not sure if this is me or not, because this is the first time I've built
LLVM on Cygwin, but I can't get a working compile. I've configured with
the following options:
$ ./configure --with-llvmgccdir=/cygdrive/i/Projects/llvm-gcc4.2-2.2
--enable-debug-runtime --enable-jit --enable-targets=x86
Configure doesn't suggest there's anything wrong, but when I try make, I
almost immediately get the following error:
make[1]: Entering directory `/cygdrive/i/Projects/llvm/lib/System'
llvm[1]: Compiling Path.cpp for Debug build
In file included from Path.cpp:201:
Unix/Path.inc: In static member function `static llvm::sys::Path
llvm::sys::Path::GetMainExecutable(const char*, void*)':
Unix/Path.inc:256: error: `Dl_info' undeclared (first use this function)
Unix/Path.inc:256: error: (Each undeclared identifier is reported only
once for each function it appears in.)
Unix/Path.inc:256: error: expected `;' before "DLInfo"
Unix/Path.inc:257: error: `DLInfo' undeclared (first use this function)
Unix/Path.inc:257: error: `dladdr' undeclared (first use this function)
make[1]: *** [/cygdrive/i/Projects/llvm/lib/System/Debug/Path.o] Error 1
make[1]: Leaving directory `/cygdrive/i/Projects/llvm/lib/System'
make: *** [all] Error 1
I have svn revision 48243, a relatively recent cygwin (1.5.24-2) with
gcc 3.4.4 (i.e. not the 3.3.3 version described in the docs as not
working), and WinXP.
Any ideas?
More information about the llvm-dev
mailing list