# 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


Reply via email to