| Avatar
Новичок
Всего сообщений: 1 Рейтинг пользователя: -1
Дата регистрации на форуме: 28 июля 2006
|
Профиль | ИгнорироватьNEW! Сообщение отправлено: 28 июля 2006 17:59
Хочу собрать библиотеку libpcap-0.8.3 под cygwin'ом (для того чтобы в дальнейшем устанавливать проги, требующие эту библиотеку ) и уже на стадии конфигурирования вылетает ошибка... $ ./configure checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking gcc version... 3 checking for inline... inline checking for __attribute__... yes checking for u_int8_t using gcc... yes checking for u_int16_t using gcc... yes checking for u_int32_t using gcc... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking ifaddrs.h usability... no checking ifaddrs.h presence... no checking for ifaddrs.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for netinet/if_ether.h... no checking for ANSI ioctl definitions... no configure: error: see the INSTALL for more info
Как вы понимаете файл INSTALL.txt я конечно же посмотрел... В рускоязычном инете искал ...наткнулся на какой-то форум где чувак говорил о данной проблемме. Спустя некоторое время он написал, что избавился от нее путем добавления в директорию /usr/include/sys/*.h файлов....(каких именно он не пояснял) ... В англоязычной части инета было сказано, что надо посмотреть в файлике configure ( там 7000 строк...но это фигня =) ...какие хедеры в этот момент (когда появляется запись checking for ANSI ioctl definitions... ) проверяются... залез я и туда, нашел там такую вещь ... - if test "$GCC" = yes ; then echo "$as_me:$LINENO: checking for ANSI ioctl definitions" >&5 echo $ECHO_N "checking for ANSI ioctl definitions... $ECHO_C" >&6 if test "${ac_cv_lbl_gcc_fixincludes+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* * This generates a "duplicate case value" when fixincludes * has not be run. */ # include <sys/types.h> # include <sys/time.h> # include <sys/ioctl.h> # ifdef HAVE_SYS_IOCCOM_H # include <sys/ioccom.h> # endif
......гм...все перечисленные инклуды у меня есть....даже и не знаю, что теперь делать.... Народ, если кто сталкивался с подобной проблеммой, помогите плз... или дайте хоть направление в котором "рыть"... |