On Sun, Nov 16, 2008 at 4:39 PM, Anderson Lizardo
<[EMAIL PROTECTED]> wrote:
> Just tested r633 now and it seems all build issues were fixed. Thanks!
>
> Anyway, I'll install vte + gtk as I want to play with the graphing options
> too.
Another issue. I *thought* the build was ok, but when issuing "make
install" it complains about radiff missing. Indeed the radiff
compilation fails with:
...
cc -g -O2 -g -Wall -O2 -I/include -Wall -I.. -c -o rdbdiff_main.o
rdbdiff_main.c
rdbdiff_main.c:43: error: conflicting types for 'string_flag_offset'
../flags.h:48: error: previous declaration of 'string_flag_offset' was here
make[3]: *** [rdbdiff_main.o] Error 1
make[3]: Leaving directory
`/home/andgomes/workspace/reverse_engineering/radare/deb/radare-1.0/src/radiff'
make[2]: [_radiff] Error 2 (ignored)
...
Attached a patch that (I think) fix the issue. It just removes the
conflicting definition for string_flag_offset() from rdbdiff_main.c.
It fixes the compilation problem for me.
Regards,
--
Anderson Lizardo
Fix the following compilation error:
cc -g -O2 -g -Wall -O2 -I/include -Wall -I.. -c -o rdbdiff_main.o rdbdiff_main.c
rdbdiff_main.c:43: error: conflicting types for âstring_flag_offsetâ
../flags.h:48: error: previous declaration of âstring_flag_offsetâ was here
---
src/radiff/rdbdiff_main.c | 5 -----
1 file changed, 5 deletions(-)
Index: radare-1.0/src/radiff/rdbdiff_main.c
===================================================================
--- radare-1.0.orig/src/radiff/rdbdiff_main.c
+++ radare-1.0/src/radiff/rdbdiff_main.c
@@ -39,11 +39,6 @@
exit(0);
}
-void string_flag_offset(unsigned long long off, char *buf)
-{
- buf[0]='\0';
-}
-
void show_version()
{
printf("0.1\n");
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org