>Description:
When using "setenv MAKE 'gmake -j 6'" to run multiple compilations
at once, linking of client routines failed due to the library not
having been completed.
>How-To-Repeat:
Configure with parallel make. Type gmake on multi-CPU computer.
>Fix:
A second gmake worked, since the library had completed by then.
Install a dependency so that the library compilation must complete
before client linking.
In client/Makefile.in, there are lines:
mysql_DEPENDENCIES= $(LIBRARIES)
mysqladmin_DEPENDENCIES= $(LIBRARIES)
mysqlshow_DEPENDENCIES= $(LIBRARIES)
mysqldump_DEPENDENCIES= $(LIBRARIES)
mysqlimport_DEPENDENCIES= $(LIBRARIES)
insert_test_DEPENDENCIES= $(LIBRARIES)
select_test_DEPENDENCIES= $(LIBRARIES)
I suspect these lines should really be:
mysql_DEPENDENCIES= $(pkglib_LTLIBRARIES)
mysqladmin_DEPENDENCIES= $(pkglib_LTLIBRARIES)
mysqlshow_DEPENDENCIES= $(pkglib_LTLIBRARIES)
mysqldump_DEPENDENCIES= $(pkglib_LTLIBRARIES)
mysqlimport_DEPENDENCIES= $(pkglib_LTLIBRARIES)
insert_test_DEPENDENCIES= $(pkglib_LTLIBRARIES)
select_test_DEPENDENCIES= $(pkglib_LTLIBRARIES)
Since the LIBRARIES variable does not appear to be set.
>Submitter-Id: <submitter ID>
>Originator: Allan E Johannesen
>Organization: WPI
>MySQL support: [none ]
>Synopsis: compilation complication
>Severity: non-critical
>Priority: low
>Category: mysql
>Class: sw-bug
>Release: mysql-3.22.21 (Source distribution)
>Environment:
System: OSF1 ernie.WPI.EDU V4.0 878 alpha
Machine: alpha
Some paths: /usr/local/bin/perl /sbin/make /usr/local/bin/gmake /usr/local/bin/gcc
/usr/bin/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0d/2.8.1/specs
gcc version 2.8.1
Compilation info: CC='cc -std1' CFLAGS='' CXX='cxx' CXXFLAGS='' LDFLAGS=''
Configure command: ./configure
Perl: This is perl, version 5.005 built for alpha-dec_osf