Re: Undefined symbols for architecture x86_64 when updating sylpheed

Martin Costabel <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
On 2/05/14 13:23, [email protected] wrote:
>
>
> 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
[]/.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)

Maybe adding -Wl,-framework,Foundation to SetLDFLAGS will resolve these.

--
Martin


------------------------------------------------------------------------------
"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.