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

Cannot start apache2 on ICC: undefined symbol: __intel_sse2_strcspn

Dien_Dfcs
Beginner
416 Views
I try to use icc compiler apache2. my configure:
[bash]./configure --enable-so --enable-proxy-ftp CC=icc CFLAGS="-m64 -mno-sse2"[/bash]
When you start apache2 was faultless specifications:
[bash]httpd: Syntax error on line 99 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_filter.so into server: /usr/local/apache2/modules/mod_filter.so: undefined symbol: __intel_sse2_strcspn[/bash] mod_filter.so:
[bash]nm /usr/local/apache2/modules/mod_filter.so |grep intel U __intel_sse2_strcspn U __intel_sse2_strncmp U __intel_ssse3_memcpy [/bash] icc version 12.1.4 (gcc version 4.6.0 compatibility)
Ubuntu 12.04

English I is not that great!

0 Kudos
1 Reply
Thomas_W_Intel
Employee
416 Views
I'm not familiar with compiling apache2, but to me this looks like you are not linking mod_filter.so with icc. Is there maybe another parameter to specify the linker?
0 Kudos
Reply