From: Abbas Imani 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: 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