From: "António Manuel Protásio Moutinho" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help please. Date: Fri, 25 Jun 1999 19:27:55 +0100 Organization: Universidade Tecnica de Lisboa Lines: 17 Message-ID: <3773CA2A.974FD875@HotPOP.com> References: <3771C597 DOT EF0C0A16 AT strgate DOT fujitsu DOT com DOT au> NNTP-Posting-Host: ppp102.ist.utl.pt Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: utl2.reitoria.utl.pt 930343829 25401 193.136.102.194 (25 Jun 1999 20:50:29 GMT) X-Complaints-To: usenet AT utl2 DOT reitoria DOT utl DOT pt NNTP-Posting-Date: 25 Jun 1999 20:50:29 GMT X-Mailer: Mozilla 4.06 [en] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jon Everton wrote: > f:\djgpp\tmp\test.c:118: `cli' undeclared (first use in this function) > f:\djgpp\tmp\test.c:118: (Each undeclared identifier is reported only > once > f:\djgpp\tmp\test.c:118: for each function it appears in.) > f:\djgpp\tmp\test.c:118: argument of `asm' is not a constant string > f:\djgpp\tmp\test.c:122: `sti' undeclared (first use in this function) > f:\djgpp\tmp\test.c:122: argument of `asm' is not a constant string Part of your problem are the inline assembly declarations. For one thing, you should use a different sintax (AT&T) from the one used with the Crapposoft compiler. I don't know much more about this than you can find out for yourself by going to the FAQ 2.11 and reading item 18.13. I wish you luck... Beyond this, the rest you should be able to figure out for yourself.