Mail Archives: djgpp/1997/04/10/11:05:19
In article <Pine DOT SUN DOT 3 DOT 91 DOT 970409131849 DOT 3639J-100000 AT is>, Eli Zaretskii wrote:
>
>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
[...]
>> 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>.
In return, might I offer this... I had similar problems with crt0.o in the
past. I was so annoyed at my sloppy program development habits that I
used Windows 95's Find to collect all of the .o files, and deleted them. :-)
Of course crt0 is an object file, as is another, so any attempt to link with
them fails if they are not there (weird, huh? :).
Since my sloppy program development habits are probably not unique, might it
be a good idea for future DJGPP releases to have a backup of these files
under a different extension? Because often I do not keep the original archives
around; I need them so rarely.
--
Gary
- Raw text -