delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/09/03:25:06

From: Abbas Imani <abbas AT cse DOT unsw DOT edu DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: dosmemgetb error
Date: 8 Jan 1997 10:57:10 GMT
Organization: Dept of Comp Sci & Eng, Uni Of NSW, Oz
Lines: 36
Message-ID: <5avui6$1gr$1@mirv.unsw.edu.au>
References: <Pine DOT GSO DOT 3 DOT 95 DOT 970107230121 DOT 27833A-100000 AT hops DOT cs DOT jhu DOT edu>
NNTP-Posting-Host: karri.cse.unsw.edu.au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello everybody,

I am trying to use dosmemgetb in my program. My code is almost the same as
the code in the libc.a refrence except that I have changed the names of 
the varaibles used.



==================================
.......
unsigned short mem_buf; 
......
dosmemgetb(0xd0000, 10, &mem_buf);
..... 
==================================

however, when I compile and link the program, the compiler gives me this 
warning in compilation 


-------------------------------------------
implicit declration of function "dosmemgetb"
-------------------------------------------


and the following error in linking.

 
--------------------------------------------
undefined reference to function "dosmemgetb".
---------------------------------------------

I am wondering if somebody out there know why I am getting this warning and
error message. If so please email me. I will appreciate your help very much.

abbas

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019