Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » xchat - so close! ld fails!

UBBFriend: Email this page to someone!    
Author Topic: xchat - so close! ld fails!
kilowatt
Junior Member
Member # 62

posted March 19, 2002 11:19 PM      Profile for kilowatt     Send New Private Message      Edit/Delete Post  Reply With Quote 
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?

code:

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

thanks!


Posts: 13 | From: /dev | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted April 10, 2002 12:29 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Add or remove
code:
-ldl

from your Makefile.

Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted April 10, 2002 12:33 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Add or remove -ldl from your Makefile.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
markko
Junior Member
Member # 409

posted April 22, 2002 02:52 PM      Profile for markko   Email markko   Send New Private Message      Edit/Delete Post  Reply With Quote 
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?

Posts: 1 | From: italy | Registered: Apr 2002  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2