[exim] Compile errors strcpy = strlcpy ????

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Doug Block
Data:  
Para: exim-users
Asunto: [exim] Compile errors strcpy = strlcpy ????
I complied this on a Dual opteron248 with OB (current) on it in dual 64bit
mode. I tried make and gmake but got the same error. The only thing that
seems to help is doing as the error states which gets me further in to the
install but then I get more errors of the same type.


First set of errors

acl.o(.text+0xac5): In function `acl_verify_csa':
: warning: strcpy() is almost always misused, please use strlcpy()
filter.o(.text+0x10a3): In function `read_command':
: warning: strcat() is almost always misused, please use strlcat()
daemon.o(.text+0x1dc5): In function `daemon_go':
: warning: sprintf() is often misused, please use snprintf()
acl.o(.text+0x1fd8): In function `acl_ratelimit':
: undefined reference to `exp'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /mail/install/exim-4.52/build-OpenBSD-amd64 (line 399 of Makefile).

----------------------------
Errors after fixing acl.h and filter.h as stated in the first set of errors.

dbfn.o(.text+0x2d5): In function `dbfn_open':
: warning: strcpy() is almost always misused, please use strlcpy()
log.o(.text+0x14f5): In function `log_write':
: warning: strcat() is almost always misused, please use strlcat()
daemon.o(.text+0x1dc5): In function `daemon_go':
: warning: sprintf() is often misused, please use snprintf()
acl.o(.text+0xac7): In function `acl_verify_csa':
: undefined reference to `Ustrlcpy'
acl.o(.text+0x1ff8): In function `acl_ratelimit':
: undefined reference to `exp'
acl.o(.text+0x20df): In function `acl_ratelimit':
: undefined reference to `Ustrlcpy'
acl.o(.text+0x3288): In function `acl_check_internal':
: undefined reference to `Ustrlcpy'
filter.o(.text+0x10a5): In function `read_command':
: undefined reference to `Ustrlcat'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /mail/install2/exim-4.52/build-OpenBSD-amd64 (line 399 of Makefile).


Any idea's or is OB just being a pill? I even rmed and unpacked it as a
normal user again to see if that fixed it but no such luck.

Doug Block