Custom Query (89 matches)


Show under each result:

Results (73 - 75 of 89)

Ticket Resolution Summary Owner Reporter
#280 fixed trying to work with libtrace but it is giving an error anonymous sgup028@…

I have installed ruby-1.8.6, libtrace-3.0.6 and ruby-libtrace on ubuntu as well as Redhat Enterprise Linux version 5. But when i try to write a program in ruby to trace a anonymous.bpf file then it gives me an error "not a pcap tracefile (libtrace error). Could you tell what is the problem. I tries libtrace-3.0.7 also, it gives me an error segementation fault aborted.

#286 fixed libtrace compilation problem on Mandriva 2010.1 perry gvubrugier

Compilation of libtrace-3.0.7 fails on a Mandriva 2010.1, using dag-2.5.5r2. The error message is:

format_erf.c: In function ‘erf_get_padding’:
format_erf.c:139: erreur: ‘TYPE_DSM_COLOR_ETH’ undeclared 

and can be silenced by the following patch

--- ../libtrace-3.0.7/lib/libtrace_int.h	2010-11-26 04:24:14.000000000 +0100
+++ lib/libtrace_int.h	2010-11-26 03:24:21.000000000 +0100
@@ -135,6 +135,7 @@
 #	if DAG_VERSION == 24
 #		include <erftypes.h>
 #	else
+#              include "erftypes.h"
 #		include <daginf.h>
 #	endif
#287 fixed libtrace tools linking problem on Mandriva 2010.1 perry gvubrugier

On Mandriva 2010.1, building libtrace tools produces this error:

  CCLD   traceanon
/home/me/tmp/libtrace-3.0.7/lib/.libs/ undefined reference to `pcap_vsnprintf'
collect2: ld returned 1 exit status

Apparently, HAVE_VSNPRINTF must be defined somewhere to prevent libpcap (1.1.1) from providing its vsnprintf() (see pcap-int.h):

--- lib/	2010-11-26 04:15:55.000000000 +0100
+++ ../libtrace-3.0.7/lib/	2010-11-26 04:37:35.000000000 +0100
@@ -60,7 +60,6 @@
  * Woody, at least, does not support large file offsets.
 #include <sys/types.h>
 #ifndef WIN32
Note: See TracQuery for help on using queries.