?
Solved

Gamin + Red Hat Enterprise 4 compiling problem

Posted on 2006-07-17
2
Medium Priority
?
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
manish_regmi earned 1000 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 1000 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

777 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