>>>>> "Steve" == Steve HOUCHEN <Steve_HOUCHEN@stripped> writes:
Steve> Monty,
Steve> Thanks for the reply. In the meantime, I found that the functions
Steve> were in my_pthread.c. That file compiled okay in the client directory, but
Steve> failed in the mysys directory. So, I copied the object files from client
Steve> to mysys -- and therefore, do not have the functions. I admit that was a
Steve> stupid way to try to solve the problem. Here is the compilation error that
Steve> I'm having in my_pthread.c when it is being compiled in the mysys
Steve> directory. If we can solve this, I'm sure mysqld will link properly:
Steve> xlc_r -ma -O3 -qstrict -DHAVE_INT_8_16_32 -DDEFAULT_BASEDIR=\"/usr/local\"
Steve> -DHAVE_CONFIG_H -I./../include -I../include -I.. -O -DDBUG_OFF -c
Steve> my_pthread.c
Steve> 1506-330 (W) Option -qstrict only valid with optimization level 3.
Steve> "my_pthread.c", line 420.5: 1506-068 (S) Operation between types "struct
Steve> hostent*" and "int" is not allowed.
Hi!
This looks like a compiler bug:
The above row is:
assert(buflen >= sizeof(struct hostent_data));
Try to remove the above row and try again!
Regards,
Monty