View Single Post
  #1  
Old 10th June 2015, 17:47
Killermix Killermix is offline
Member
 
Join Date: Feb 2015
Posts: 4
Default Problem when i build ocelot
Hello all!

I have a problem when i'm trying to build Ocelot.

First I have modified config.cpp

Then I have ran this command :

Code:
./configure --with-mysql-lib=/usr/lib/x86_64-linux-gnu/ --with-ev-lib=/usr/lib/x86_64-linux-gnu/
All seemed to be ok so then I ran "make" command then i got this error :

Code:
g++ -DPACKAGE_NAME=\"ocelot\" -DPACKAGE_TARNAME=\"ocelot\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"ocelot\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBTCMALLOC=1 -I.   -I/usr/include -I/usr/include/mysql -I/usr/include/mysql++ -std=c++11 -march=native -O2 -fvisibility=hidden -fvisibility-inlines-hidden -fomit-frame-pointer -fno-ident -Wall -Wfatal-errors -pthread -I/usr/local/include -g -O2 -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.cpp
config.cpp:1:0: error: CPU you selected does not support x86-64 instruction set
 #include <iostream>
 ^
compilation terminated due to -Wfatal-errors.
make: *** [config.o] Error 1

I dont know what to do, I have previously built ocelot on another server, and all went fine, but on this server that won't.

Thanks in advance, and sorry for my poor english
Reply With Quote