>>>>> "gaspard" == gaspard <gaspard@stripped> writes:
gaspard> I have to compile mysql-3.22.21 successfully with the sources on linux
gaspard> 2.0.34 (slackware)
gaspard> very simple, juste ./configure ; make ; make install
gaspard> all functions perfectly
gaspard> and I want to install mysql on another station with the same configuration,
gaspard> but compilation fails.
gaspard> then I try to remake the same operation on the first station and
gaspard> compilation fails.
gaspard> I am surprised by this error whereas all had to go perfectly the first
gaspard> cc1plus: warnings being treated as errors
gaspard> include/pthread/sleep.h: In function `int machdep_gettimeofday(struct
gaspard> timespec *)':
gaspard> In file included from include/pthread.h:54,
gaspard> include/pthread/sleep.h:52: warning: ANSI C++ forbids implicit conversion
gaspard> from `void *' in argument passing
gaspard> make: *** [obj/init.o] Error 1
gaspard> make: Leaving directory `/ext2/usr/local/src/mysql-3.22.21/mit-pthreads'
gaspard> make: *** [all-recursive] Error 1
gaspard> make: Leaving directory `/ext2/usr/local/src/mysql-3.22.21'
gaspard> make: *** [all-recursive-am] Error 2
Try the follwing:
THe above error means that configure doesn't find the LinuxThread
library and tries to use MIT-pthreads (Which doesn't work very well on
Linux). Check that LinuxThreads is installed on the second machine!
*************** Warning commercial signature follows **********
If you like TCX's concept of a 'mostly free' database and free
advice, you should at least CONSIDER supporting us that we can
afford to keep this service up. http://www.mysql.com/