Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

_intel_fast_memcpy

mb
Beginner
905 Views

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.

0 Kudos
1 Reply
TimP
Honored Contributor III
905 Views
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.
0 Kudos
Reply