LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-10-2007, 05:00 AM   #1
keanu
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: 59
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.
 
  


Reply

Tags
compiling


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


All times are GMT -5. The time now is 06:26 PM.

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