Issue with fsuage api of glibtop

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

 



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
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux