From: Johan De G. <joh...@sk...> - 2005-08-02 21:05:59
|
Tried to get gwc working on my Gentoo 2.6.11-gentoo-r7 install. The config went fine, but the make failed with: ___________________________________________________________________________________ daw2 gwc-0.20-10b # make gcc -DDATADIR=\"/usr/local/share\" -DLIBDIR=\"/usr/local/lib\" -DAPPNAME=\"gnome_wave_cleaner\" -DHAVE_FFTW3 -DFFTWPREC=2 -Wall -g -O2 -mcpu=x86_64 -march=x86_64 -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -c dialog.c `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. dialog.c:1: error: bad value (x86_64) for -march= switch dialog.c:1: error: bad value (x86_64) for -mtune= switch make: *** [dialog.o] Error 1 daw2 gwc-0.20-10b # __________________________________________________________________________________________ So I changed in the makefile in the line: CFLAGS = -Wall -g -O2 -mcpu=x86_64 -march=x86_64 -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API in both cases "x86_64" by "k8". This compiled and installed cleanly with some warnings about '-mcpu' being deprecated. It even starts, and I can load a file. I cannot play it however since it cannot find /dev/dsp0, but this is quite normal since I only have alsa and jack. Hope this can help someone. Regards, Johan |