Issue with fsuage api of glibtop
- From: Vikas Kumar <vikaskumar11 gmail com>
- To: gnome-list gnome org
- Subject: Issue with fsuage api of glibtop
- Date: Tue, 24 Nov 2009 14:28:24 -0500
Hi,
I am getting linker error on using
glibtop_fsusage fsusage;
glibtop_get_fsuage(&fsusage, "/");
command:
gcc -I/usr/include/libgtop-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -g -Wall cpu.c -lgtop-2.0
error:
/tmp/ccgEASfq.o: In function `main':
/home/vikas/cpu.c:175: undefined reference to `glibtop_get_fsuage'
collect2: ld returned 1 exit status
Pls help in resolving this issue.
Thanks
Vikas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]