Not sure what you are trying to do here, but you definitly don't want to
debug make, you want to debug the bootstrap-emacs.
Most likely you will want to send the following command:
EMACSLOADPATH=/usr/src/packages/BUILD/emacs/lisp LC_ALL=C gdb
../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload \
--eval "(setq generate-autoload-cookie
\";;;###cal-autoload\")" \
--eval "(setq generated-autoload-file
\"/usr/src/packages/BUILD/emacs/lisp/calendar/cal-loaddefs.el\")" \
--eval "(setq make-backup-files nil)" \
-f batch-update-autoloads \
/usr/src/packages/BUILD/emacs/lisp/calendar
(Sorry the mail program puts in stupid line breaks, just get them out again)
Fred
Charles philip Chan wrote:
Adrian Robert <[EMAIL PROTECTED]> writes:
Sorry for the late reply.
If there is any way to find out which line of source code is leading
to this "autorelease called without pool" that would be very helpful
information.
I am still getting the error, this time with Emacs cvs. What is the best way
to debug this? I tried putting gdb before "$MAKE" but it produces no
back trace:
,----[ Output from gdb ]
| Program exited with code 02.
| (gdb) bt
| No stack.
| (gdb)
| No stack.
`----
I have included this in case some one on the gnustep user list can shed
some light on it:
gmake[1]: Entering directory `/usr/src/packages/BUILD/emacs/src'
cd ../lisp; gmake -w autoloads EMACS=../src/bootstrap-emacs
gmake[2]: Entering directory `/usr/src/packages/BUILD/emacs/lisp'
EMACSLOADPATH=/usr/src/packages/BUILD/emacs/lisp LC_ALL=C
../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload \
--eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
--eval "(setq generated-autoload-file
\"/usr/src/packages/BUILD/emacs/lisp/calendar/cal-loaddefs.el\")" \
--eval "(setq make-backup-files nil)" \
-f batch-update-autoloads /usr/src/packages/BUILD/emacs/lisp/calendar
2008-07-15 14:35:32.140 bootstrap-emacs[16220] autorelease called without pool
for object (8505300)
of class NSMethodSignature in thread <NSThread: 0x84f17f0>
2008-07-15 14:35:32.209 bootstrap-emacs[16220] autorelease called without pool
for object (854d4f0)
of class GSFFCallInvocation in thread <NSThread: 0x84f17f0>
2008-07-15 14:35:32.216 bootstrap-emacs[16220] autorelease called without pool
for object (85457d0)
of class GSCInlineString in thread <NSThread: 0x84f17f0>
2008-07-15 14:35:32.221 bootstrap-emacs[16220] autorelease called without pool
for object (854b8a8)
of class NSException in thread <NSThread: 0x84f17f0>
2008-07-15 14:35:32.222 bootstrap-emacs[16220] autorelease called without pool
for object (854b758)
of class GSMutableArray in thread <NSThread: 0x84f17f0>
../src/bootstrap-emacs: Uncaught exception NSInvalidArgumentException, reason:
NSAutoreleasePool(class) does not recognize (null)
Fatal error (6)gmake[2]: ***
[/usr/src/packages/BUILD/emacs/lisp/calendar/cal-loaddefs.el] Aborted
gmake[2]: Leaving directory `/usr/src/packages/BUILD/emacs/lisp'
gmake[1]: *** [/usr/src/packages/BUILD/emacs/src/../lisp/loaddefs.el] Error 2
gmake[1]: Leaving directory `/usr/src/packages/BUILD/emacs/src'
gmake: *** [src] Error 2
Regards,
Charles
------------------------------------------------------------------------
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep