Compile error with tcl-inotify
- From: max vorticity <max.vorticity@xxxxxxxxxxx>
- Date: Fri, 1 Jun 2012 09:49:58 -0700 (PDT)
Get the following trying to compile tcl-inotify on Redhat Enterprise
5. Supplied --with-tcl argument with configure to point to
ActiveTcl8.5 installation.
gcc -DPACKAGE_NAME=\"inotify\" -DPACKAGE_TARNAME=\"inotify\" -
DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"inotify\ 1.3\" -DP
ACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -
DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_M
EMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -
DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\
(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\
long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK
64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -I"/awips/dev/apps/
ActiveTcl8.5/include" -pipe -O2 -fomit-frame-pointer -W
all -Wno-implicit-int -fPIC -c `echo ./unix/inotify.c` -o inotify.o
../unix/inotify.c: In function #InotifyCmd#:
../unix/inotify.c:105: warning: passing argument 3 of #tclStubsPtr-
tcl_GetIndexFromObj# from incompatible pointer type../unix/inotify.c:135: warning: implicit declaration of function
#inotify_init1#
../unix/inotify.c:135: error: #IN_NONBLOCK# undeclared (first use in
this function)
../unix/inotify.c:135: error: (Each undeclared identifier is reported
only once
../unix/inotify.c:135: error: for each function it appears in.)
../unix/inotify.c: In function #WatchCmd#:
../unix/inotify.c:280: warning: passing argument 3 of #tclStubsPtr-
tcl_GetIndexFromObj# from incompatible pointer typemake: *** [inotify.o] Error 1
.
- Prev by Date: Re: Making public/private tcl proc pairs
- Next by Date: 10th European Tcl/Tk User Meeting in Munich (Update information)
- Previous by thread: Re: Excel column numbers to letters
- Next by thread: 10th European Tcl/Tk User Meeting in Munich (Update information)
- Index(es):