Maybe look in tags.c
239 --- flac-1.2.1/src/plugin_common/tags.c-orig 2007-08-01
13:39:21.131268000 -0500
240 +++ flac-1.2.1/src/plugin_common/tags.c 2007-08-01 13:25:03.310108000
-0500
241 @@ -29,12 +29,7 @@
242 #include "FLAC/metadata.h"
243 #include "share/alloc.h"
244
245 -#ifndef FLaC__INLINE
246 -#define FLaC__INLINE
247 -#endif
248 -
249 -
250 -static FLaC__INLINE size_t local__wide_strlen(const FLAC__uint16 *s)
251 +static FLaC_INLINE size_t local__wide_strlen(const FLAC__uint16 *s)
252 {
253 size_t n = 0;
254 while(*s++)
I dont look in depth but:
FLaC__INLINE
FLaC_INLINE
is not the same
Choose one.
#define FLaC__INLINE
or
#define FLaC_INLINE
Regards,
Gilles
> Date: Mon, 28 Apr 2008 13:47:39 +0300
> From: "Andras Barna" <andras.barna at gmail.com>
> To: "Gilles Dauphin" <Gilles.Dauphin at enst.fr>
> Subject: Re: [desktop-discuss] SUNWflac compile problem
> Cc: desktop-discuss at opensolaris.org
> Content-Disposition: inline
>
> thanks for the reply but the same:
>
> /usr/bin/cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -DNDEBUG
> -I../.. -I./include -I../../include -i -xO4 -xspace -xstrconst
> -xpentium -mr -xregs=no%frameptr -D__inline=inline -c tags.c -KPIC
> -DPIC -o .libs/tags.o
> "tags.c", line 32: warning: no explicit type given
> "tags.c", line 32: syntax error before or at: size_t
> "tags.c", line 46: warning: no explicit type given
> "tags.c", line 46: syntax error before or at: size_t
> "tags.c", line 88: warning: no explicit type given
> "tags.c", line 88: syntax error before or at: size_t
> "tags.c", line 143: warning: no explicit type given
> "tags.c", line 143: syntax error before or at: size_t
> "tags.c", line 153: warning: no explicit type given
> "tags.c", line 153: syntax error before or at: size_t
> cc: acomp failed for tags.c
> make[3]: *** [tags.lo] Error 1
>
> FYI: you saw this?
>
http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/flac-01-fort
e.diff
>
> On Mon, Apr 28, 2008 at 12:23 PM, Gilles Dauphin <Gilles.Dauphin at enst.fr>
wrote:
> >
> > # SunPro does not support __inline
> > .if !empty(PKGSRC_COMPILER:Msunpro)
> > CFLAGS+= -D__inline=inline
> > .endif
> >
> > Gilles
> >
> > > X-Original-To: desktop-discuss at opensolaris.org
> > > Delivered-To: desktop-discuss at opensolaris.org
> > > Date: Mon, 28 Apr 2008 01:26:56 +0300
> > > From: "Andras Barna" <andras.barna at gmail.com>
> > > To: desktop-discuss at opensolaris.org
> > > Content-Disposition: inline
> > > Subject: [desktop-discuss] SUNWflac compile problem
> > > List-Id: Discussion list for the OpenSolaris Desktop
> > <desktop-discuss.opensolaris.org>
> > >
> > > Hi
> > > I'm trying to build (latest from svn) SUNWflac on b86, because I need
> > > the flac plugin for XMMS, so I added --enable-xmms to flac.spec, but
> > > imho not this is causing the problem, so the error is:
> > >
> > > cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -DNDEBUG -I../..
> > > -I./include -I../../include -i -xO4 -xspace -xstrconst -xpentium -mr
> > > -xregs=no%frameptr -c tags.c -KPIC -DPIC -o .libs/tags.o
> > > "tags.c", line 32: warning: no explicit type given
> > > "tags.c", line 32: syntax error before or at: size_t
> > > "tags.c", line 46: warning: no explicit type given
> > > "tags.c", line 46: syntax error before or at: size_t
> > > "tags.c", line 88: warning: no explicit type given
> > > "tags.c", line 88: syntax error before or at: size_t
> > > "tags.c", line 143: warning: no explicit type given
> > > "tags.c", line 143: syntax error before or at: size_t
> > > "tags.c", line 153: warning: no explicit type given
> > > "tags.c", line 153: syntax error before or at: size_t
> > > cc: acomp failed for tags.c
> > > make[3]: *** [tags.lo] Error 1
> > > make[3]: Leaving directory
> > > `/data2/jdspkg/BUILD/SUNWflac-1.2.1/i386/flac-1.2.1/src/plugin_common'
> > >
> > > thnx
> > > --
> > > Andy
> > > http://blog.sartek.net
> > > _______________________________________________
> > > desktop-discuss mailing list
> > > desktop-discuss at opensolaris.org
> >
> >
>
>
>
> --
> Andy
> http://blog.sartek.net