Solved

Gamin + Red Hat Enterprise 4 compiling problem

Posted on 2006-07-17
2
253 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
A "Helper" for python 2 102
understanding folder structure inside an rpm 2 74
how does yum update work 2 58
check failing on yum update 5 31
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 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