From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Shui To: help-gcc@gnu.org Subject: compiling with gcc... Date: Tue, 30 Nov 1999 23:28:00 -0000 Message-ID: <38354666.FA186F6@mail.usyd.edu.au> X-SW-Source: 1999-11n/msg00304.html Message-ID: <19991130232800.v0XGTdUe9mVnkvbUFllyKysIYIGfQrj020aHZGvXn_Q@z> Hi there, I recently upgrade my Debian (i386) kernel to 2.2.13 and I have also installed gcc-2.95.2 then when I tried to compile some program from source (programs such as CVS, ssh-2, etc) I get error messages shown as below: (for CVS-1.9) I got messages as below: gcc -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -g -O -c server.c server.c: In function `do_cvs_command': server.c:1834: Invalid `asm' statement: server.c:1834: fixed or forbidden register 2 (cx) was spilled for class CREG. server.c: In function `server_pause_check': server.c:2224: Invalid `asm' statement: server.c:2224: fixed or forbidden register 2 (cx) was spilled for class CREG. make[1]: *** [server.o] Error 1 for ssh-2.0.13: sshunixeloop.c: In function `ssh_event_loop_run': sshunixeloop.c:710: Invalid `asm' statement: sshunixeloop.c:710: fixed or forbidden register 2 (cx) was spilled for class CREG. sshunixeloop.c:711: Invalid `asm' statement: sshunixeloop.c:711: fixed or forbidden register 2 (cx) was spilled for class CREG. both seemed to have problem dealing with FD_ZERO macro and I just could not figure out why and how to fix it... hoping someone out there could help me. cheers. Bill -- Bill Shui | http://www-personal.usyd.edu.au/~wshui ------------------------------------------------------------------