Ask a Question related to FreeBSD, Design and Development.
-
Michael Bohn #1
/usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>" Error code 1
Hi,
if I try to build the tac_plus-4.4beta2 Tacacs Server from [url]http://www.networkforums.net/[/url]
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
Michael Bohn Guest
-
#36441 [NoF->Bgs]: php exits script (without error) when finds code like "function xxx(); {}"
ID: 36441 Updated by: bjori@php.net Reported By: michal dot hantl at gmail dot com -Status: No Feedback... -
Template problem: "making this change would require changing code that is locked..." error.
Hi all, I have read past postings, checked syntax and code (to the best of my somewhat humble abilities) and tried all sorts of solutions short of... -
(REPOST & CROSS-POST) - "simple(ish) code error"
Ok, I've got a slight problem that is proving to be a little irritating. I have a sales interface that is used by various members of staff to... -
recvfrom returns with an error code of 14, EFAULT "Bad Address"
I'll post the code at the bottom of the post. Whenever I try to retreive a udp packet sent via broadcast I get the errorcode EFAULT(bad address).... -
Getting error "Unable to generate code for a value of type"
I have created a server control for asp.net using C#. Everything works fine in Visual Studio, but when I attempt to look at the page I get an error.... -
Jonathan Chen #2
Re: /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>" Error code 1
On Fri, Feb 25, 2005 at 10:51:01PM +0100, Michael Bohn wrote:
[...]Yes. Do what the error message says. Replace malloc.h in the source> 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 ???
with stdlib.h.
--
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
Jesus saves.
Allah forgives.
Cthulu thinks you'd make a nice sandwich.
Jonathan Chen Guest



Reply With Quote

