Hi, i would like to use Vine but after completing the instructions for installation here:
http://bitblaze.cs.berkeley.edu/release/vine-1.0/howto.html i get this errors: Thanks in advance.
In file included from ./disasm/asm_program.cpp:16:0:
/usr/include/libiberty/libiberty.h:110:38: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
^
/usr/include/libiberty/libiberty.h:121:45: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern const char *lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
^
/usr/include/libiberty/libiberty.h:126:49: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern const char *dos_lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
^
/usr/include/libiberty/libiberty.h:132:50: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern const char *unix_lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
^
/usr/include/libiberty/libiberty.h:142:58: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern char *concat (const char *, ...) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL;
^
/usr/include/libiberty/libiberty.h:151:68: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern char *reconcat (char *, const char *, ...) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL;
^
/usr/include/libiberty/libiberty.h:164:54: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern char *concat_copy (char *, const char *, ...) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1) ATTRIBUTE_SENTINEL;
^
/usr/include/libiberty/libiberty.h:171:47: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern char *concat_copy2 (const char *, ...) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL;
^
/usr/include/libiberty/libiberty.h:229:55: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern char *choose_temp_base (void) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
/usr/include/libiberty/libiberty.h:259:30: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern char *xstrerror (int) ATTRIBUTE_RETURNS_NONNULL;
^
/usr/include/libiberty/libiberty.h:301:48: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern void *xmalloc (size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
/usr/include/libiberty/libiberty.h:307:40: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern void *xrealloc (void *, size_t) ATTRIBUTE_RETURNS_NONNULL;
^
/usr/include/libiberty/libiberty.h:312:56: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern void *xcalloc (size_t, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
/usr/include/libiberty/libiberty.h:316:54: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern char *xstrdup (const char *) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
/usr/include/libiberty/libiberty.h:320:63: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern char *xstrndup (const char *, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
/usr/include/libiberty/libiberty.h:324:70: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
extern void *xmemdup (const void *, size_t, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
^
/usr/include/libiberty/libiberty.h:402:28: error: expected initializer before ‘ATTRIBUTE_RETURNS_NONNULL’
const char *tempbase) ATTRIBUTE_RETURNS_NONNULL;
^
./disasm/asm_program.cpp: In function ‘bfd_byte* get_ptr_to_instr(asm_program_t*, bfd_vma)’:
./disasm/asm_program.cpp:76:57: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘bfd_vma {aka long unsigned int}’ [-Wformat=]
fprintf(stderr, "Segment for %llx not found\n", addr);
^
./disasm/asm_program.cpp: In function ‘std::map<long unsigned int, asm_function*> identify_functions(std::map<long unsigned int, _segment*>, bfd*)’:
./disasm/asm_program.cpp:336:47: error: ‘xmalloc’ was not declared in this scope
symtbl = (asymbol **) xmalloc(storage_needed);
^
./disasm/asm_program.cpp: In function ‘bfd* initialize_bfd(const char*)’:
./disasm/asm_program.cpp:520:18: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
char *target = "i686-pc-linux-gnu";
^
./disasm/asm_program.cpp: In function ‘vine_symbols_t* get_symbols_of_file(const char*)’:
./disasm/asm_program.cpp:570:40: error: ‘xmalloc’ was not declared in this scope
syms = (asymbol**) xmalloc(storage);
^
./disasm/asm_program.cpp:590:39: error: ‘xmalloc’ was not declared in this scope
dynsyms = (asymbol**) xmalloc(storage);
^
./disasm/asm_program.cpp: In function ‘dyn_functions_t* get_synthetic_symbols(const char*)’:
./disasm/asm_program.cpp:670:40: error: ‘xmalloc’ was not declared in this scope
syms = (asymbol**) xmalloc(storage);
^
./disasm/asm_program.cpp:678:39: error: ‘xmalloc’ was not declared in this scope
dynsyms = (asymbol**) xmalloc(storage);
^
make[3]: *** [asm_program.o] Error 1