Date: Fri, 6 Feb 1998 10:52:06 +0100 From: Sascha Blank <blank@fox.uni-trier.de> To: spork <spork@super-g.com>, questions@FreeBSD.ORG Subject: Re: MySQL 3.2.22-23 fails to compile Message-ID: <19980206105206.24062@fox.uni-trier.de> In-Reply-To: <Pine.BSF.3.96.980205014037.25652C-100000@super-g.inch.com>; from spork on Thu, Feb 05, 1998 at 01:47:18AM -0500 References: <Pine.BSF.3.96.980205014037.25652C-100000@super-g.inch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, On Thu, Feb 05, 1998 at 01:47:18AM -0500, spork wrote: > >>> c++ -O -g -O2 -fno-implicit-templates -DDBUG_OFF -o mysql mysql.o > >>> readline.o sql_string.o completion_hash.o -L../readline -lreadline > >>> -ltermcap -L. -lmysqlclient -lm -lcompat > >>> rltty.c:399: Undefined symbol `___error' referenced from text segment > >>> rltty.c:431: Undefined symbol `___error' referenced from text segment > >>> rltty.c:433: Undefined symbol `___error' referenced from text segment > >>> bind.c:615: Undefined symbol `___error' referenced from text segment > >>> input.c:259: Undefined symbol `___error' referenced from text segment > >>> input.c:421: Undefined symbol `___error' referenced from text segment > >>> input.c:437: Undefined symbol `___error' referenced from text segment > >>> input.c:455: Undefined symbol `___error' referenced from text segment > >>> *** Error code 1 I had the same problem yesterday on my FreeBSD 2.2-STABLE (past 2.2.5-RELEASE) system. But the solution is simple: edit the Makefile in readline/ so that it defines the C preprocessor symbol "UNDEF_THREADS_HACK" in addtition to the other symbols that are passed to the C compiler (for example by adding the string "-DUNDEF_THREADS_HACK" to CFLAGS). Then do a "make clean" in readline and recompile. -- Sascha Blank | "I prefer to work behind the scenes. The Student and System Administrator | reward is nearly as great, and the risk at the University of Trier, Germany | is far far less" - Ambassador Mollari in mailto:blank@fox.uni-trier.de | in Babylon 5, "The coming of shadows"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980206105206.24062>