Solved

Gamin + Red Hat Enterprise 4 compiling problem

Posted on 2006-07-17
2
252 Views
Last Modified: 2010-04-22
Hi, I am trying to use gamin (http://www.gnome.org/~veillard/gamin/) on red hat enterpise.
I have test my code (gamin.c) on Fedora 5,

>>g++ -lfram gamin.c
>>./a.out /root

and it's working fine,
however, when I do the same on red hat enterprise, I get "<fam.h> not found" error, I am also getting other "undefined reference" errors.

So I copied the fam.h from fedor into red hat entrpise /usr/inlucde foler, the <fam.h> not found warning is gone, but I still geeting the undefined reffrence erros.

Please help, thanks.
0
Comment
Question by:yarock
2 Comments
 
LVL 8

Accepted Solution

by:
manish_regmi earned 250 total points
ID: 17127087
red hat enterprise is giving error because that library is not installed.
You have to install it before you can use it.

Copying the header is not enough. You will also need library files.

regards
Manish Regmi

0
 
LVL 24

Assisted Solution

by:slyong
slyong earned 250 total points
ID: 17127491
You need to install fam-devel on RHEL 4, try to do:

# up2date fam-devel

and recompile the program.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question