[LLVMdev] build llvm 3.2&clang 3.2

jingde liu liujingde2008 at gmail.com
Wed Feb 26 03:04:39 PST 2014


Hi,
When I try to build llvm 3.2&clang 3.2, I meet some problem when I type
"make", I was following the guide from
http://clang.llvm.org/get_started.html. I hope you can give me some help in
detail.
Thank you sincerely.
*************************************************************************************************

jingde at JingdePC:~/KLEE/Gklee-master/llvm$ make
make[1]: 正在进入目录 `/home/jingde/KLEE/Gklee-master/llvm/lib/Support'
llvm[1]: Compiling Allocator.cpp for Release+Asserts build
In file included from
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/Memory.h:18,
                 from Allocator.cpp:18:
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:490:
error: ‘EAFNOSUPPORT’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:491:
error: ‘EADDRINUSE’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:492:
error: ‘EADDRNOTAVAIL’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:493:
error: ‘EISCONN’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:494:
error: ‘E2BIG’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:495:
error: ‘EDOM’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:496:
error: ‘EFAULT’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:497:
error: ‘EBADF’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:501:
error: ‘EINVAL’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:503:
error: ‘EPIPE’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:504:
error: ‘ECONNABORTED’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:505:
error: ‘EALREADY’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:506:
error: ‘ECONNREFUSED’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:507:
error: ‘ECONNRESET’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:508:
error: ‘EXDEV’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:509:
error: ‘EDESTADDRREQ’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:510:
error: ‘EBUSY’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:511:
error: ‘ENOTEMPTY’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:512:
error: ‘ENOEXEC’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:513:
error: ‘EEXIST’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:514:
error: ‘EFBIG’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:515:
error: ‘ENAMETOOLONG’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:516:
error: ‘ENOSYS’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:517:
error: ‘EHOSTUNREACH’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:518:
error: ‘EIDRM’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:519:
error: ‘EILSEQ’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:520:
error: ‘ENOTTY’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:521:
error: ‘EINTR’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:522:
error: ‘EINVAL’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:523:
error: ‘ESPIPE’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:524:
error: ‘EIO’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:525:
error: ‘EISDIR’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:526:
error: ‘EMSGSIZE’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:527:
error: ‘ENETDOWN’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:528:
error: ‘ENETRESET’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:529:
error: ‘ENETUNREACH’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:530:
error: ‘ENOBUFS’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:531:
error: ‘ECHILD’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:535:
error: ‘EINVAL’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:537:
error: ‘ENOLCK’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:541:
error: ‘ENOMSG’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:543:
error: ‘ENOMSG’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:544:
error: ‘ENOPROTOOPT’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:545:
error: ‘ENOSPC’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:549:
error: ‘ENOMEM’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:551:
error: ‘ENXIO’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:552:
error: ‘ENODEV’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:553:
error: ‘ENOENT’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:554:
error: ‘ESRCH’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:555:
error: ‘ENOTDIR’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:556:
error: ‘ENOTSOCK’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:560:
error: ‘EINVAL’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:562:
error: ‘ENOTCONN’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:563:
error: ‘ENOMEM’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:564:
error: ‘EOPNOTSUPP’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:570:
error: ‘EINPROGRESS’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:571:
error: ‘EPERM’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:572:
error: ‘EOPNOTSUPP’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:573:
error: ‘EWOULDBLOCK’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:579:
error: ‘EACCES’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:583:
error: ‘EINVAL’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:585:
error: ‘EPROTONOSUPPORT’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:586:
error: ‘EROFS’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:587:
error: ‘EDEADLK’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:588:
error: ‘EAGAIN’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:589:
error: ‘ERANGE’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:598:
error: ‘ETIMEDOUT’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:600:
error: ‘ETXTBSY’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:601:
error: ‘ETIMEDOUT’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:602:
error: ‘ENFILE’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:603:
error: ‘EMFILE’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:604:
error: ‘EMLINK’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:605:
error: ‘ELOOP’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:606:
error: ‘EOVERFLOW’ was not declared in this scope
/home/jingde/KLEE/Gklee-master/llvm/include/llvm/Support/system_error.h:607:
error: ‘EPROTOTYPE’ was not declared in this scope
make[1]: ***
[/home/jingde/KLEE/Gklee-master/llvm/lib/Support/Release+Asserts/Allocator.o]
错误 1
make[1]:正在离开目录 `/home/jingde/KLEE/Gklee-master/llvm/lib/Support'
make: *** [all] 错误 1
**************************************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140226/1e32d02a/attachment.html>


More information about the llvm-dev mailing list