Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 15:39:01 -0400 (EDT)
From:      Wesley Morgan <morganw@chemikals.org>
To:        <akbeech@sinbad.net>
Cc:        <dirk@FreeBSD.ORG>, <freebsd-current@FreeBSD.ORG>
Subject:   Re: MySQL 3.23.51 Error
Message-ID:  <46392.148.175.49.1.1024688341.squirrel@www.chemikals.org>
In-Reply-To: <20020621154413.DBFE220AD3@yeoman.sinbad.net>
References:  <20020620175423.4414377@nebula.anchoragerescue.org> <20020621161245.B62444@physik.TU-Berlin.DE> <20020621154413.DBFE220AD3@yeoman.sinbad.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I get this same error, and was able to fix it by disabling tcp wrappers in
the config (this is a non-production system), and adding -lstdc++ to the
libraries for linking.
Strange that you were able to compile .49, I couldn't build it without
massaging the code either.
As another data point, I was able to build .51 on my -stable box.

> On Friday 21 June 2002 06:12 am, you wrote:
>> Hi!
>>
>> On Thu, Jun 20, 2002 at 09:54:23AM -0800, Beech Rintoul wrote:
>> > Compile of mysql323 server fails with the following:
>> >
>> >
>> > cc -DMYSQL_SERVER
>> > -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  -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
>> >
>> > Stop in /usr/ports/databases/mysql323-server/work/mysql-3.23.51/sql.
>> > *** Error code 1
>> >
>> >  uname -a
>> > FreeBSD nova.anchoragerescue.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0:
>> > Thu>
> 	Regards Dirk
>
>> > Jun 20 02:06:12 AKDT 2002
>> > akbeech@nova.anchoragerescue.org:/usr/obj/usr/src/sys/NOVA  i386
>>
>> Did version 3.23.49 compile on your system?
>>
> Yes it did, that's what I upgraded from. This seems to be an issue with
>  -current only. The same code compiled ok on two of my 4.6 Boxes.
>
> Beech
> --
> -------------------------------------------------------------------
>      Beech Rintoul - SysAdmin - akbeech@sinbad.net
> /"\   ASCII Ribbon Campaign  | Sinbad Network Communications
> \ / - NO HTML/RTF in e-mail  | 3101 Penland Parkway #K-38
> X  - NO Word docs in e-mail | Anchorage, AK 99508-1957
> / \ -----------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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