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
>> > [EMAIL PROTECTED]:/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 - [EMAIL PROTECTED]
> /"\   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 [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