This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

compiling with gcc...


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
------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]