/usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>" Error code 1

Michael Bohn mib at tiscali.de
Fri Feb 25 21:46:14 GMT 2005


Hi,
if I try to build the tac_plus-4.4beta2 Tacacs Server from http://www.networkforums.net/
on my FreeBSD 5.3-RELEASE-p5 I get this Error message 


bash-2.05b# make tac_plus
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c acct.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c authen.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c author.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c config.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c choose_authen.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c default_fn.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c default_v0_fn.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c do_acct.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c do_author.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c dump.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c enable.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c encrypt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c expire.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c hash.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c tac_plus.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c md5.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c packet.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c parse.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c programs.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c pw.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c pwlib.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c report.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c sendauth.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c sendpass.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c time_limit.c
time_limit.c: In function `process':
time_limit.c:154: warning: passing arg 1 of `localtime' from incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c utils.c
In file included from utils.c:28:
/usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>"
*** Error code 1

Stop in /home/mib/tac_plus-4.4beta2.
bash-2.05b# pwd
/home/mib/tac_plus-4.4beta2
bash-2.05b# 

Is there any way to fix this problem ???


best regards 


Michael 


More information about the freebsd-questions mailing list