logo       

Compiling lame with Sun Studio 10: msg#00010

audio.mp3.encoders

Subject: Compiling lame with Sun Studio 10

Hi,

I had been able to compile lame 3.96.1 using the
Sun Studio 10 compiler
on Solaris 10 x86. Except for a small change I had to
make everything went
fine. The diffs are below:

/export/home/root/gnome/multimedia/lame-3.96.1/libmp3lame
bash-3.00# diff -c gain_analysis.c.orig
gain_analysis.c
*** gain_analysis.c.orig Tue May 31 20:05:09
2005
--- gain_analysis.c Tue May 31 20:06:32 2005
***************
*** 247,252 ****
--- 247,257 ----

/* returns GAIN_ANALYSIS_OK if successful,
GAIN_ANALYSIS_ERROR if not */

+ #ifdef __SUNPRO_C
+ #pragma inline (fsqr)
+ #define __inline
+ #endif
+
static __inline double fsqr(const double d)
{ return d*d;
}

Regards,
Moinak.




__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise