This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

trying to compile mod_dosevasive with cygwin and getting errors


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@guadagno.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]