Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » Gaim 0.43

UBBFriend: Email this page to someone!    
Author Topic: Gaim 0.43
Swannman
Junior Member
Member # 105

posted September 17, 2001 07:13 PM      Profile for Swannman   Email Swannman   Send New Private Message      Edit/Delete Post  Reply With Quote 
First of all, mad props to you guys.. you're doing fantastic work.

Next.. I'm trying to compile the new release of Gaim. All is going well, it detects the platform, and compiles for quite a long time.. however, it then complains about multiple definitions of _dlsym. The last few lines of the compile process:

/bin/sh ../libtool --silent --mode=link gcc -g -O2 -I/usr/local/include -I/opt/include -I.. -I/sw/include -DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I/sw/include -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I/sw/include -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/System/Library/Perl/darwin/CORE -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib/gaim/\" -o gaim -export-dynamic about.o aim.o applet.o away.o browser.o buddy.o buddy_chat.o conversation.o dialogs.o gaimrc.o gtkimhtml.o gtkspell.o gtkticker.o html.o idle.o multi.o perl.o plugins.o prefs.o proxy.o prpl.o server.o sound.o ticker.o util.o getopt.o getopt1.o -L/sw/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lintl -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -lglib -ldl -L/sw/lib -lgdk_pixbuf -L/sw/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lm -L/sw/lib -lesd -laudiofile -lm protocols/oscar/liboscar.a protocols/toc/libtoc.a /System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a -L/System/Library/Perl/darwin/CORE -lperl -lm -lc -lXss ../intl/libintl.a -liconv
/usr/bin/ld: multiple definitions of symbol _dlclose
/System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a(DynaLoader.o) definition of _dlclose in section (__TEXT,__text)
/sw/lib/libdl.dylib(dlopen.o) definition of _dlclose
/usr/bin/ld: multiple definitions of symbol _dlsym
/System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a(DynaLoader.o) definition of _dlsym in section (__TEXT,__text)
/sw/lib/libdl.dylib(dlopen.o) definition of _dlsym
make[3]: *** [gaim] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Sorry so long, hope it will help. I appreciate anything you can do to help me out.. I was so sure it was going to work on the first try!

Keep up the fantastic work, I check back often.

Best wishes,
Swannman


Posts: 5 | Registered: Sep 2001  |  IP: Logged
apex
Administrator
Member # 1

posted September 17, 2001 09:36 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Remove references to DynaLoader in your Makefiles. -lm already covers it, so you have a duplicate.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
Swannman
Junior Member
Member # 105

posted September 18, 2001 02:24 AM      Profile for Swannman   Email Swannman   Send New Private Message      Edit/Delete Post  Reply With Quote 
Changed all Makefile's so that the line

PERL_LIBS = PERL_LIBS = /System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a -L/System/Library/Perl/darwin/CORE -lperl -lm -lc

now reads

PERL_LIBS = -L/System/Library/Perl/darwin/CORE -lperl -lm -lc


....

however after making all the plugins, execution stops at the line:

/bin/sh ../libtool --silent --mode=link gcc -g -O2 -I/usr/local/include -I/opt/include -I.. -I/sw/include -DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I/sw/include -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I/sw/include -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/System/Library/Perl/darwin/CORE -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib/gaim/\" -o gaim -export-dynamic about.o aim.o applet.o away.o browser.o buddy.o buddy_chat.o conversation.o dialogs.o gaimrc.o gtkimhtml.o gtkspell.o gtkticker.o html.o idle.o multi.o perl.o plugins.o prefs.o proxy.o prpl.o server.o sound.o ticker.o util.o getopt.o getopt1.o -L/sw/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lintl -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -lglib -ldl -L/sw/lib -lgdk_pixbuf -L/sw/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lm -L/sw/lib -lesd -laudiofile -lm protocols/oscar/liboscar.a protocols/toc/libtoc.a -L/System/Library/Perl/darwin/CORE -lperl -lm -lc -lXss ../intl/libintl.a -liconv
/usr/bin/ld: Undefined symbols:
_boot_DynaLoader
make[3]: *** [gaim] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

and dies. So, we're getting closer, but it looks as though it's wanting something that was in the part I took out. Any suggestions?

Thanks.. I'm learning (slowly)

-Swannman

[ September 18, 2001: Message edited by: Swannman ]


Posts: 5 | Registered: Sep 2001  |  IP: Logged
apex
Administrator
Member # 1

posted September 23, 2001 11:01 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
As it turns out, the version on macosx.forked.net IS 0.43. there was some confusion on my part with the versioning used. To compile anyhow, run configure with --disable-perl.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted September 23, 2001 11:07 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
As it turns out, the version on macosx.forked.net IS 0.43. there was some confusion on my part with the versioning used. To compile anyhow, run configure with --disable-perl.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  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