|
From: <mmo...@na...> - 2003-01-23 14:06:37
|
On Wed, 22 Jan 2003, Nicholas Humfrey wrote: > OpenQuicktime 1.0 is very old now, a lot of work has been done since > then and hopefully we will have a 2.0 release available soon. > > If you would like to try what we have done so far please try > downloading the CVS version as described on the download page: > http://www.openquicktime.org/download.php > > > You have said nothing about the system and environment you were trying > to compile it on, hopefully most of the errors you were having will not > be a problem in CVS version. Hi, so I've tried current cvs, few notes: checking for inflate in -lz... yes checking for library containing dlopen... none required checking for library containing gethostbyname... none required checking for library containing connect... none required checking for curl >=3D 7.9.7... 7.10.2 checking for getipnodebyname... yes Streaming using IPv6. checking for shout_init_connection in -lshout... no configure: WARNING: library libshout not found Command used to compile C files ............... cc -c -O2 -arch ev56 -g = -DDEBUG Command used to assemble files ................ as additionnal library linked .................... -lz -L/usr/local/lib -L/s= oftware/@sys/usr/lib -L/usr/local/openssl/lib -L/usr/lib -lm MMX support is disabled. Pentium assembly optimization is disabled. checking for lame_encode_buffer in -lmp3lame... no configure: WARNING: library liblame not found checking for sdl-config program... FAILED configure: WARNING: sdl-config was not found No SDL found =3D> not building the player. checking for afOpenFile in -laudiofile... no configure: WARNING: library libaudiofile not found No libaudiofile found =3D> not building the encoder or extractaudio. checking for ogg_stream_init in -logg... no configure: WARNING: library libogg not found checking for vorbis_info_init in -lvorbis... no configure: WARNING: library libvorbis not found checking for jpeg_CreateCompress in -ljpeg... no configure: WARNING: library libjpeg not found I don't believe I don't have libjpeg installed: checking for TIFFClientOpen in -ltiff... yes checking for png_create_read_struct in -lpng... yes checking for dv_init in -ldv... no configure: WARNING: libdv not found (dv_init) checking for decore in -ldivxdecore... no configure: WARNING: DivX 5 not found (libdivxdecore) checking for encore in -ldivxencore... no configure: WARNING: DivX 5 not found (libdivxencore) checking for xvid_encore in -lxvidcore... no configure: WARNING: XviD not found (libxvidcore) Building applications ....... broadcaster Building audio plugins ...... simple agsm mp3 Building video plugins ...... simple cinepak rle roadpizza smc sorenson t= ga tiff png C warnings .......... C defines ............ -DUSECURL -DUSEIPV6 [...] Few snippets from config.log: configure:21563: checking malloc.h usability configure:21572: cc -c -O2 -arch ev56 -g -DDEBUG -I/software/@sys/usr/in= clude -I/usr/local/include -I/usr/local/openssl /include conftest.c >&5 cc: Info: File not optimized; use -g3 if both optimization and debug want= ed. (suppressoptlvl) configure:21575: $? =3D 0 configure:21578: test -s conftest.o configure:21581: $? =3D 0 configure:21590: result: yes Why is the -g flag included? configure:22660: checking for jpeg_CreateCompress in -ljpeg configure:22687: cc -o conftest -O2 -arch ev56 -g -DDEBUG -I/software/@s= ys/usr/include -I/usr/local/include -I/usr/loca l/openssl/include conftest.c -ljpeg -lz -L/usr/local/lib -L/software/@s= ys/usr/lib -L/usr/local/openssl/lib -L/usr/lib -lm >&5 cc: Info: File not optimized; use -g3 if both optimization and debug want= ed. (suppressoptlvl) ld: Unresolved: jpeg_CreateCompress configure:22690: $? =3D 1 configure: failed program was: #line 22667 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char jpeg_CreateCompress (); int main () { jpeg_CreateCompress (); ; return 0; } configure:22707: result: no configure:22712: WARNING: library libjpeg not found Do you require any special version of jpeg? I believe I've installed: jpegsrc.v6b.tar.gz But here it did not matter? configure:22717: checking for TIFFClientOpen in -ltiff configure:22744: cc -o conftest -O2 -arch ev56 -g -DDEBUG -I/software/@s= ys/usr/include -I/usr/local/include -I/usr/loca l/openssl/include conftest.c -ltiff -lz -L/usr/local/lib -L/software/@s= ys/usr/lib -L/usr/local/openssl/lib -L/usr/lib -lm >&5 cc: Info: File not optimized; use -g3 if both optimization and debug want= ed. (suppressoptlvl) configure:22747: $? =3D 0 configure:22750: test -s conftest configure:22753: $? =3D 0 configure:22764: result: yes configure:22774: checking for png_create_read_struct in -lpng configure:22801: cc -o conftest -O2 -arch ev56 -g -DDEBUG -I/software/@s= ys/usr/include -I/usr/local/include -I/usr/loca l/openssl/include conftest.c -lpng -lz -L/usr/local/lib -L/software/@sy= s/usr/lib -L/usr/local/openssl/lib -L/usr/lib - lm >&5 cc: Info: File not optimized; use -g3 if both optimization and debug want= ed. (suppressoptlvl) configure:22804: $? =3D 0 configure:22807: test -s conftest configure:22810: $? =3D 0 configure:22821: result: yes /bin/bash ../../libtool --mode=3Dlink cc -O2 -arch ev56 -g -DDEBUG -DU= SECURL -DUSEIPV6 -DBUILDDATE=3D"Thu Jan 23 14:46:07 MET 2003" -lpthrea= d -o oqqt_codec_tiff.la -rpath /software/@sys/usr/lib/openquicktime -mod= ule -avoid-version codec_tiff.lo -ltiff -lz -L/usr/local/lib -L/software/= @sys/usr/lib -L/usr/local/openssl/lib -L/usr/lib -lm /usr/bin/ld -shared -expect_unresolved \* .libs/codec_tiff.o -lpthread = -ltiff -lz -L/usr/local/lib -L/software/@sys/usr/lib -L/usr/local/openssl= /lib -L/usr/lib -lm -lc -msym -soname oqt_codec_tiff.so `test -n "" && e= cho -set_version ` -update_registry .libs/so_locations -o .libs/oqt_codec= _tiff.so /usr/bin/ld: Can't locate file for: -ltiff make[2]: *** [oqt_codec_tiff.la] Error 1 make[2]: Leaving directory `/usr/local/scratch/OpenQuicktime/videoplugins= /tiff' $ ls -la /software/@sys/usr/lib/libti* -r--r--r-- 1 cron daemon 553234 Jan 14 15:20 /software/@sys/us= r/lib/libtiff.a $ Ah, the order of LIBS and LDFLAGS is wrong. This would also break on SGI = Irix boxes with native cc/CC/ld, because the linker there complies with POSIX, i.e. is a single-pass linker, as I was told recently. When I've reconfigured with LDFLAGS appended to CC variable, I got up to = here: /bin/bash ../../libtool --mode=3Dcompile cc -O2 -arch ev56 -L/software/@s= ys/usr/lib -I/software/@sys/usr/include -DHAVE_CONFIG_H -I. -I. -I../../i= ncludee/openquicktime -I../../include -I/software/@sys/usr/include -I/us= r/local/include -I/usr/local/openssl/include -O2 -arch ev56 -g -DDEBUG = -DUSECURL -DUSEIPV6 -DBUILDDATE=3D"Thu Jan 23 14:59:31 MET 2003" -c -o= codec_ulaw.lo `test -f 'codec_ulaw.c' || echo './'`codec_ulaw.c cc -O2 -arch ev56 -L/software/@sys/usr/lib -I/software/@sys/usr/include = -DHAVE_CONFIG_H -I. -I. -I../../include/openquicktime -I../../include -I/= software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/inclu= de -O2 -arch ev56 -g -DDEBUG -DUSECURL -DUSEIPV6 "-DBUILDDATE=3DThu Jan 2= 3 14:59:31 MET 2003" -c -MD codec_ulaw.c -DPIC -o .libs/codec_ulaw.o cc: Info: File not optimized; use -g3 if both optimization and debug want= ed. (suppressoptlvl) cc: Error: codec_ulaw.c, line 50: Missing type specifier or type qualifie= r. (missingtype) int16_t *ulawtoint16_table; --------^ cc: Error: codec_ulaw.c, line 51: Missing type specifier or type qualifie= r. (missingtype) int16_t *ulawtoint16_ptr; --------^ cc: Error: codec_ulaw.c, line 69: In this statement, "int16_t" is not dec= lared. (undeclared) p->ulawtoint16_table =3D malloc(sizeof(int16_t) * 256); -----------------------------------------------------^ make[2]: *** [codec_ulaw.lo] Error 1 make[2]: Leaving directory `/usr/local/scratch/OpenQuicktime/audioplugins= /simple' Please Cc: me in replies. --=20 Martin Mokrejs <mmo...@na...>, <m.m...@gs...> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs MIPS / Institute for Bioinformatics <http://mips.gsf.de> GSF - National Research Center for Environment and Health Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany tel.: +49-89-3187 3683 , fax:=A0+49-89-3187 3585 |