Solved

Gamin + Red Hat Enterprise 4 compiling problem

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

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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