Hi Dima,

I needed this change in order to build ltrace Git head.

07/31 11:41 [nodakai@kaidev01] ~/src/ltrace-HEAD$ git di
diff --git a/proc.c b/proc.c
index 91af49f..b2493e0 100644
--- a/proc.c
+++ b/proc.c
@@ -36,7 +36,9 @@
 #include "options.h"
 #include "proc.h"
 #include "value_dict.h"
+#if defined(HAVE_LIBDW)
 #include "dwarf_prototypes.h"
+#endif /* defined(HAVE_LIBDW) */

 #ifndef OS_HAVE_PROCESS_DATA
 int

07/31 11:42 [nodakai@kaidev01] ~/src/ltrace-HEAD$ lsb_release -a
LSB Version: (snip)
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.4 LTS
Release:        12.04
Codename:       precise

Regards,
Kai

野田  開 <[email protected]>


2014-05-13 4:17 GMT+08:00 Dima Kogan <[email protected]>:

> Thierry Fauck ( thierry @ linux.vnet.ibm.com ) <[email protected]>
> writes:
>
> > I also got this message if I don't have the proper libraries
> >
> > In file included from proc.c:39:0:
> > dwarf_prototypes.h:4:30: fatal error: elfutils/libdwfl.h: No such file
> > or directory
> >  #include <elfutils/libdwfl.h>
>
> Hi. I fixed this, and it's committed to my local tree:
>
> https://github.com/dkogan/ltrace/tree/build
>
> I'm not an automake expert, and there may be a better way to do this,
> but it works.
>
> _______________________________________________
> Ltrace-devel mailing list
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel
>
_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel

Reply via email to