From owner-freebsd-stable Sun Aug 10 12:43:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA09660 for stable-outgoing; Sun, 10 Aug 1997 12:43:30 -0700 (PDT) Received: from vinyl.quickweb.com (vinyl.quickweb.com [206.222.77.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA09651 for ; Sun, 10 Aug 1997 12:43:27 -0700 (PDT) Received: (from mark@localhost) by vinyl.quickweb.com (8.8.5/8.6.12) id PAA19428; Sun, 10 Aug 1997 15:43:27 -0400 (EDT) Message-ID: <19970810154326.48029@vinyl.quickweb.com> Date: Sun, 10 Aug 1997 15:43:26 -0400 From: Mark Mayo To: freebsd-stable@freebsd.org Subject: MySQL on 2.1-STABLE ? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Has anyone gotten MySQL (3.20.25) to compile under FreeBSD 2.1-STABLE? I even tried the port (v3.20.22) from ports-current but it fails with the same error: gmake[2]: Entering directory `/d2/home/mark/download/mysql-3.20.25/client' gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -DPIC -fpic -c libmysql.c libmysql.c:273: parse error before `__attribute__' libmysql.c:280: parse error before `13' libmysql.c:280: conflicting types for `signal' /usr/include/sys/signal.h:193: previous declaration of `signal' libmysql.c:280: warning: data definition has no type or storage class libmysql.c:282: parse error before `}' gmake[2]: *** [libmysql.o] Error 1 gmake[2]: Leaving directory `/d2/home/mark/download/mysql-3.20.25/client' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/d2/home/mark/download/mysql-3.20.25' gmake: *** [all-recursive-am] Error 2 Before I dig into it, I figured I'd check and see if anyone else has already gotten around the problem. I've added the '-DPIC -fpic' to CFLAGS, and upgraded gmake from verion 3.74 to 3.75, but still no go. FWIW, it compiles just fine on my 2.2-STABLE box, but moving this particular machine to 2.2 is not an option right now... TIA, -Mark -- ---------------------------------------------------------------------------- Mark Mayo mark@quickweb.com RingZero Comp. http://vinyl.quickweb.com/mark finger mark@quickweb.com for my PGP key and GCS code ---------------------------------------------------------------------------- University degrees are a bit like adultery: you may not want to get involved with that sort of thing, but you don't want to be thought incapable. -Sir Peter Imbert