Edit line 92 of sql/mysqld.cc:

--    #ifdef __linux__
++  #ifdef __FreeBSD__

However that'll only get you past this set of errors. And then it gets
tricky and has something to do with the new C++ compiler that I haven't
quite wrapped my mind around yet.

-Steve

----- Original Message -----
From: "Beech Rintoul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 08, 2002 2:01 PM
Subject: mysql-server build errors


> Anyone have a pointer to get this to build?
>
>
>
                  -DDEFAULT_MYSQL_HOME="\"/usr/local\""
>                   -DDATADIR="\"/var/db/mysql\""
> -DSHAREDIR="\"/usr/local/share/mysql\""
> -DHAVE_CONFIG_H -I../bdb/build_unix -I../innobase/include
> -I./../include                  -I./../regex                  -I.
> -I../include -I.. -I.    -DDBUG_OFF -O -pipe -mcpu=pentiumpro
> -felide-constructors -fno-rtti -fno-exceptions  -fno-implicit-templates
> -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -c mysqld.cc
> /usr/include/tcpd.h: In function `void*
handle_connections_sockets(void*)':
> /usr/include/tcpd.h:137: too many arguments to function `void sock_host()'
> mysqld.cc:2428: at this point in file
> /usr/include/tcpd.h:75: too many arguments to function `int
hosts_access()'
> mysqld.cc:2429: at this point in file
> /usr/include/tcpd.h:130: too many arguments to function `char*
eval_client()'
> mysqld.cc:2437: at this point in file
> *** Error code 1
>
> Beech
> --
> -------------------------------------------------------------------
> Beech Rintoul - IT Manager - Instructor - [EMAIL PROTECTED]
> /"\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
> \ / - NO HTML/RTF in e-mail  | P.O. Box 230510
>  X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
> / \ -----------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to