Solved

Gamin + Red Hat Enterprise 4 compiling problem

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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 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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now