Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

linking with gcc

 
   Macintosh computer (Home) -> Tools RSS
Next:  Netbeans: External browser?  
Author Message
Andrey Behrens

External


Since: Jan 07, 2004
Posts: 3



(Msg. 1) Posted: Thu Jan 08, 2004 3:32 pm
Post subject: linking with gcc
Archived from groups: comp>sys>mac>programmer>tools (more info?)

Hello,

It seems that linking with gcc dont work (for me?)

------------------------------
gcc -o mc dir.o util.o screen.o dialog.o key.o keyxdef.o menu.o file.o
win.o color.o help.o find.o profile.o user.o view.o ext.o mouse.o setup.o
dlg.o option.o tree.o widget.o chmod.o mad.o wtools.o info.o cons.handler.o
chown.o subshell.o terms.o boxes.o hotlist.o achown.o layout.o fsusage.o
mountlist.o regex.o complete.o slint.o command.o cmd.o main.o panelize.o
learn.o listmode.o utilunix.o background.o rxvt.o text.o popt.o findme.o
poptparse.o poptconfig.o popthelp.o filegui.o filenot.o fileopctx.o
treestore.o textconf.o -L../vfs -L../slang -L../edit -lmcslang -ledit
-lvfs-mc -L/usr/local/lib -lglib -ltermcap -lcurses -liconv
ld: Undefined symbols:
_libintl_gettext
_edit_confirm_save
_edit_key_emulation
_option_auto_para_formatting
_option_backspace_through_tabs
_option_backup_ext_int
_option_fake_half_tabs
_option_fill_tabs_with_spaces
_option_return_does_auto_indent
_option_save_mode
_option_syntax_highlighting
_option_tab_spacing
_option_typewriter_wrap
_option_word_wrap_line_length
_edit_adjust_size
_edit_dlg
_edit
_edit_user_menu_cmd
_libintl_bindtextdomain
_libintl_textdomain
make: *** [mc] Error 1
-----------------------------

Most of the undefined symbols are in the libedit.a library and this lib is
part oft the gcc command (-L../edit -ledit).

What's going wrong?

Thank you.

--
mfg

 >> Stay informed about: linking with gcc 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Tools All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]