Re: [streaming] [videolan-announce] [ANN] Multicat 1.0
Stephen Jolly <[email protected]> Tue, 16 Mar 2010 14:24:23 +0000
| Newsgroups | gmane.comp.video.videolan.vls.general |
|---|---|
| Message-ID | <[email protected]> |
George, At 01:01:53 on Sat Mar 6, George Bray <[email protected]> wrote: > Trying to build it on OSX 10.6.2 yields: > = > geo at geodesk > :~/LOCAL/ANUTV-Relay/multicat-1.0> make > cc -Wall -O3 -fomit-frame-pointer -D_FILE_OFFSET_BITS=3D64 > -D_ISOC99_SOURCE -D_BSD_SOURCE -g -c -o multicat.o multicat.c > cc -Wall -O3 -fomit-frame-pointer -D_FILE_OFFSET_BITS=3D64 > -D_ISOC99_SOURCE -D_BSD_SOURCE -g -c -o util.o util.c > util.c: In function =91wall_Date=92: > util.c:133: warning: implicit declaration of function =91clock_gettime=92 > util.c:133: error: =91CLOCK_MONOTONIC=92 undeclared (first use in this fu= nction) > util.c:133: error: (Each undeclared identifier is reported only once > util.c:133: error: for each function it appears in.) > util.c:135: error: =91CLOCK_REALTIME=92 undeclared (first use in this fun= ction) > util.c: In function =91wall_Sleep=92: > util.c:161: warning: implicit declaration of function =91clock_nanosleep= =92 > util.c:161: error: =91CLOCK_MONOTONIC=92 undeclared (first use in this fu= nction) > util.c:166: error: =91CLOCK_REALTIME=92 undeclared (first use in this fun= ction) > make: *** [util.o] Error 1 You need to make a couple of modifications to get it to build on OS X. I s= ucceeded with the following: * Edit util.h and change "#define HAVE_CLOCK_NANOSLEEP" to "#undef HAVE_CLO= CK_NANOSLEEP" * Edit Makefile and comment out the line "LDLIBS +=3D -lrt" (by prepending = it with a #) HTH, S _______________________________________________ streaming mailing list To unsubscribe or modify your subscription options: http://mailman.videolan.org/listinfo/streaming