Undefined symbols for architecture x86_64 when updating sylpheed

[email protected]
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>

I’m trying to update my sylpheed package to sylpheed 3.4.1, and I’m running into a problem with undefined symbols.  This is way outside my area of expertise, so I’m hoping that someone can give me a clue.

The relevant parts of the info file are:

SetCPPFLAGS: -I%p/lib/system-openssl/include 
SetLDFLAGS: -L%p/lib/system-openssl/lib -lenchant -lresolv
ConfigureParams: --enable-ipv6 --disable-jpilot --enable-ssl --enable-ldap --disable-gpgme --enable-gtkspell --disable-compface --disable-oniguruma --disable-shared --with-libs=%p/lib/system-openssl
CompileScript: <<
 %{default_script}
 fink-package-precedence .
<<


The build attempt fails with:

libtool: link: gcc -g -O2 -no-cpp-precomp -fno-common -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtkspell-2.0 -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include -I/sw/include/freetype2 -I/opt/X11/include -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -o sylpheed main.o mainwindow.o folderview.o summaryview.o messageview.o headerview.o textview.o imageview.o mimeview.o quick_search.o query_search.o message_search.o colorlabel.o action.o compose.o gtkshruler.o menu.o stock_pixmap.o prefs_ui.o prefs_common_dialog.o prefs_filter.o prefs_filter_edit.o prefs_account_dialog.o prefs_folder_item.o prefs_display_items.o prefs_display_header.o prefs_customheader.o prefs_summary_column.o prefs_template.o prefs_actions.o
 prefs_search_folder.o prefs_toolbar.o account_dialog.o template.o addressbook.o addr_compl.o addritem.o addrcache.o addrbook.o addrindex.o mgutils.o vcard.o ldif.o importldif.o importcsv.o jpilot.o syldap.o editbook.o editgroup.o editaddress.o editvcard.o editjpilot.o editldap.o editldap_basedn.o addressadd.o filesel.o foldersel.o statusbar.o logwindow.o sourcewindow.o manage_window.o undo.o alertpanel.o inputdialog.o progressdialog.o subscribedialog.o about.o setup.o gtkutils.o send_message.o inc.o rpop3.o import.o export.o rfc2015.o passphrase.o select-keys.o sigstatus.o simple-gettext.o manual.o eggtrayicon.o trayicon.o printing.o sslmanager.o plugin_manager.o update_check.o quote_fmt_lex.o quote_fmt_parse.o sylpheed-marshal.o notificationwindow.o  -L/sw/lib/system-openssl/lib -L/sw/lib /sw/lib/liblber.dylib /sw/lib/libldap.dylib /sw/lib/libiconv.dylib ./.libs/libsylpheed-plugin-0.a
 /sw/src/fink.build/sylpheed-3.4.1-1/sylpheed-3.4.1/libsylph/.libs/libsylph-0.a ../libsylph/.libs/libsylph-0.a -lresolv -lssl -lcrypto -lz /sw/lib/libgtkspell.dylib /sw/lib/libgtk-x11-2.0.dylib /sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib /sw/lib/libgio-2.0.dylib /sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib /sw/lib/libgdk_pixbuf-2.0.dylib /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib /sw/lib/libcairo.dylib /sw/lib/pango-ft219/lib/libpango-1.0.dylib /sw/lib/freetype219/lib/libfreetype.dylib /sw/lib/fontconfig2/lib/libfontconfig.dylib /sw/lib/libenchant.dylib /sw/lib/libgmodule-2.0.dylib /sw/lib/libdbus-glib-1.dylib /sw/lib/libdbus-1.dylib -lpthread /sw/lib/libgobject-2.0.dylib /sw/lib/libgthread-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib
Undefined symbols for architecture x86_64:
 "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
     objc-class-ref in libsylph-0.a(utils.o)
 "_OBJC_CLASS_$_NSBundle", referenced from:
     objc-class-ref in libsylph-0.a(utils.o)
 "_objc_msgSend", referenced from:
     _set_startup_dir in libsylph-0.a(utils.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Any assistance would be appreciated.

Thanks,

-- 
Kevin Horton


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.