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

  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?


$ /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
  -rpath /usr/local/apache2/modules -module -avoid-version    mod_dosevasive20.l
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l
/usr/local/apache2/build/ SH_LIBTOOL='/usr/local/apache2/build/libtool
' /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp /usr/loca
cp .libs/mod_dosevasive20.lai /usr/local/apache2/modules/
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:

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 manual pages.
Warning!  dlname not found in /usr/local/apache2/modules/
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/
chmod: cannot access `/usr/local/apache2/modules/': No such f
ile or directory
apxs:Error: Command failed with rc=65536

Tony Guadagno
Guadagno Consulting

Unsubscribe info:
Problem reports:

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