Hello,

  anyone tried to compile autoresponder-2.0.5 on OpenBSD 3.7+ ?
  
biuro# make
gcc -O2 -Wall -g  autorespond.c -o autorespond
autorespond.c: In function `send_message':
autorespond.c:259: warning: passing arg 1 of `gmtime' from incompatible pointer 
type
autorespond.c: At top level:
autorespond.c:380: error: conflicting types for `strcasestr'
/usr/include/string.h:104: error: previous declaration of `strcasestr'
*** Error code 1

Stop in /usr/src/autorespond-2.0.5 (line 11 of Makefile).

  at 380 line there is declaration of strcasestr overloaded and gcc
  doesn't want to compile that file.

biuro# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.7/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)


-- 
regards,
Sylwester Biernacki <[EMAIL PROTECTED]>


Reply via email to