[asterisk-bugs] [Asterisk 0014820]: inotify header file prevents Asterisk from compiling
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Apr 3 10:18:30 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14820
======================================================================
Reported By: phsultan
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 14820
Category: Core/BuildSystem
Reproducibility: always
Severity: tweak
Priority: low
Status: assigned
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 186285
Request Review:
======================================================================
Date Submitted: 2009-04-03 08:15 CDT
Last Modified: 2009-04-03 10:18 CDT
======================================================================
Summary: inotify header file prevents Asterisk from compiling
Description:
Here is the error I get :
[CC] stdtime/localtime.c -> stdtime/localtime.o
stdtime/localtime.c: In function âadd_notifyâ:
stdtime/localtime.c:313: error: âIN_DONT_FOLLOWâ undeclared (first use
in this function)
stdtime/localtime.c:313: error: (Each undeclared identifier is reported
only once
stdtime/localtime.c:313: error: for each function it appears in.)
make[1]: *** [stdtime/localtime.o] Error 1
make: *** [main] Error 2
My /usr/include/sys/inotify.h file (included in stdtime/localtime.c and
checked by the configure script) doesn't mention IN_DONT_FOLLOW. However,
/usr/include/linux/inotify.h mentions it, and Asterisk compiles properly if
I include the latter instead.
I suspected I had some packages improperly installed, but both files come
from my glibc-devel package :
[root at media trunk-commit]# rpmquery -f /usr/include/sys/inotify.h
glibc-devel-2.4-7mdv2007.0
[root at media trunk-commit]# rpmquery -f /usr/include/linux/inotify.h
glibc-devel-2.4-7mdv2007.0
[root at media trunk-commit]#
======================================================================
----------------------------------------------------------------------
(0102674) svnbot (reporter) - 2009-04-03 10:18
http://bugs.digium.com/view.php?id=14820#c102674
----------------------------------------------------------------------
Repository: asterisk
Revision: 186297
U trunk/main/stdtime/localtime.c
------------------------------------------------------------------------
r186297 | tilghman | 2009-04-03 10:18:29 -0500 (Fri, 03 Apr 2009) | 4
lines
Compatibility fix for glibc 2.4
(Closes issue http://bugs.digium.com/view.php?id=14820)
Reported by: phsultan
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=186297
Issue History
Date Modified Username Field Change
======================================================================
2009-04-03 10:18 svnbot Checkin
2009-04-03 10:18 svnbot Note Added: 0102674
======================================================================
More information about the asterisk-bugs
mailing list