From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Terry" To: help-gcc@gnu.org Subject: Re: compiling with gcc... Date: Mon, 13 Dec 1999 22:02:00 -0000 Message-id: <11l54.1216$B6.126603@brie.direct.ca> References: <38354666.FA186F6@mail.usyd.edu.au> X-SW-Source: 1999-12/msg00209.html Lets see there... maybe the version of gcc you have downloaded is not compatible for your os.. Btw.. Use Slackware 7.0 i highly suggest that.. and i think it would be to your benefit to install and try =) Bill Shui wrote in message news:38354666.FA186F6@mail.usyd.edu.au ... > 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 > ------------------------------------------------------------------ From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Terry" To: help-gcc@gnu.org Subject: Re: compiling with gcc... Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <11l54.1216$B6.126603@brie.direct.ca> References: <38354666.FA186F6@mail.usyd.edu.au> X-SW-Source: 1999-12n/msg00209.html Message-ID: <19991231222400.3ofNYXhs_5d9nGRTq_uuGQhC7i8SfUvPXkajzoHvW5Q@z> Lets see there... maybe the version of gcc you have downloaded is not compatible for your os.. Btw.. Use Slackware 7.0 i highly suggest that.. and i think it would be to your benefit to install and try =) Bill Shui wrote in message news:38354666.FA186F6@mail.usyd.edu.au ... > 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 > ------------------------------------------------------------------ From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Terry" To: help-gcc@gnu.org Subject: Re: compiling with gcc... Date: Mon, 13 Dec 1999 22:02:00 -0000 Message-ID: <11l54.1216$B6.126603@brie.direct.ca> References: <38354666.FA186F6@mail.usyd.edu.au> X-SW-Source: 1999-q4/msg01235.html Message-ID: <19991213220200.2NrSR8yPir9kdPskhSsg5aByv6Y0GHYZWrRb1dyy5_8@z> Lets see there... maybe the version of gcc you have downloaded is not compatible for your os.. Btw.. Use Slackware 7.0 i highly suggest that.. and i think it would be to your benefit to install and try =) Bill Shui wrote in message news: 38354666.FA186F6@mail.usyd.edu.au ... > 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 > ------------------------------------------------------------------