Well, i got a problem. I compiled MySQL with newest ICC 8.1. Now i want to compile Php with GCC 4 using the MySQL Lib and i get this:

/usr/local/mysql/current/lib/mysql/libmysqlclient.a(client.o)(.text+0x1814): In function `mysql_real_connect.':
: undefined reference to `_intel_fast_memcpy'
/usr/local/mysql/current/lib/mysql/libmysqlclient.a(client.o)(.text+0x2047): In function `cli_read_rows':
: undefined reference to `_intel_fast_memcpy'
/usr/local/mysql/current/lib/mysql/libmysqlclient.a(net.o)(.text+0x1c2): In function `my_net_write':

I tried alot... nothing worked. Anyone who can help ? Thanks alot.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

As you didn't show how you attempted to link, let me guess: You used gcc or ld directly to link, or didn't set the LD_LIBRARY_PATH as the iccvars script would do. If you use icc or icpc as the link command, the necessary -l specifications would be inserted automatically.

Leave a Comment

Please sign in to add a comment. Not a member? Join today