From owner-freebsd-questions@FreeBSD.ORG Sun Aug 3 04:01:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49C8137B401 for ; Sun, 3 Aug 2003 04:01:59 -0700 (PDT) Received: from spunky.routemaster.net (ppp117-107.lns1.syd2.internode.on.net [150.101.117.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5F3643F85 for ; Sun, 3 Aug 2003 04:01:57 -0700 (PDT) (envelope-from chrisric@routemaster.net) Received: from gir.routemaster.net (trilluser@gir.routemaster.net [10.10.10.2])h73B1tTt067010 for ; Sun, 3 Aug 2003 21:01:56 +1000 (EST) (envelope-from chrisric@routemaster.net) Date: Sun, 3 Aug 2003 21:01:54 +1000 Message-ID: <941EC83D6E678C4CA92EE2AAE55874F781B9@gir.routemaster.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MS-Has-Attach: Content-Transfer-Encoding: quoted-printable X-MS-TNEF-Correlator: Thread-Topic: Can't build anything on FreeB 5.0 RELEASE Content-class: urn:content-classes:message Thread-Index: AcNZrqZuJ1aRUfqnRe+J9bQAcfUs0w== From: "Chris Richards" X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 To: Subject: Can't build anything on FreeB 5.0 RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2003 11:01:59 -0000 Hi Everyone, I tried to install "portupgrade" from the ports today and it failed with the below error. I tried some other ports and it would seem I can't build anything at all, they all failed with the "`free' undeclared here (not in a function)" error. Has anyone seen this error before? Thank you in advance for your help. Regards, Chris ------------------------------------- %cd /usr/ports/sysutils/portupgrade %make =3D=3D=3D> Building for ruby-1.6.8.2003.04.19 cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c main.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c dmyext.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c array.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c bignum.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c class.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c compar.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c dir.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c dln.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c enum.c dir.c: In function `dir_s_chdir': dir.c:419: warning: assignment makes pointer from integer without a cast dir.c:421: warning: assignment makes pointer from integer without a cast cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c error.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c eval.c cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c file.c file.c: In function `stat_new_0': file.c:124: `free' undeclared (first use in this function) file.c:124: (Each undeclared identifier is reported only once file.c:124: for each function it appears in.) file.c: In function `rb_file_s_expand_path': file.c:1240: warning: initialization makes pointer from integer without a cast cc -O -pipe -mcpu=3Dpentiumpro -fPIC -I. -I. -c gc.c gc.c: In function `ruby_xmalloc': *** Error code 1 gc.c:96: warning: assignment makes pointer from integer without a cast gc.c:99: warning: assignment makes pointer from integer without a cast gc.c: In function `ruby_xrealloc': gc.c:136: warning: assignment makes pointer from integer without a cast gc.c:139: warning: assignment makes pointer from integer without a cast eval.c: In function `mnew': eval.c:6669: `free' undeclared (first use in this function) eval.c:6669: (Each undeclared identifier is reported only once eval.c:6669: for each function it appears in.) eval.c: In function `method_unbind': eval.c:6689: `free' undeclared (first use in this function) eval.c: In function `method_clone': eval.c:6732: `free' undeclared (first use in this function) eval.c: In function `umethod_bind': eval.c:6799: `free' undeclared (first use in this function) eval.c: In function `thread_free': eval.c:7374: `free' used prior to declaration eval.c: In function `rb_thread_start_0': eval.c:8535: `free' used prior to declaration eval.c: In function `thgroup_s_new': eval.c:9027: `free' undeclared (first use in this function) *** Error code 1 2 errors *** Error code 2 Stop in /usr/ports/lang/ruby. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade.