Mail Archives: djgpp/2014/08/16/15:17:30
Am 16.08.2014 13:24, schrieb Eli Zaretskii:
>> Date: Sat, 16 Aug 2014 11:02:56 +0200
>> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
>>
>> ./temacs -batch -l loadup dump
>> Cannot open load file: Value too large (EOVERFLOW), loadup.el
> If at all possible, could you find out where does this EOVERFLOW come
> from (it could also be a garbage value of errno, but the failure to
> load is real)? The error message comes from lread.c:1144, but the
> question is: why does the load fail? Perhaps you could step through
> the relevant code, like this:
>
> gdb ./temacs.exe
> (gdb) break Fload
> (gdb) run -batch -l loadup dump
>
> Then, when the breakpoint in Fload breaks, step through the code,
> stepping into the 'openp' function, and see why the latter fails to
> open the loadup.el file.
>
> (I don't think you need to rebuild Emacs for this, since temacs.exe
> should already exist on that system.)
>
> Thanks for testing the pretest version.
I will investigate this but it seems to be a DJGPP 2.04 issue. I will answer
ASAP.
I have also tried djdev203 and it was possible to compile it out-of-the box
and seems to work. Neither less the emacs code expects that the library
provides snprintf, but this is not the case for djdev203. This is also the
case for many other GNU ports I have done lately where I had to add
to the sources the snprintf code taken from the repository so they can
be compiled with DJGPP 2.03.
I got this error message:
[snip]
gcc -c -I../msdos -Demacs -I. -I../lib -O2 font.c
font.c: In function 'font_unparse_xlfd':
font.c:1330:9: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
font.c: In function 'font_unparse_fcname':
font.c:1637:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
font.c:1644:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
font.c:1651:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
font.c:1658:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
font.c:1668:12: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
font.c:1677:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
font.c:1686:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
font.c:1695:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
[snip]
Regards,
Juan M. Guerrero
- Raw text -