From owner-freebsd-questions Sun Feb 8 03:35:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12333 for questions-outgoing; Sun, 8 Feb 1998 03:35:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from infowest.com (infowest.com [204.17.177.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA12327 for ; Sun, 8 Feb 1998 03:35:17 -0800 (PST) (envelope-from agifford@infowest.com) Received: from infowest.com (gandalf.eq.net [207.49.60.254]) by infowest.com (8.8.5/8.8.5) with ESMTP id EAA13088; Sun, 8 Feb 1998 04:35:13 -0700 (MST) Message-ID: <34DD9852.BDE47803@infowest.com> Date: Sun, 08 Feb 1998 11:34:42 +0000 From: "Aaron D. Gifford" X-Mailer: Mozilla 4.03 [en] (X11; U; FreeBSD 2.2.5-STABLE i386) MIME-Version: 1.0 To: Sascha Blank , questions@FreeBSD.ORG Subject: Re: MySQL 3.2.22-23 fails to compile References: <19980206105206.24062@fox.uni-trier.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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