List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:April 22 1999 1:22pm
Subject:Re: Compilation error on AIX 4.3.2
View as plain text  
>>>>> "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


Thread
Compilation error on AIX 4.3.2Steve_HOUCHEN21 Apr
  • Compilation error on AIX 4.3.2Michael Widenius22 Apr
Re: Compilation error on AIX 4.3.2Steve_HOUCHEN22 Apr
  • Re: Compilation error on AIX 4.3.2Michael Widenius25 Apr
Re: Compilation error on AIX 4.3.2Steve_HOUCHEN22 Apr
  • Re: Compilation error on AIX 4.3.2Michael Widenius25 Apr