Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2003 21:01:54 +1000
From:      "Chris Richards" <chrisric@routemaster.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Can't build anything on FreeB 5.0 RELEASE
Message-ID:  <941EC83D6E678C4CA92EE2AAE55874F781B9@gir.routemaster.net>

next in thread | raw e-mail | index | archive | help
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
<snip>
=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.



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