public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compiling with gcc...
@ 1999-11-19  4:39 Bill Shui
  1999-11-19  8:47 ` Martin Kahlert
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Bill Shui @ 1999-11-19  4:39 UTC (permalink / raw)
  To: help-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
------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: compiling with gcc...
  1999-11-19  4:39 compiling with gcc Bill Shui
@ 1999-11-19  8:47 ` Martin Kahlert
  1999-11-30 23:28   ` Martin Kahlert
  1999-11-30 23:28 ` Bill Shui
  1999-12-13 22:02 ` Terry
  2 siblings, 1 reply; 7+ messages in thread
From: Martin Kahlert @ 1999-11-19  8:47 UTC (permalink / raw)
  To: help-gcc

[Posted and mailed]

In article < 38354666.FA186F6@mail.usyd.edu.au >,
	Bill Shui <wshui@mail.usyd.edu.au> writes:
> 
> 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.

Try:
http://egcs.cygnus.com/faq.html#fdzero

Martin.

-- 
The early bird gets the worm. If you want something else for       
breakfast, get up later.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* compiling with gcc...
  1999-11-19  4:39 compiling with gcc Bill Shui
  1999-11-19  8:47 ` Martin Kahlert
@ 1999-11-30 23:28 ` Bill Shui
  1999-12-13 22:02 ` Terry
  2 siblings, 0 replies; 7+ messages in thread
From: Bill Shui @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-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
------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: compiling with gcc...
  1999-11-19  8:47 ` Martin Kahlert
@ 1999-11-30 23:28   ` Martin Kahlert
  0 siblings, 0 replies; 7+ messages in thread
From: Martin Kahlert @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

[Posted and mailed]

In article < 38354666.FA186F6@mail.usyd.edu.au >,
	Bill Shui <wshui@mail.usyd.edu.au> writes:
> 
> 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.

Try:
http://egcs.cygnus.com/faq.html#fdzero

Martin.

-- 
The early bird gets the worm. If you want something else for       
breakfast, get up later.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: compiling with gcc...
  1999-11-19  4:39 compiling with gcc Bill Shui
  1999-11-19  8:47 ` Martin Kahlert
  1999-11-30 23:28 ` Bill Shui
@ 1999-12-13 22:02 ` Terry
  1999-12-13 22:02   ` Terry
  1999-12-31 22:24   ` Terry
  2 siblings, 2 replies; 7+ messages in thread
From: Terry @ 1999-12-13 22:02 UTC (permalink / raw)
  To: help-gcc

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 <wshui@mail.usyd.edu.au> 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
> ------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: compiling with gcc...
  1999-12-13 22:02 ` Terry
@ 1999-12-13 22:02   ` Terry
  1999-12-31 22:24   ` Terry
  1 sibling, 0 replies; 7+ messages in thread
From: Terry @ 1999-12-13 22:02 UTC (permalink / raw)
  To: help-gcc

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 <wshui@mail.usyd.edu.au> 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
> ------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: compiling with gcc...
  1999-12-13 22:02 ` Terry
  1999-12-13 22:02   ` Terry
@ 1999-12-31 22:24   ` Terry
  1 sibling, 0 replies; 7+ messages in thread
From: Terry @ 1999-12-31 22:24 UTC (permalink / raw)
  To: help-gcc

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 <wshui@mail.usyd.edu.au> 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
> ------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-19  4:39 compiling with gcc Bill Shui
1999-11-19  8:47 ` Martin Kahlert
1999-11-30 23:28   ` Martin Kahlert
1999-11-30 23:28 ` Bill Shui
1999-12-13 22:02 ` Terry
1999-12-13 22:02   ` Terry
1999-12-31 22:24   ` Terry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).