[Bug 18766] New: lldb fails to build under ubuntu Precise

Bug ID 18766
Summary lldb fails to build under ubuntu Precise
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter sylvestre@debian.org
Classification Unclassified

if  g++-4.8
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/build-llvm/include
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/build-llvm/tools/lldb/source/Host/common
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/include
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/tools/lldb/source/Host/common
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/tools/lldb/source/Host/common/../../../include

-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/build-llvm/tools/lldb/source/Host/common/../../../include
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/tools/clang/include
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/build-llvm/tools/clang/include
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/tools/lldb/source/Host/common/../../../source
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/tools/lldb/source/Host/common/../../../source/Utility
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/tools/lldb/source/Host/common/../../../source/Plugins/Process/Utility
-I/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/tools/lldb/source/Host/common/../../../source/Plugins/Process/POSIX
-I/usr/include/python2.7 -I/usr/include/python2.7 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -fomit-frame-pointer -fvisibility-inlines-hidden
-fno-exceptions -fPIC -Woverloaded-virtual -ffunction-sections -fdata-sections
-Wcast-qual -fno-strict-aliasing -std=c++0x -D_FORTIFY_SOURCE=2
-D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
-D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
 -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings 
-Wno-unknown-pragmas -Wno-sign-compare -Wno-sign-compare -Wno-unused-function  
-Wno-maybe-uninitialized -Wno-missing-field-initializers -c -MMD -MP -MF
"/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/build-llvm/tools/lldb/source/Host/common/Release/Editline.d.tmp"
-MT
"/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/build-llvm/tools/lldb/source/Host/common/Release/Editline.o"
-MT
"/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/build-llvm/tools/lldb/source/Host/common/Release/Editline.d"
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/tools/lldb/source/Host/common/Editline.cpp
-o
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/build-llvm/tools/lldb/source/Host/common/Release/Editline.o
; \
[...]
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn200974/tools/lldb/source/Host/common/Editline.cpp:70:27:
error: 'EL_PROMPT_ESC' was not declared in this scope
     ::el_set (m_editline, EL_PROMPT_ESC, GetPromptCallback,
k_prompt_escape_char);

Sylvestre Ledru changed bug 18766

What Removed Added
Status NEW RESOLVED
Resolution FIXED

Comment # 1 on bug 18766 from Sylvestre Ledru

Fix by commits r201024 r201023 (with an ifdef)