Page 1 of 1

Compile Error on Ubuntu 8.04 X64

Posted: Tue Oct 28, 2008 4:35 am
by alfa
When I try to compile:

Code: Select all

g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/timer.cpp -o ../common/timer.o
../common/timer.cpp:1: error: CPU you selected does not support x86-64 instruction set
make: *** [../common/timer.o] Error 1
See to be the X64 support but how it can be fix ? If anyone have an idea

Posted: Tue Oct 28, 2008 3:01 pm
by Image
what processor are you using alfa

Posted: Wed Oct 29, 2008 5:06 am
by alfa
Celeron E1200 Dual Core

Posted: Thu Oct 30, 2008 5:37 pm
by Andrew
Edit the makefile.

Posted: Sat Nov 01, 2008 10:18 am
by Image
Not sure what define you are supposed to use for a dual core celeron... The compile types for GCC are here:
Intel 386 and AMD x86-64 Options
Why aren't url encodings working here? lol

Posted: Sat Nov 01, 2008 11:03 am
by John Adams
Image wrote:Why aren't url encodings working here? lol
I believe the spaces in the URL are throwing it off.
You cannot even use quotes, heh. Oops.