List Info

Thread: vlc on solaris 10




vlc on solaris 10
country flaguser name
France
2007-12-24 05:16:49
hello all,
i'm trying to compile vlc latest release (0.8.6d) on S10U4.
I'm stucked at compiling libfaad:
  gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-I/home/henry/vlc-0.8.6d/extras/contrib/include -I/include
-O3 -MT 
bits.lo -MD -MP -MF .deps/bits.Tpo -c bits.c  -fPIC -DPIC -o
.libs/bits.o
In file included from 
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/math.h:27
,
                  from common.h:344,
                  from bits.c:28:
/usr/include/iso/math_c99.h:200: error: conflicting types
for 'lrintf'
common.h:311: error: previous definition of 'lrintf' was
here
make[3]: *** [bits.lo] Error 1
make[3]: Leaving directory 
`/home/henry/vlc-0.8.6d/extras/contrib/src/faad/libfaad'

ultra20-henry% vi +311 ./libfaad/common.h
   #elif (defined(__i386__) && defined(__GNUC__))
     #define HAS_LRINTF
     // from http://www.stereop
sis.com/FPU.html
     static INLINE int lrintf(float f)
     {
         int i;
         __asm__ __volatile__ (
             "flds %1        nt"
             "fistpl %0      nt"
             : "=m" (i)
             : "m" (f));
         return i;
     }
   #endif

but Sun has:
ultra20-henry% vi +200 /usr/include/iso/math_c99.h
extern long int lrintf __P((float));

How can i deal with this?

Thanks in advance,

PS: the goal of this is to have tools to build dvd, as with
dvdauthor


-- 
Gerard HENRY
_______________________________________________
desktop-discuss mailing list
desktop-discussopensolaris.org

Re: vlc on solaris 10
country flaguser name
United States
2007-12-26 10:48:10
VLC is available as a SFE package. There is a old long
thread in "discuss" where I complain and rant a
lot. Doug Scott informs that he has packaged VLC. Look for
that thread, by me as a author. Read about SFE package. 

The problem is I couldnt figure out in which order to build
the VLC package. If you figure it out, please post
instructions here? Best of luck.
 
 
This message posted from opensolaris.org
_______________________________________________
desktop-discuss mailing list
desktop-discussopensolaris.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )