command in make file is too long?

Dear sir:
    Thanks for read this.
    I'm install anjuta on solaris8 for x86, ./configure run ok, when make it, all file are compiled ok , but it failed on link, it seems that the command is too long to send to link.
I see many lib are write many times in the command. so some VAR in make file are droped because it's too long. and get err like : 
    ld: fatal: library -l-R/opt/gnome-1.4/lib: not found
I modified to remove some libs, it still get err like :
    ld: fatal: library -lsocke -R/opt/gnome-1.4/lib: not found, I think it should be "-lsocket" and have other libs after it but it is droped.

    how to resolv this problem? Thanks.

c++ -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wpointer-arith -Wmissing-prototypes -g -O2 -o anjuta an_file_view.o an_symbol_view.o aneditor.o anjuta_cbs.o anjuta_dirs.o anjuta_info.o appwiz_page1.o appwiz_page2.o appwiz_page3.o appwizard.o appwizard_cbs.o appwizard_gui.o attach_process.o attach_process_cbs.o attach_process_gui.o breakpoints.o breakpoints_cbs.o breakpoints_gui.o build_file.o build_project.o clean_project.o commands.o compile.o compiler_options.o compiler_options_cbs.o compiler_options_gui.o configurer.o controls.o cvs.o cvs_gui.o cvs_cbs.o debugger.o dnd.o executer.o file_history.o fileselection.o find_in_files.o find_in_files_cbs.o find_in_files_gui.o find_replace.o find_text.o gnome_project.o goto_line.o help.o launcher.o main.o main_menubar.o mainmenu_callbacks.o messagebox.o message-manager.o message-manager-private.o message-manager-dock.o preferences.o preferences_gui.o project_dbase.o project_config.o project_type.o project_dbase_gui.o project_import.o project_import_gui.o project_import_cbs.o properties.o registers.o registers_cbs.o registers_gui.o sharedlib.o sharedlib_cbs.o sharedlib_gui.o signals.o signals_cbs.o signals_gui.o splash.o src_paths.o src_paths_cbs.o src_paths_gui.o stack_trace.o stack_trace_cbs.o stack_trace_gui.o support.o text_editor.o text_editor_cbs.o text_editor_gui.o text_editor_menu.o toolbar.o toolbar_callbacks.o utilities.o watch.o watch_cbs.o watch_gui.o wizard_gui.o appwiz_page4.o source.o anjuta.o anjuta_gui.o glade_iface.o compatibility_0.o defaults.o resources.o CORBA-Server.o Gladen-common.o glades.o Prj-common.o Gladen-stubs.o session.o ../scintilla/StyleContext.o ../scintilla/LexCPP.o ../scintilla/LexConf.o ../scintilla/LexHTML.o ../scintilla/LexLua.o ../scintilla/LexOthers.o ../scintilla/LexPerl.o ../scintilla/LexPython.o ../scintilla/LexSQL.o ../scintilla/LexVB.o ../scintilla/LexPascal.o ../scintilla/LexAVE.o ../scintilla/LexCrontab.o ../scintilla/LexEiffel.o ../scintilla/LexLisp.o ../scintilla/LexRuby.o ../scintilla/LexBullant.o ../scintilla/LexAda.o ../scintilla/LexBaan.o ../scintilla/LexMatlab.o  -L/opt/gnome-1.4/lib -lintl -lesd -laudiofile -lm -lresolv -lrt -lnsl -lsocket -laudiofile -lm -ldb -lglib -ldl -lgdk_imlib -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lz -lresolv -lm -lintl -lintl -lgmodule -lglib -ldl -lSM -lICE -lintl -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lintl -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lintl -ldl -lXext -lX11 -lintl -lglib -lm -ldl -lz -lresolv -lm -lintl -lz -lresolv -lm -lintl -laudiofile -lm -lm -lresolv -lrt -lnsl -lsocket -lresolv -lrt -lnsl -lsocket -lintl -lintl -lm -lm -lm -ldb -lintl -ldl /opt/gnome-1.4/lib/ -lintl -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lresolv -lnsl -lsocket -lm -lglib -lm -lz -lresolv -lm /opt/gnome-1.4/lib/ -lintl -lz -lresolv -lm /opt/gnome-1.4/lib/ -lintl -lgnome -lgnomesupport -lesd -lresolv -lrt -lnsl -lsocket -laudiofile -lm -ldb -lglib -ldl -loaf -lpopt -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lresolv -lnsl -lsocket -lm -lgconf-gtk-1 -lgconf-1 -loaf -lpopt -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lresolv -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lgmodule -lgthread -lglib -ldl -lsocket -lnsl /opt/gnome-1.4/lib/ -lintl -lthread /opt/gnome-1.4/lib/ -lintl -lintl -lesd -laudiofile -lm -lresolv -lrt -lnsl -lsocket -laudiofile -lm -ldb -lglib -ldl -lgdk_imlib -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lz -lresolv -lm -lintl -lintl -lgmodule -lglib -ldl -lSM -lICE -lintl -lglib -lm -ldl -lz -lresolv -lm -lintl -lz -lresolv -lm -lintl -laudiofile -lm -lm -lresolv -lrt -lnsl -lsocket -lrt -lintl -lintl -lm -lm -ldb -lintl -l -R/opt/gnome-1.4/lib -R/opt/gnome-1.4/lib -R/usr/ucblib -R/../lib
ld: warning: file /opt/gnome-1.4/lib/ attempted multiple inclusion of file
ld: fatal: library -l-R/opt/gnome-1.4/lib: not found
ld: fatal: File processing errors. No output written to anjuta
collect2: ld returned 1 exit status
make[2]: *** [anjuta] Error 1

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