Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 1997 20:21:32 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        current@FreeBSD.ORG
Subject:   make world fails with conflicting types for `malloc'
Message-ID:  <19970924202132.12490@klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
===> games/arithmetic
cc -nostdinc -O -pipe   -I/usr/obj/home/src/tmp/usr/include -c /home/src/games/a
rithmetic/arithmetic.c
/home/src/games/arithmetic/arithmetic.c: In function `penalise':
/home/src/games/arithmetic/arithmetic.c:295: conflicting types for `malloc'
/usr/obj/home/src/tmp/usr/include/stdlib.h:100: previous declaration of `malloc'
*** Error code 1

Stop.
*** Error code 1

Will try to update cvs repository and start over.
Just wanted to let you know ....

BTW, building a kernel isn't also possible. I rebuild config
first and during compilation this error message:

root{182} /bisdn/compile/BISDNSMP make
cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith  -nostdinc -I- -I. -I../.. -I/usr/include -DTELES_HAS_MEMCPYB -DMD5 -DCOMPAT_43 -DNSWAPDEV=3 -DMSDOSFS -DFFS -DINET -DKERNEL -include opt_global.h  ../../kern/kern_acct.c
../../kern/kern_acct.c:83: warning: implicit declaration of function `CALLOUT_HANDLE_INITIALIZER'
../../kern/kern_acct.c:83: invalid initializer
../../kern/kern_acct.c: In function `acct':
../../kern/kern_acct.c:149: too many arguments to function `untimeout'
../../kern/kern_acct.c: In function `acctwatch':
../../kern/kern_acct.c:320: void value not ignored as it ought to be
*** Error code 1


It's the SMP kernel FYWI.



-- 
Andreas Klemm | klemm.gtn.com - powered by
                    Symmetric MultiProcessor FreeBSD
                       http://www.freebsd.org/~fsmp/SMP/SMP.html
                          http://www.freebsd.org/~fsmp/SMP/benches.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970924202132.12490>