List:General Discussion« Previous MessageNext Message »
From:Chris Trown Date:April 7 1999 11:07pm
Subject:Re: Msql-Mysql-modules-1.2014
View as plain text  
On Wed, Apr 07, 1999 at 04:43:02PM -0500, William R. Mattil scribbled:
> Can Anyone please provide me with a clue here ?
> After trying unsuccessfully to build both mysql-3.22.20a and
> Msql-Mysql-modules-1.2014 on an RISC6000 running AIX 4.2  and gcc 2.7.2
> I upgraded the gcc to 2.8.1 and finally got mysql-3.22.20a to compile
> successfully. I then tried to buid Msql-Mysql-modules-1.2014 and
> recieved the following error:
> ld: 0711-317 ERROR: Undefined symbol: .__udivdi3
> Someone suggested that I upgrade to the egcs compiler so I upgraded the
> gcc 2.8.1 to egcs and am experiencing exactly the same
> problem(s).
> ld: 0711-317 ERROR: Undefined symbol: .__udivdi3
> make: 1254-004 The error code from the last command is 8
> I really need to try and get this working and am stuck.

     Monty, looks like HPUX systems are not the only ones affected by the 
gcc/ld problem.

     What's going on:

	When gcc builds binaries/libraries it uses a lot of functions that are
	only found in libgcc.a.  Some time ago, Monty switched to using a
	package called libtool to build libraries.  Libtool uses ld to build
	the shared libraries.  Normally, this is a fine way to proceed.  The
	problem is that ld does not copy the functions that gcc compiled
	libraries need(Eg: __udivdi3).

	The only way(That I know of, anyway) is to use gcc to do the final link
	stage instead of ld.  Using gcc will copy all the correct functions
	into the library that are needed.

     Check the mysql archives to see how to do this.  I posted instructions and
an explanation of what was going on.

     I made a few stabs at trying to get configure to do what I want, but no


What's the point?

An NT server can be run by an idiot, and usually is.
PGP fingerprint: 063FCE320681C336  78C164FC9B2F91EA
Msql-Mysql-modules-1.2014William R. Mattil8 Apr
  • Re: Msql-Mysql-modules-1.2014Chris Trown8 Apr
RE: Msql-Mysql-modules-1.2014Brian Hochgurtel8 Apr