[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mysql won't compile with libc6-2.0.6 (Debian)



Please pardon the cross-posting to two unrelated lists, but I'm not
sure if this is a mysql problem or a libc6 problem. I suspect the latter.

After working just fine with libc6-2.0.5c, I'm not able to compile
mysql under the new libc6-2.0.6 packages. The first noticable symptom
is that the configure script doesn't detect ncurses, and the compile
craps out trying to use termcap. (My first thought was to hack the
configure script to use ncurses anyway, but that didn't work :)

Looking at the config.log, I found several instances similar to the
following:

------------------------
configure:3320: checking for restartable system calls
configure:3346: gcc -o conftest -g -O2   conftest.c -lnsl -lm    -static -lpthread 1>&5
configure: In function `main':
configure:3338: warning: passing arg 2 of `signal' from incompatible pointer type
/usr/lib/libc.a(connect.o): In function `__libc_connect':
connect.o(.text+0x0): multiple definition of `__connect'
/usr/lib/libpthread.a(wrapsyscall.o)(.text+0x3b0): first defined here
ld: Warning: size of symbol `__connect' changed from 62 to 30 in connect.o
/usr/lib/libc.a(send.o): In function `__libc_send':
send.o(.text+0x0): multiple definition of `__send'
/usr/lib/libpthread.a(wrapsyscall.o)(.text+0x4d0): first defined here
ld: Warning: size of symbol `__send' changed from 66 to 30 in send.o
configure: failed program was:
#line 3328 "configure"
#include "confdefs.h"
/* Exit 0 (true) if wait returns something other than -1,
   i.e. the pid of the child, which means that wait was restarted
   after getting the signal.  */
#include <sys/types.h>
#include <signal.h>
ucatch (isig) { }
main () {
  int i = fork (), status;
  if (i == 0) { sleep (3); kill (getppid (), SIGINT); sleep (3); exit (0); }
  signal (SIGINT, ucatch);
  status = wait(&i);
  if (status == -1) wait(&i);
  exit (status == -1);
}
------------------------

Could this be a bug in libc6-2.0.6?

For the record, the information from mysqlbug is:

>Release:	mysql-3.21.17a-beta
>Server: /usr/bin/mysqladmin  Ver 6.3 Distrib 3.21.17a-beta, for pc-linux-gnu on i586
TCX Datakonsult AB, by Monty

Server version		3.21.17a-beta
Protocol version	10
Connection		Localhost via UNIX socket
TCP port		3306
UNIX socket		/tmp/mysql.sock
Uptime:			18 hours 38 min 10 sec

Running threads: 1  Questions: 1  Reloads: 1  Open tables: 3
>Environment:
	<machine, os, target, libraries (multiple lines)>
System: Linux kirby 2.0.32 #2 Wed Dec 31 11:52:17 CET 1997 i586 unknown
Architecture: i586

Some paths:  /usr/bin/make /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.3/specs
gcc version 2.7.2.3


Thanks,

Scott
-- 
Scott Hanson <shanson@shcon.com>  <shanson@debian.org>
Johmsweg 9a, D-21266 Jesteburg, Germany


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: