Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 1997 15:43:26 -0400
From:      Mark Mayo <mark@quickweb.com>
To:        freebsd-stable@freebsd.org
Subject:   MySQL on 2.1-STABLE ?
Message-ID:  <19970810154326.48029@vinyl.quickweb.com>

next in thread | raw e-mail | index | archive | help

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



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