Mail Archives: djgpp/1997/04/09/06:40:30
On Thu, 3 Apr 1997, David Welch wrote:
> I am having the follwing problems trying to make allegro v22.
> _CRT0_flag_unix_sbrk and
> _CRT0_flag_nonmove_sbrk
> The compiler says both are undeclared and i cant find a reference to
> them in any source or header file. If i comment these two lines out the
> compile works but the link fails with
> undeclared reference to _go32_dpmi_lock_data and _go32_dpmi_lock_code.
> Neither of these are declared in go32.h . Am i missing some part of the
> distributions ?
Are you sure you have DJGPP v2, and not v1.x? The _CRT0_xxx flags are
defined on <crt0.h> and the code/data locking functions are described
on <dpmi.h>.
Btw, the correct place to look for names of functions and global
variables is on the C library reference, like so:
info libc Alphabetical
- Raw text -