[Flac-dev] xmms-flac plugin in OS X - Apple X11

Brian Haberman habesct at mac.com
Fri Jan 24 06:12:08 PST 2003


On Friday, January 24, 2003, at 12:28 AM, Josh Coalson wrote:

> --- Brian Haberman <habesct at mac.com> wrote:
>> I have been using Apple's X11 on OS X and I got the source and
>> compiled
>> flac 1.0.5 beta2.  Everything seemed to build and install OK, but the
>>
>> xmms-flac plugin is not working, and I cannot open xmms.  I get the
>> following error when I launch xmms from xterm:
>>
>> brian it's 8:41pm, what now? xmms &
>> [1] 567
>> brian it's 8:41pm, what now? dyld: xmms Undefined symbols:
>> _FLAC_plugin__charset_get_current
>>
>> [1]    Trace/BPT trap                xmms
>> brian it's 8:41pm, what now?
>>
>> I am not sure exactly where to go from here, or what might be causing
>> this.  Any thoughts?
>
> that function is in the libplugin_common.a, a static library
> that gets linked in with libxmms-flac.so.  maybe in your build,
> plugin_common was build and linked dynamically instead?  it's
> hard to tell without seeing all the output from 'make'.
>
> Josh
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>


Thanks for the help Josh.  I re-ran it and I am pasting in what appears 
to be the relevant section of the make output.  Do you know how I can 
get past this, or just get it work work properly?  Sorry if this is 
basic stuff... I know enough to be very dangerous, but in no way claim 
to be "advanced".  But it is fun to learn.

Thanks,
Brian

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../.. -I./include 
-I../../include -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops 
-finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -g -O2 
-I/sw/include -I/sw/include/xmms -I/sw/include/gtk-1.2 
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -c 
fileinfo.c -Wp,-MD,.deps/fileinfo.TPlo  -fno-common -DPIC -o fileinfo.lo
../../libtool-disable-static --mode=link gcc  -I../.. -I./include 
-I../../include -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops 
-finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -g -O2  
-I/sw/include -I/sw/include/xmms -I/sw/include/gtk-1.2 
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include   -o 
libxmms-flac.la -rpath /sw/lib/xmms/Input -module -avoid-version 
charset.lo configure.lo plugin.lo wrap_id3.lo fileinfo.lo 
../../src/plugin_common/libplugin_common.a 
../../src/share/grabbag/libgrabbag.a 
../../src/share/gain_analysis/libgain_analysis.a 
../../src/share/utf8/libutf8.a ../../src/libFLAC/libFLAC.la 
-L../../src/libFLAC/.libs -L/sw/lib -L/sw/lib -L/usr/X11R6/lib -lgtk 
-lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lm -lxmms
mkdir .libs

*** Warning: This library needs some functionality provided by 
../../src/plugin_common/libplugin_common.a.
*** I have the capability to make that library automatically link in 
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by 
../../src/share/grabbag/libgrabbag.a.
*** I have the capability to make that library automatically link in 
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by 
../../src/share/gain_analysis/libgain_analysis.a.
*** I have the capability to make that library automatically link in 
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by 
../../src/share/utf8/libutf8.a.
*** I have the capability to make that library automatically link in 
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
rm -fr .libs/libxmms-flac.la .libs/libxmms-flac.* .libs/libxmms-flac.*
(cd . && ln -s charset.lo charset.o)
(cd . && ln -s configure.lo configure.o)
(cd . && ln -s plugin.lo plugin.o)
(cd . && ln -s wrap_id3.lo wrap_id3.o)
(cd . && ln -s fileinfo.lo fileinfo.o)
gcc -dynamiclib -flat_namespace -undefined suppress -o 
.libs/libxmms-flac.so  charset.lo configure.lo plugin.lo wrap_id3.lo 
fileinfo.lo  -L../../src/libFLAC/.libs -lFLAC 
-L/Users/brian/Desktop/flac-1.0.5_beta2/src/libFLAC/.libs -L/sw/lib 
-L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 
-lm -lxmms -lc -install_name  /sw/lib/xmms/Input/libxmms-flac.so
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
ld: warning dynamic shared library: /sw/lib/libgmodule.dylib not made a 
weak library in output with MACOSX_DEPLOYMENT_TARGET environment 
variable set to: 10.1
ld: warning dynamic shared library: /sw/lib/libdl.dylib not made a weak 
library in output with MACOSX_DEPLOYMENT_TARGET environment variable 
set to: 10.1
ld: warning dynamic shared library: /sw/lib/libintl.dylib not made a 
weak library in output with MACOSX_DEPLOYMENT_TARGET environment 
variable set to: 10.1
ld: warning dynamic shared library: /usr/X11R6/lib/libXext.dylib not 
made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment 
variable set to: 10.1
ld: warning dynamic shared library: /usr/X11R6/lib/libX11.dylib not 
made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment 
variable set to: 10.1
creating libxmms-flac.la
(cd .libs && rm -f libxmms-flac.la && ln -s ../libxmms-flac.la 
libxmms-flac.la)





More information about the Flac-dev mailing list