delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/11/07:27:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 11 Feb 2004 13:25:22 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
Message-ID: <1358648601.20040211132522@familiehaase.de>
To: cygwin AT cygwin DOT com
Subject: Fwd: Building mysql 4.0.17 under latest Cygwin (1.5.7)
In-Reply-To: <558836555ebb.555ebb558836@liu.se>
References: <558836555ebb DOT 555ebb558836 AT liu DOT se>
MIME-Version: 1.0
X-IsSubscribed: yes

Dies ist eine weitergeleitete Nachricht - This is a forwarded message
Von    : Mikael Åsberg <mikas493 AT student DOT liu DOT se>
An     : gp AT familiehaase DOT de
Datum  : Dienstag, 10. Februar 2004, 20:37
Betreff: Building mysql 4.0.17 under latest Cygwin (1.5.7)

===8<=================== Original Nachrichtentext ===================
Hello Mr Haase! I am trying to build mysql 4.0.17 under the latest
offical Cygwin (1.5.7). I am following your instructions found at
http://anfaenger.de/cygwin-1.5/mysql/.
However, I am getting a compilation error during make (an error that
occurs after it has been compiling for some time). I made a script
that looks like this:
#!/bin/bash
patch -p1 <../mysql-4.0.17.diff
export CFLAGS="-O3"
export CC=gcc
export CXX=gcc
export CXXFLAGS="-O3 -mcpu=pentiumpro -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/mysql/data \
--libexecdir=/usr/sbin \
--enable-thread-safe-client \
--with-unix-socket-path=/var/mysql/mysql.sock \
--with-mysqld-user=mysqld \
--with-berkeley-db \
--with-innodb \
--without-debug \
--without-openssl \
--with-mysqld-ldflags=-all-static \
--with-vio \
--with-embedded-server

As you can, all it does is applying the patch found at your site, exporting some variables and then running ./configure
with the options you suggested. The script completes without any errors.
Then I run $ make
I get:
mysqld.cc: In function `void* signal_hand(void*)':
mysqld.cc:1779: error: `sigwait' undeclared (first use this function)
mysqld.cc:1779: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
make[4]: *** [mysqld.o] Error 1
make[4]: Leaving directory `/home/Administrator/mysql-4.0.17/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Administrator/mysql-4.0.17/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Administrator/mysql-4.0.17/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/mysql-4.0.17'
make: *** [all] Error 2

Now I was wondering if you might have an idea what I did do wrong?
I haven't been using cygwin or the gnu tools very long so this is
all very new to me.

If you have any ideas, I would love to hear them!

Best regards

 

===8<============== Ende des Original Nachrichtentextes =============



Ciao,

Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019