Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-10-2007, 05:00 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 6

Rep: Reputation: 0
can't compile libgtop program

dear all,
im new to linux and i am working on getting some system related information in my program.

i installed glib-2 and libgtop-2 using:

$ configure
$ make
$ make install

i tried to compile "first.c" in src/libgtop-2/examples and i am getting loads of "header file not found" and "constant undefined errors"... i tried this on both redhat and suse.

can someone plz tell me the steps to complete my task?
Old 09-10-2007, 05:25 AM   #2
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
You should post the actual errors, for allot of people, it's much easier to understand the errors printed compared to trying to guess what kind of errors you're getting. Probably would get a more accurate diagnosis with them. Post the command you issued and everything after till the prompt comes back.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
a problem with libgtop wangjinyi Linux - Software 1 07-17-2007 08:59 AM
an old problem of libgtop 2.10 Zhanwen Linux - Software 0 01-20-2006 02:19 AM
libGtop 2.8 wont install Scott7 Debian 3 10-18-2005 02:28 PM
Gdesklets and libgtop and FC4 x86_64 pafinator11 Linux - Software 1 08-15-2005 05:01 PM
GDesklets needs libgtop-2.0.pc on PKG_CONFIG_PATH lramos85 Linux - Software 1 02-11-2004 12:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration