help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Building under OSX


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Building under OSX
Date: Tue, 25 May 2010 09:33:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.4

On 05/24/2010 10:40 PM, Giuseppe Luigi Punzi Ruiz wrote:
Hi all, It's me again :D

I'm trying to get it VisualGST working under OSX. I downloaded gst3.2
and trying to make, I get:
libtool: link: mv -f ".libs/gst-gtk.expT" ".libs/gst-gtk.exp"
libtool: link: sed -e 's,^,_,' < .libs/gst-gtk.exp >
.libs/gst-gtk-symbols.expsym
libtool: link: gcc -o .libs/gst-gtk-3.2.so -bundle .libs/gst-gtk.o
.libs/placer.o -L/Library/Frameworks/GLib.framework/Resources/dev/lib
-L/Library/Frameworks/Cairo.framework/Resources/dev/lib
-L/Library/Frameworks/Gtk.framework/Resources/dev/lib -lGtk -lGLib
-liconv -lCairo -lz -lm
-Wl,-exported_symbols_list,.libs/gst-gtk-symbols.expsym
Undefined symbols:
"_g_poll", referenced from:
_main_loop_thread in gst-gtk.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [gst-gtk.la] Error 1
make[3]: *** [all] Error 2
make[2]: *** [GTK.star] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I have GTK-Osx installed, and config.log is http://db.tt/9GxCmm

Before make I did:
autoreconf -fvi
/configure --prefix=/opt --with-gmp=/opt/lib CFLAGS='-O2 -g'
make

Some idea?

It's probably that you have a glib that is too old (or otherwise it is a bug in glib). What version of glib are you using ("pkg-config --modversion glib-2.0")?

Also, there should be a gpoll.h somewhere under /Library/Frameworks/GLib.framework, can you attach it?

As a workaround you can use CFLAGS='-O2 -g -Dg_poll=poll'. If it fails, search for g_poll in the packages/gtk/gst-gtk.c file and replace it with poll. I'll include a configure test in 3.2.1.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]