Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 11:24:54 -0800 (PST)
From:      Dave Runkle <dave@runkle.com>
To:        freebsd-questions@freebsd.org
Subject:   KDEmulti: <malloc.h> replaced by <stdlib.h> = Stop
Message-ID:  <20011114073658.K56417-100000@trittico.fiddi.com>
In-Reply-To: <200111140405.fAE45Od16946@gaia.inet.co.th>

next in thread | previous in thread | raw e-mail | index | archive | help

The error:

$ cat /usr/include/malloc.h
/* $FreeBSD: src/include/malloc.h,v 1.4 2001/10/25 02:35:29 wollman Exp $ */
#error "<malloc.h> has been replaced by <stdlib.h>"
$

I've been playing with this KDE 2.2.1 'upgrade' over the past couple
of weeks or more, through several resups, making it through several
stops. This one stop hits me with kdemultimedia-2.2 -> 2.2.1 and
kdegraphics-2.2 -> 2.2.1. I've been able to upgrade all of the other
main kde ports.

I've done a couple of make cleans, I've rebuilt QT, I've deinstalled
kdemulti, I've tried a make reinst, a make, and a portupgrade
attempt too.

I have the standard make.conf, nothing unusual there. It's unamed:
	FreeBSD trittico.fiddi.com 5.0-CURRENT FreeBSD 5.0-CURRENT
	#1: Wed Nov  7 10:34:59 PST 2001

so it's a week-old kernel build. Ports are about that too. I did
build a fresh kdebase-2.2.1_1 since then.

during the kdemultimedia build, I've entered the directory
`/usr/ports/audio/kdemultimedia2/work/kdemultimedia-2.2.1/kscd/libwm'
and then this command and resultant error stops:

cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/usr/include
-I/usr/local/include -I/usr/include -I/usr/X11R6/include/qt2
-I/usr/include -I/usr/X11R6/include -I/usr/include -D_GETOPT_H
-D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include
-I/usr/local/include -I/usr/X11R6/include/qt2 -D_THREAD_SAFE
-I/usr/local/include -O2 -O -pipe -march=pentiumpro -c wm_helpers.c
-fPIC -DPIC -o .libs/wm_helpers.o
In file included from wm_helpers.c:33:
/usr/include/malloc.h:2: #error "<malloc.h> has been replaced by
<stdlib.h>"
wm_helpers.c: In function `wm_libver_number':
wm_helpers.c:66: warning: assignment makes pointer from integer
without a cast
wm_helpers.c: In function `wm_strmcpy':
wm_helpers.c:117: warning: assignment makes pointer from integer
without a cast
wm_helpers.c: In function `wm_strmcat':
wm_helpers.c:142: warning: assignment makes pointer from integer
without a cast
wm_helpers.c: In function `wm_strdup':
wm_helpers.c:160: warning: assignment makes pointer from integer
without a cast
gmake[3]: *** [wm_helpers.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/audio/kdemultimedia2/work/kdemultimedia-2.2.1/kscd/libwm'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/audio/kdemultimedia2/work/kdemultimedia-2.2.1/kscd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/audio/kdemultimedia2/work/kdemultimedia-2.2.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/audio/kdemultimedia2.
*** Error code 1

 --- I've even tried going into kscd and also libwm below that and
tried to make those by themselves, always getting the same result.

I get that same
/usr/include/malloc.h
error message:

# cat /usr/include/malloc.h
/* $FreeBSD: src/include/malloc.h,v 1.4 2001/10/25 02:35:29 wollman Exp $ */
#error "<malloc.h> has been replaced by <stdlib.h>"

I'm getting the same error out of upgrade to kdegraphics-2.2 as
well.

Any tips or tricks or pointers, very much appreciated. Thanks!
Dave

-- 
FreeBSD 5.0-CURRENT
 7:36AM  up 6 days, 17:11, 7 users, load averages: 0.06, 0.03, 0.11






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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