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

From: Michael Bohn (mib_at_tiscali.de)
Date: 02/25/05

  • Next message: Peterhin: "PPP Connection."
    Date: Fri, 25 Feb 2005 22:51:01 +0100
    To: freebsd-questions@freebsd.org
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Peterhin: "PPP Connection."

    Relevant Pages

    • Re: 5.3 STABLE to 5.4 buildkernel error
      ... > warning: passing arg 2 of pointer to function from incompatible ... > and my current FreeBSD version: ...
      (freebsd-stable)
    • xfce4 & networking
      ... I just installed FreeBSD 5.3-RELEASE doing the prepackaged User+X11 ... make install clean). ... displays an error message (in X11, not on the terminal) that says, " ...
      (freebsd-questions)
    • Re: SP2 Wont Install
      ... in the partial log posted here neither FATAL or WARNING appear. ... 0xf00d from the log to an 0x80242008 error code. ... On the Edit menu, click Find, and then search for the specific error message. ... Additionally, if you do not know which error occurred on the Windows update Web site or you want to find more information about a failure by Automatic Updates, search for the following key words: ...
      (microsoft.public.windowsupdate)
    • Re: Zero values cause errors on log scale
      ... >and the warning is telling you something important. ... The Excel error message is infuriating because it cannot be disabled on ... a per plot basis. ... precisely zero values. ...
      (microsoft.public.excel.charting)
    • Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
      ... I'm not able to enable sound on my FreeBSD 6.2 box. ... The error message when I click on the speaker icon is: ...
      (freebsd-questions)