Mail Archives: djgpp/1997/01/09/03:25:06
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 -