Hi
I wanted to recompile Eterm's source package using my CFLAGS for better performance, but I ran into a problem. dpkg-buildpackage -uc -b gives:

libscream.c:1488:2: warning: #warning compiling in libscream
libscream.c:1493:2: warning: #warning compiling in support for GNU screen
libscream.c: In function 'ns_attach_by_sess':
libscream.c:1086: warning: 'ret' may be used uninitialized in this function
libscream.c: In function 'ns_ren_disp':
libscream.c:1935: warning: 'l' may be used uninitialized in this function
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -O2 -Wall -g -mtune=opteron -msse2 -m3dnow -c -o sse2_cmod.lo sse2_cmod.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -O2 -Wall -g -mtune=opteron -msse2 -m3dnow -c sse2_cmod.c -fPIC -DPIC -o .libs/sse2_cmod.o
sse2_cmod.c: In function 'shade_ximage_15_sse2':
sse2_cmod.c:93: error: can't find a register in class 'BREG' while reloading 'asm'
make[3]: *** [sse2_cmod.lo] Error 1
make[3]: Leaving directory `/root/eterm-0.9.4.0debian1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/eterm-0.9.4.0debian1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/eterm-0.9.4.0debian1'
make: *** [debian/stamp-makefile-build] Error 2

my debian/rules script looks like this:

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_DH_SHLIBDEPS_ARGS = -L libEterm -l debian/tmp/usr/lib/
DEB_DESTDIR = $(CURDIR)/debian/tmp
DEB_CONFIGURE_EXTRA_FLAGS = \
        --enable-xim \
        --with-backspace=del \
        --with-delete=execute \
        --enable-share=yes \
        --enable-static=no \
        --enable-mmx=yes \
        --enable-sse2=yes \
        --enable-multi-charset=unicode \
        --enable-escreen \
        --with-pty-group=tty
CFLAGS = -O2 -Wall -g -mtune=opteron -msse2 -m3dnow

I can see that its a problem with sse2 but my box is dual opteron and it has sse2 instructions. I've installed alle the necesery dependencies.
What can I do about that error?

thanks
Kuba


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to