Regards,
Bindu
On Dec 14, 1:07 pm, 赵磊 <zhaolei....@gmail.com> wrote:
> --------- Forwarded message ----------
> From: Stephen McCamant <s...@cs.berkeley.edu>
> Date: 2011/12/12
> Subject: Re: Vine Installation
> To: bitblaz...@googlegroups.com
>
> >>>>> "PG" == Puneet Ginoria <punnu.gino...@gmail.com> writes:
>
> PG> hi,
> PG> I am trying to install vine on ubuntu 11.04 but i am getting
> PG> this error. Please somebody help me out. Thanks in advance.
>
> PG> In file included from ./disasm/asm_program.cpp:16:0:
> PG> /usr/include/libiberty.h:106:
> 36: error: new declaration `char*
> PG> basename(const char*)'
> PG> /usr/include/string.h:603:28: error: ambiguates old declaration `const
> PG> char* basename(const char*)'
>
> Remember that the recommended platform for BitBlaze 1.0 is Ubuntu
> 9.04. If you're not comfortable modifying the source code yourself to
> fix compilation problems, you may be better off using the recommended
> platform. However in this case the problem is one we've encountered
> before, and it has a simple patch. This has been discussed before in
> the following mailing list threads (which you also could have found by
> searching the archive for "basename"):
>
>
> Hope this helps,
>
> -- Stephen
>
> 2011/12/14 Bindu Madhavi <padm0...@gmail.com>
>
>
>
> > Hi, I'm a new to Vine. I get the following error when i used make command
> > to compile Vine source. Could you please direct me to compile it
> > successfully.
>
> > In file included from ./disasm/asm_program.cpp:16:
> > /usr/include/libiberty.h:106: error: new declaration ‘char* basename(const
> > char*)’
> > /usr/include/string.h:601: error: ambiguates old declaration ‘const char*
> > basename(const char*)’
> > ./disasm/asm_program.cpp: In function ‘bfd* initialize_bfd(const char*)’:
> > ./disasm/asm_program.cpp:520: warning: deprecated conversion from string
> > constant to ‘char*’
> > make[3]: *** [asm_program.o] Error 1
> > make[3]: Leaving directory `/.../vine-1.0/libasmir/src'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory /.../vine-1.0/libasmir'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/.../vine-1.0/libasmir'- Hide quoted text -
>
> - Show quoted text -