>Description:
Though not mentioned in the Change log, it appears that mysqlbinlog
was moved from sql/ to client/ sometime between 3.23.41 and 3.23.43.
As a result, make fails under HPUX 10.20 with

/bin/sh ../libtool --mode=link gcc  -O3 -DDBUG_OFF -DHPUX -I/opt/dce/include 
-felide-constructors -fno-exceptions -fno-rtti  -fno-implicit-templates 
-fno-exceptions -fno-rtti -DHAVE_BROKEN_SNPRINTF -D_INCLUDE_LONGLONG 
-DSIGNALS_DONT_BREAK_READ  -o mysqlbinlog  mysqlbinlog.o ../libmysql/libmysqlclient.la 
-lz -lcrypt -lm 
gcc -O3 -DDBUG_OFF -DHPUX -I/opt/dce/include -felide-constructors -fno-exceptions 
-fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_BROKEN_SNPRINTF 
-D_INCLUDE_LONGLONG -DSIGNALS_DONT_BREAK_READ -o mysqlbinlog mysqlbinlog.o 
../libmysql/.libs/libmysqlclient.a -lz -lcrypt -lm -lz -lcrypt -lm
/usr/ccs/bin/ld: Unsatisfied symbols:
   pthread_once (code)
   pthread_setspecific (code)
   pthread_getspecific (code)
   pthread_keycreate (code)
collect2: ld returned 1 exit status
make[2]: *** [mysqlbinlog] Error 1
make[2]: Leaving directory `/scr/src/bugs/mysql-3.23.43/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scr/src/bugs/mysql-3.23.43'
make: *** [all-recursive-am] Error 2

Looks like mysqlbinlog is threaded, but nothing in client/ is linked
with -ldce since I didn't add/want --thread-safe-clients.

>How-To-Repeat:
configure mysql for HPUX 10.20 following the directions, then run make.
>Fix:
Workaround is to run make till it dies, copy the last command, cd
client, paste command, add -ldce, and hit enter.  Then cd .. and run
make again.

Fix is to have configure include -ldce in the command to link
mysqlbinlog in client/Makefile.

>Submitter-Id:  <submitter ID>
>Originator:    Michael Stassen
>Organization:
 
>MySQL support: none
>Synopsis:      3.23.43 build fails on mysqlbinlog under HPUX 10.20
>Severity:      non-critical
>Priority:      low
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.43 (Source distribution)

>Environment:
        
System: HP-UX dr B.10.20 A 9000/782 2015374635 two-user license


Some paths:  /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc /usr/ccs/bin/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.3/specs
gcc version 2.95.3 20010315 (release)
Compilation info: CC='gcc'  CFLAGS='-DHPUX -I/opt/dce/include -I/usr/local/include 
-O2'  CXX='gcc'  CXXFLAGS='-DHPUX -I/opt/dce/include -I/usr/local/include -O2'  
LDFLAGS='-L/usr/local/lib'
LIBC: 
-r-xr-xr-x    1 bin      bin       1867776 May  2 16:51 /lib/libc.1
-r--r--r--    1 bin      bin       2456780 May  2 16:51 /lib/libc.a
lrwx------    1 root     sys            15 Oct 17 12:29 /lib/libc.sl -> /usr/lib/libc.1
-r-xr-xr-x    1 bin      bin       1867776 May  2 16:51 /usr/lib/libc.1
-r--r--r--    1 bin      bin       2456780 May  2 16:51 /usr/lib/libc.a
lrwx------    1 root     sys            15 Oct 17 12:29 /usr/lib/libc.sl -> 
/usr/lib/libc.1
Configure command: ./configure  --disable-largefile --with-pthread 
--with-named-thread-libs=-ldce --disable-shared --prefix=/usr/local/mysql 
--with-mysqld-user=mysql --libexecdir=/usr/local/mysql/sbin 
--datadir=/usr/local/mysql/data --with-libwrap


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to