Re: [PATCH v9 0/9] trace-cmd: Timetamps sync between host and guest machines, relying on vsock events.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having issues building this. Does it depend on some other series
that haven't made it to master yet?

Also the warnings need to be fixed too.

trace-input.c: In function ‘timestamp_correct’:
trace-input.c:1094:9: warning: implicit declaration of function ‘n’ [-
Wimplicit-function-declaration]
  return n(ts, &handle->ts_samples[mid],
         ^
trace-output.c: In function ‘tracecmd_add_option’:
trace-output.c:963:16: warning: assignment discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
  vect.iov_base = data;
                ^
trace-timesync.c: In function ‘get_events_in_page’:
trace-timesync.c:184:11: warning: implicit declaration of function
‘tep_data_event_from_type’; did you mean ‘tep_data_pid_from_comm’? [-
Wimplicit-function-declaration]
   event = tep_data_event_from_type(tep, id);
           ^~~~~~~~~~~~~~~~~~~~~~~~
           tep_data_pid_from_comm
trace-timesync.c:184:9: warning: assignment to ‘struct tep_event *’
from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
   event = tep_data_event_from_type(tep, id);
         ^

/usr/bin/ld: /home/kaslevs/src/tc-gh/tracecmd/trace-timesync.o: in
function `get_events_in_page':
/home/kaslevs/src/tc-gh/tracecmd/trace-timesync.c:184: undefined
reference to `tep_data_event_from_type'
/usr/bin/ld: /home/kaslevs/src/tc-gh/lib/trace-cmd/libtracecmd.a(trace-
input.o): in function `timestamp_correct':
/home/kaslevs/src/tc-gh/lib/trace-cmd/trace-input.c:1094: undefined
reference to `n'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:66: /home/kaslevs/src/tc-gh/tracecmd/trace-cmd]
Error 1

Cheers,

-- Slavi




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux