Em Wednesday 16 April 2008 20:34:54 Aline de Freitas escreveu: > Em Wednesday 16 April 2008 19:26:32 Aline de Freitas escreveu: > > Em Wednesday 16 April 2008 19:04:27 Andreas Hermann Braml escreveu: > > > Hi! > > > > > > Am Mittwoch 16 April 2008 23:05:18 schrieb rafael2k: > > > > eae aline, > > > > tudo sussa? > > > > > > > > I think the first step to do is installing all the > > > > dependencies of cinelerra and starting compiling to see what > > > > fails. > > > > > > Before that, either the ./configure needs some additional > > > parameters or the Makefile has to be patched. With the > > > dependencies installed, the jpeg libraries and headers aren't > > > found etc. --prefix is not enough. I didn't have enough > > > perseverance to dig deeper, but that's what bit me, even before > > > starting to actually compile Cinelerra. > > > > > > But it seems Aragon has gotten past that point already; see the > > > other thread "Cinelerra FreeBSD port" > > > > > > > > > pseudoruprecht > > > > Yeah, this is very annoying, ./configure doesn't look for libraries and > > headers in /usr/local/lib and /usr/local/include by default, and in > > FreeBSD this is mandatory, as all the ports is installed with > > PREFIX=/usr/local. > > > > So i've done this: > > $ LDFLAGS="-L/usr/local/lib/ -L/usr/include/sys" \ > > CFLAGS="-I/usr/local/include -I/usr/include/sys" \ > > ./configure --prefix=/usr/local/ --mandir=/usr/local/man/ --disable-alsa > > > > It compiles for a while untill I get in this: > > Sorry, I miss somthing important in the last message. Which is: > mpeg3ifo.c:1:22: error: byteswap.h: No such file or directory > > byteswap.h seems to be linux only stuff. > I found a patch for byteswap.h in ffmpeg port http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/ffmpeg/files/patch-libavutil__bswap.h
So... diff -Naur hvirtual/libmpeg3/mpeg3ifo.c hvirtual.my/libmpeg3/mpeg3ifo.c --- hvirtual/libmpeg3/mpeg3ifo.c 2008-04-16 20:01:54.000000000 -0300 +++ hvirtual.my/libmpeg3/mpeg3ifo.c 2008-04-16 20:58:16.000000000 -0300 @@ -1,4 +1,12 @@ +#if defined(__FreeBSD__) +#include <sys/endian.h> +#define bswap_16(x) bswap16(x) +#define bswap_32(x) bswap32(x) +#define bswap_64(x) bswap64(x) +#else #include <byteswap.h> +#endif + #include <dirent.h> #include <fcntl.h> #include <stdlib.h> But the trouble is still there, which now i know that is not related with it gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/include/sys -MT mpeg3ifo.lo -MD -MP -MF .deps/mpeg3ifo.Tpo -c mpeg3ifo.c -fPIC -DPIC -o .libs/mpeg3ifo.o In file included from mpeg3ifo.c:17: ifo.h:196: error: expected specifier-qualifier-list before '__off64_t' ifo.h:224: error: expected declaration specifiers or '...' before '__off64_t' mpeg3ifo.c: In function 'ifo_table': mpeg3ifo.c:132: error: 'ifo_t' has no member named 'pos' mpeg3ifo.c:156: error: 'ifo_t' has no member named 'pos' mpeg3ifo.c: In function 'ifo_open': mpeg3ifo.c:178: error: 'ifo_t' has no member named 'pos' mpeg3ifo.c: In function 'get_ifo_playlist': mpeg3ifo.c:352: error: 'DIR' undeclared (first use in this function) mpeg3ifo.c:352: error: (Each undeclared identifier is reported only once mpeg3ifo.c:352: error: for each function it appears in.) mpeg3ifo.c:352: error: 'dirstream' undeclared (first use in this function) mpeg3ifo.c:370: warning: assignment makes pointer from integer without a cast mpeg3ifo.c: In function 'cellplayinfo': mpeg3ifo.c:545: warning: passing argument 3 of 'program_map' from incompatible pointer type gmake[3]: ** [mpeg3ifo.lo] Erro 1 gmake[3]: Saindo do diretório `/usr/local/src/hvirtual.my/libmpeg3' gmake[2]: ** [all-recursive] Erro 1 gmake[2]: Saindo do diretório `/usr/local/src/hvirtual.my/libmpeg3' gmake[1]: ** [all-recursive] Erro 1 gmake[1]: Saindo do diretório `/usr/local/src/hvirtual.my' gmake: ** [all] Erro 2 -- Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org gpg --keyserver keys.indymedia.org --recv-keys DE632016
signature.asc
Description: This is a digitally signed message part.
