[Flac-dev] error building 1.0

Andrey Astafiev andrei at tvcell.ru
Tue Jul 24 23:41:49 PDT 2001


> The build bombs out on the xmms plugin on redhat 7.1 box:
> 
> ../../libtool-disable-static --mode=link gcc  -I../.. -I./include -I
> ../../include -Wall -W -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops
> -finline-functions -Winline -DFLaC__INLINE=__inline__ -O2 -march=i386
> -mcpu=i686
> -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/X11R6/include  -o libxmms-flac.la -rpath
> /usr/lib/xmms/Input -module -avoid-version plugin.lo
> ../../src/libFLAC/libFLAC.la -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
> -rdynamic
> -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxmms 
> libtool-disable-static: link: error: cannot link shared libraries into
> libtool
> libraries
> make[2]: *** [libxmms-flac.la] Error 1
> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/flac-1.0/src/plugin_xmms'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/flac-1.0/src'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.19960 (%build)
> 
> Any suggestions?

this happened to me when i used macros
%configure in %build section of .spec file.
try to use ./configure instead, this works for me.
here is my .spec

~~~~~~
andrei
ICQ: 111752051
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flac.spec
Type: application/octet-stream
Size: 2443 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20010725/9f0f875a/flac.obj


More information about the Flac-dev mailing list