From dveatch, 5 Years ago, written in Plain Text.
Embed
  1. ake[2]: Entering directory '/usr/src/mysql-5.1.70/client'
  2. gcc -DMYSQL_CLIENT_NO_THREADS -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -I. -I../include -I../include -I../include -I../regex   -D_FORTIFY_SOURCE=2  -O2 -march=x86-64 -pipe -fPIC   -fno-implicit-templates -fno-exceptions -fno-rtti -c -o mysql.o mysql.cc
  3. mysql.cc: In function 'void build_completion_hash(bool, bool)':
  4. mysql.cc:2687:37: error: invalid conversion from 'char' to 'char*' [-fpermissive]
  5.        field_names[i][num_fields*2]= '\0';
  6.                                      ^~~~
  7. make[2]: *** [Makefile:829: mysql.o] Error 1
  8. make[2]: Leaving directory '/usr/src/mysql-5.1.70/client'
  9. make[1]: *** [Makefile:556: all] Error 2
  10. make[1]: Leaving directory '/usr/src/mysql-5.1.70/client'
  11. make: *** [Makefile:495: all-recursive] Error 1
  12.  
  13. Compilation of mysql failed.
  14.  
  15. If you are getting error about 'read_cr4/write_cr4' and/or 'set_in_cr4'
  16. note that this is not a mysql bug.
  17.  
  18. To fix this please edit the include file that reports the errors and
  19. encapsulate the 'set_in_cr4' function with '#ifdef __KERNEL__'/'#endif'.
  20.