|
Compiling lame with Sun Studio 10: msg#00010audio.mp3.encoders
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> |
|---|---|---|
| Previous by Date: | Re: Sony have violated your IP - please teach them a lesson!: 00010, Stephen Swinsburg |
|---|---|
| Next by Date: | Re: Sony have violated your IP - please teach them a lesson!: 00010, Ronen Mizrahi |
| Previous by Thread: | Sony have violated your IP - please teach them a lesson!i: 00010, Thomas Ochsenbein |
| Next by Thread: | Re: Compiling lame with Sun Studio 10: 00010, Takehiro Tominaga |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |