xchat - so close! ld fails!

Find out how to get that @*&^$&@ thing to compile!

xchat - so close! ld fails!

Postby kilowatt » Wed Mar 20, 2002 7:19 am

I wanted to try a new version of xchat...
Downloaded the source, compiled about 99% of it

Then I get stuck. Lots of errors from ld.

Here's the complete output, for your viewing pleasure. Any ideas?

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
Making all in fe-gtk
gcc -DHAS_TELLDIR_PROTOTYPE -DNEED_GNOMESUPPORT_H -I/System/Library/Perl/darwin/CORE -I/sw/include -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/sw/lib/gnome-libs/include -I/usr/X11R6/include -O2 -Wall -flat_namespace -fno-common -fno-strict-aliasing -g -no-cpp-precomp -pipe -o xchat about.o ascii.o banlist.o chanlist.o dccgui.o dialog.o editlist.o fe-gtk.o fkeys.o gtkutil.o ignoregui.o maingui.o menu.o notifygui.o palette.o pixmaps.o plugingui.o rawlog.o search.o serverlist.o settings.o textgui.o usermenu.o urlgrab.o userlistgui.o wins.o xtext.o ../common/libxchatmain.a -L/sw/lib -lgmodule -lglib -ldl /System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a -L/System/Library/Perl/darwin/CORE -lperl -lm -lc -L/sw/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lm -L/sw/lib -L/usr/X11R6/lib -lzvt -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lm -lgdk_imlib
/usr/bin/ld: multiple definitions of symbol _dlclose
/sw/lib/libdl.dylib(dlopen.o) definition of _dlclose
/System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a(DynaLoader.o) definition of _dlclose in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _dlsym
/sw/lib/libdl.dylib(dlopen.o) definition of _dlsym
/System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a(DynaLoader.o) definition of _dlsym in section (__TEXT,__text)
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libiconv.2.dylib(localcharset.lo) definition of _locale_charset
make[3]: *** [xchat] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
</pre>[/quote]

thanks!
kilowatt
 
Posts: 13
Joined: Thu Aug 30, 2001 7:00 pm
Location: /dev

Re: xchat - so close! ld fails!

Postby apex » Thu Apr 11, 2002 7:29 am

Add or remove <blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>-ldl</pre>[/quote] from your Makefile.
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: xchat - so close! ld fails!

Postby apex » Thu Apr 11, 2002 7:33 am

Add or remove -ldl from your Makefile.
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: xchat - so close! ld fails!

Postby markko » Mon Apr 22, 2002 9:52 pm

I have the same exact problem. I really need help, do not know how to do to bypass this error..
i see you guys at forked.net did compile an old version of xchat. could you expalin how to compile this one?
markko
 
Posts: 1
Joined: Mon Apr 22, 2002 7:00 pm
Location: italy


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 49 guests

cron