discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs.app dev]: Problems compiling Emacs.app with GNUstep


From: Cezar Halmagean
Subject: Re: [Emacs.app dev]: Problems compiling Emacs.app with GNUstep
Date: Tue, 15 Jul 2008 17:10:17 -0700

I've downloaded the cvs code and cd emacs/nextstept && ./compile

Undefined symbols:
  "_tgetflag", referenced from:
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
  "_tgetent", referenced from:
      _init_tty in term.o
  "_tgetnum", referenced from:
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
  "_BC", referenced from:
      _BC$non_lazy_ptr in cm.o
  "_PC", referenced from:
      _PC$non_lazy_ptr in term.o
  "_tgetstr", referenced from:
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _term_get_fkeys_1 in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
      _init_tty in term.o
  "_UP", referenced from:
      _UP$non_lazy_ptr in cm.o
  "_tgoto", referenced from:
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmgoto in cm.o
      _cmgoto in cm.o
  "_tputs", referenced from:
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _cmcostinit in cm.o
      _calccost in cm.o
      _calccost in cm.o
      _calccost in cm.o
      _cmgoto in cm.o
      _cmgoto in cm.o
      _cmgoto in cm.o
      _cmgoto in cm.o
      _cmgoto in cm.o
      _tty_ring_bell in term.o
      _tty_set_terminal_modes in term.o
      _tty_set_terminal_modes in term.o
      _tty_set_terminal_modes in term.o
      _tty_set_terminal_modes in term.o
      _tty_reset_terminal_modes in term.o
      _tty_reset_terminal_modes in term.o
      _tty_reset_terminal_modes in term.o
      _tty_reset_terminal_modes in term.o
      _tty_set_scroll_region in term.o
      _tty_turn_on_insert in term.o
      _tty_turn_off_insert in term.o
      _tty_turn_off_highlight in term.o
      _tty_turn_on_highlight in term.o
      _tty_hide_cursor in term.o
      _tty_show_cursor in term.o
      _tty_show_cursor in term.o
      _tty_clear_to_end in term.o
      _tty_clear_frame in term.o
      _tty_clear_end_of_line in term.o
      _tty_insert_glyphs in term.o
      _tty_insert_glyphs in term.o
      _tty_insert_glyphs in term.o
      _tty_insert_glyphs in term.o
      _tty_delete_glyphs in term.o
      _tty_delete_glyphs in term.o
      _tty_delete_glyphs in term.o
      _tty_delete_glyphs in term.o
      _tty_ins_del_lines in term.o
      _tty_ins_del_lines in term.o
      _tty_ins_del_lines in term.o
      _string_cost in term.o
      _string_cost_one_line in term.o
      _per_line_cost in term.o
      _per_line_cost in term.o
      _turn_on_face in term.o
      _turn_on_face in term.o
      _turn_on_face in term.o
      _turn_on_face in term.o
      _turn_on_face in term.o
      _turn_on_face in term.o
      _turn_on_face in term.o
      _turn_off_face in term.o
      _turn_off_face in term.o
      _turn_off_face in term.o
      _turn_off_face in term.o
      _turn_off_face in term.o
      _reset_sys_modes in sysdep.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make: *** [src] Error 2
*** Compilation failed. ***
Please examine the above output to determine what went wrong,
edit the configure options in this script (\'compile\') to fix it, and rerun.


Cezar
On Jul 15, 2008, at 5:02 PM, Adrian Robert wrote:


On Jul 15, 2008, at 5:50 PM, Charles philip Chan wrote:

Thanks Fred, you put me on the right track, I needed to add "--
args" to
gdb to get a backtrace. Can you comment on this bt?

#0  0xb7f51410 in __kernel_vsyscall ()
#1  0xb7296c26 in kill () from /lib/libc.so.6
#2  0x08168526 in abort () at emacs.c:432
#3  0xb7731245 in _terminate () at NSException.m:697
#4  0xb77314e6 in _NSFoundationUncaughtExceptionHandler
(exception=0x854b1c0) at NSException.m:724
...
#11 0xb6e457d5 in __vacall_r () from /usr/local/lib/libcallback.so.0
#12 0xb7b827c0 in returnTypeInfo ()
  from /usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.17
#13 0xbfc0ba64 in ?? ()
#14 0x00000004 in ?? ()
#15 0xbfc0ba98 in ?? ()
#16 0x00000000 in ?? ()

Hmm, I'm wondering why things get lost here..  It's been a while,
maybe this is something inevitable, but I also remember when I was
doing this a lot I would build Emacs.app with no optimization (remove
-O2 in the compile script) and also use the debug version of the
GNUstep libraries (I forget how I did this). This definitely helps gdb.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emacs-app-dev- mailing list
Emacs-app-dev-@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-





reply via email to

[Prev in Thread] Current Thread [Next in Thread]