[LLVMdev] help with llvm make system

Stefan Oestreicher so at deluxe-design.at
Tue Sep 22 09:58:35 PDT 2009


Hi,

thank you for your response.

Óscar Fuentes schrieb:
> It would be useful to see the first error messages and the compile
> command (do make VERBOSE=1 in case it is hidden

the first few errors are:
f:/dev/projects/llvm-2.5/include/llvm/Support/Annotation.h:42: error: 
expected unqualified-id before numeric constant
f:/dev/projects/llvm-2.5/include/llvm/Support/Annotation.h: In 
constructor `llvm::AnnotationID::AnnotationID(unsigned int)':
f:/dev/projects/llvm-2.5/include/llvm/Support/Annotation.h:47: error: 
expected identifier before numeric constant
f:/dev/projects/llvm-2.5/include/llvm/Support/Annotation.h:47: error: 
expected `(' before numeric constant
f:/dev/projects/llvm-2.5/include/llvm/Support/Annotation.h:47: error: 
expected `{' before numeric constant
f:/dev/projects/llvm-2.5/include/llvm/Support/Annotation.h: In copy 
constructor `llvm::AnnotationID::AnnotationID(const llvm::AnnotationID&)':

and this is the compile command:

if g++ -I/f/dev/projects/llvm-2.5/include 
-I/f/dev/projects/lomo-antlr/include 
-I/f/dev/projects/lomo-antlr/tools/lomoc  -D_DEBUG  -D_GNU_SOURCE 
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g -fno-exceptions 
-I/usr/local/include -Woverloaded-virtual -pedantic -Wall -W 
-Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter  -c -MMD 
-MP -MF "/f/dev/projects/lomo-antlr/tools/lomoc/Debug/main.d.tmp" -MT 
"/f/dev/projects/lomo-antlr/tools/lomoc/Debug/main.lo" -MT 
"/f/dev/projects/lomo-antlr/tools/lomoc/Debug/main.o" -MT 
"/f/dev/projects/lomo-antlr/tools/lomoc/Debug/main.d" main.cc -o 
/f/dev/projects/lomo-antlr/tools/lomoc/Debug/main.o ; \
            then /bin/mv -f 
"/f/dev/projects/lomo-antlr/tools/lomoc/Debug/main.d.tmp" 
"/f/dev/projects/lomo-antlr/tools/lomoc/Debug/main.d"; else /bin/rm 
"/f/dev/projects/lomo-antlr/tools/lomoc/Debug/main.d.tmp"; exit 1; fi

Thanks,

Stefan



More information about the llvm-dev mailing list