Date: Sun, 08 Feb 1998 11:34:42 +0000 From: "Aaron D. Gifford" <agifford@infowest.com> To: Sascha Blank <blank@fox.uni-trier.de>, questions@FreeBSD.ORG Subject: Re: MySQL 3.2.22-23 fails to compile Message-ID: <34DD9852.BDE47803@infowest.com> References: <Pine.BSF.3.96.980205014037.25652C-100000@super-g.inch.com> <19980206105206.24062@fox.uni-trier.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Sascha Blank wrote: > > 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" THANKS!!! Your suggestion worked for me! Aaron out. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34DD9852.BDE47803>