in reply to Re^4: KinoSearch Installation errors
in thread KinoSearch Installation errors

Try

#ifdef CHY_HAS_WINDOWS_H ...bbb... #elif defined(CHY_HAS_DIRENT_H) ...aaa... #endif

instead of

#ifdef defined(CHY_HAS_WINDOWS_H) ...bbb... #elif CHY_HAS_DIRENT_H ...aaa... #endif

Replies are listed 'Best First'.
Re^6: KinoSearch Installation errors
by archimca (Novice) on Apr 20, 2011 at 20:46 UTC
    C:/Perl/bin/MinGW/bin/gcc.exe -c -I"." -I"core" -I"autogen" -I"xs" -I" +charmonize r\src" -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_ +HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPE +RL_IMPLICI T_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-al +iasing -mm s-bitfields -std=gnu99 -D_GNU_SOURCE -O2 -I"C:\Perl\lib\CORE" -I"\incl +ude" -o "c ore\KinoSearch\Store\FSDirHandle.o" "core\KinoSearch\Store\FSDirHandle +.c" core\KinoSearch\Store\FSDirHandle.c: In function 'kino_FSDH_do_open': core\KinoSearch\Store\FSDirHandle.c:62:5: warning: implicit declaratio +n of funct ion 'opendir' core\KinoSearch\Store\FSDirHandle.c:62:25: warning: assignment makes p +ointer fro m integer without a cast core\KinoSearch\Store\FSDirHandle.c: In function 'kino_FSDH_next': core\KinoSearch\Store\FSDirHandle.c:75:35: warning: implicit declarati +on of func tion 'readdir' core\KinoSearch\Store\FSDirHandle.c:83:35: error: dereferencing pointe +r to incom plete type core\KinoSearch\Store\FSDirHandle.c:87:38: error: dereferencing pointe +r to incom plete type core\KinoSearch\Store\FSDirHandle.c:91:52: error: dereferencing pointe +r to incom plete type core\KinoSearch\Store\FSDirHandle.c: In function 'kino_FSDH_entry_is_s +ymlink': core\KinoSearch\Store\FSDirHandle.c:143:36: error: 'S_IFLNK' undeclare +d (first u se in this function) core\KinoSearch\Store\FSDirHandle.c:143:36: note: each undeclared iden +tifier is reported only once for each function it appears in core\KinoSearch\Store\FSDirHandle.c: In function 'kino_FSDH_close': core\KinoSearch\Store\FSDirHandle.c:160:9: warning: implicit declarati +on of func tion 'closedir' error building dll file from 'core/KinoSearch/Store/FSDirHandle.c' at +C:/Perl/si te/lib/ExtUtils/CBuilder/Platform/Windows.pm line 130.