Mail Archives: djgpp/2001/11/07/10:04:22
Hi !
I've come across some code that I wanted to compile with djgpp, The
problem is that I doesn't recognize a call to a function. I'ts not a
self-made function and I can't find any reference to it in any doc or
source (include's or elsewhere).
The error(s):
D:\PROGRA~1\COCHC_~1\pf>gcc pf.c -o pf.exe
d:/djgpp/tmp\ccbzpGMX.o(.text+0x49):pf.c: undefined reference to
`sysint'
d:/djgpp/tmp\ccbzpGMX.o(.text+0x14b):pf.c: undefined reference to
`getds'
d:/djgpp/tmp\ccbzpGMX.o(.text+0x18e):pf.c: undefined reference to
`sysint'
collect2: ld returned 1 exit status
This is what the code looks like:
__dpmi_regs r;
.
.
.
r.x.es = getds();
.
.
.
------------------
and:
if(sysint(DISKINT, &r, &r) & 1)
++times;
Hopefully someone more intelligent and experienced can help me with
this, or ?
Regards
Peter
- Raw text -