Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: "Tony Guadagno" Subject: trying to compile mod_dosevasive with cygwin and getting errors Date: 22 May 2005 10:49:19 -0400 Lines: 57 Message-ID: X-IsSubscribed: yes Hi, Sorry, I am new at this. Could someone please help. I have cygwin 1.5.16-1 and apache 2.0.54 I have compiled the apache source with no problem. I use the following command to compile mod_dosevase and get the following error: I am sure I am not doing something right...could someone please help? thanks $ /usr/local/apache2/bin/apxs -i -a -c mod_dosevasive20.c /usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_H AVE_DESIGNATED_INITIALIZER -DCYGWIN -g -O2 -I/usr/local/apache2/include -I/usr/ local/apache2/include -I/usr/local/apache2/include -c -o mod_dosevasive20.lo mod_dosevasive20.c && touch mod_dosevasive20.slo /usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_dosevasive20.la -rpath /usr/local/apache2/modules -module -avoid-version mod_dosevasive20.l o libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l ibraries /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool ' mod_dosevasive20.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp mod_dosevasive20.la /usr/loca l/apache2/modules/ cp .libs/mod_dosevasive20.lai /usr/local/apache2/modules/mod_dosevasive20.la cp .libs/mod_dosevasive20.a /usr/local/apache2/modules/mod_dosevasive20.a ranlib /usr/local/apache2/modules/mod_dosevasive20.a chmod 644 /usr/local/apache2/modules/mod_dosevasive20.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/apache2/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Warning! dlname not found in /usr/local/apache2/modules/mod_dosevasive20.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2/modules/mod_dosevasive20.so chmod: cannot access `/usr/local/apache2/modules/mod_dosevasive20.so': No such f ile or directory apxs:Error: Command failed with rc=65536 . *********************************************** Tony Guadagno Guadagno Consulting tonyg AT guadagno DOT org 585.703.6700 *********************************************** -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/