Re: cvs won't build with xvidcore-rc1
"sean darcy" <[email protected]> Sun, 25 Jan 2004 15:56:45 -0500
| Newsgroups | gmane.comp.multimedia.avifile.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the response. >From: Justin Piszcz <[email protected]> ................ >I still use /app/xvidcore-0.9.2, but: > >echo $LD_LIBRARY_PATH (bash), and make sure /usr/lib is before any other >paths which may contain a different xvidcore version, also add /usr/lib to >/etc/ld.so.conf && run /sbin/ldconfig (as root). LD_LIBRARY_PATH is not set. But the xvidcore libraries are only in /usr/lib, and are seen by ldconfig: ldconfig -v | grep xvid libxvidcore.so.4 -> libxvidcore.so.4.0 > >Most likely however, avifile does not yet support xvid 1.0rc1 core. > >It would be extremely helpful to paste the 10-20 lines from the config.log >in which it fails. > Great idea. It's more than 20 lines because I couldn't figure what was important. sean ..................... configure:30334: checking xvid.h usability configure:30346: gcc -c -march=athlon-xp -m3dnow -msse -mmmx -mfpmath=sse -Os -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -Wall -Wno-unused conftest.c >&5 configure:30352: $? = 0 configure:30356: test -z || test ! -s conftest.err configure:30359: $? = 0 configure:30362: test -s conftest.o configure:30365: $? = 0 configure:30375: result: yes configure:30379: checking xvid.h presence configure:30389: gcc -E -Wall -Wno-unused conftest.c configure:30395: $? = 0 configure:30415: result: yes configure:30450: checking for xvid.h configure:30457: result: yes configure:30471: checking for xvid_init in -lxvidcore configure:30516: gcc -o conftest -march=athlon-xp -m3dnow -msse -mmmx -mfpmath=sse -Os -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -Wall -Wno-unused conftest.c -lnsl -ldl -lxvidcore >&5 conftest.c: In function `main': conftest.c:96: error: `XVID_INIT_PARAM' undeclared (first use in this function) conftest.c:96: error: (Each undeclared identifier is reported only once conftest.c:96: error: for each function it appears in.) conftest.c:96: error: syntax error before "xinit" conftest.c:99: error: `xinit' undeclared (first use in this function) conftest.c:100: warning: implicit declaration of function `xvid_init' conftest.c:102: error: `API_VERSION' undeclared (first use in this function) configure:30519: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "avifile-0.7" | #define VERSION "0.7.40" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define ARCH_X86 1 | #define HAVE_MMX 1 .............................. ............................. | #define HAVE_LIBFREETYPE 1 | #define HAVE_LIBXI 1 | #define HAVE_LIBXXF86DGA 1 | #define HAVE_LIBXXF86VM 1 | #define HAVE_LIBXFT 1 | #define HAVE_LIBXV 1 | #define HAVE_LIBXINERAMA 1 | #define HAVE_DPMS 1 | #define HAVE_OK_DPMS_H 1 | #define HAVE_LIBQT 323 | #define HAVE_LIBJPEG 1 | #define ICONV_CONST_CAST | #define HAVE_ICONV 1 | #define HAVE_LIBSDL 1 | #define HAVE_OSS 1 | #define HAVE_LIBA52 1 | #define HAVE_LIBMP3LAME 1 | #define QUIET 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBDIVXDECORE 1 | #define HAVE_LIBDIVXENCORE 1 | /* end confdefs.h. */ | | #include <stdio.h> | #include <stdlib.h> | #include <string.h> | #include <xvid.h> | | int main () | { | XVID_INIT_PARAM xinit; | system("touch conf.xvidtest"); | | xinit.cpu_flags = 0; | xvid_init(NULL, 0, &xinit, NULL); | | if (xinit.api_version == API_VERSION) { | return 0; | } else { | printf("Header file and library are out of sync. Header file supports\n" | "version %d.%d API and shared library supports version %d.%d API.\n", | API_VERSION >> 16, API_VERSION & 0xFFFF, | xinit.api_version >> 16, xinit.api_version & 0xFFFF); | return 1; | } | } configure:30540: result: no configure:30553: WARNING: Could not run XviD test program, checking why... configure:30576: gcc -o conftest -march=athlon-xp -m3dnow -msse -mmmx -mfpmath=sse -Os -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -Wall -Wno-unused conftest.c -lnsl -ldl -lxvidcore >&5 configure:30582: $? = 0 configure:30586: test -z || test ! -s conftest.err configure:30589: $? = 0 configure:30592: test -s conftest configure:30595: $? = 0 configure:30606: result: *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding XviD or finding the wrong *** version of XviD. If it is not finding XviD, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH configure:30633: result: --- Sources to build XviD xvidcore library can be found at http://www.xvid.org configure:30645: checking whether system declares lrintf function in math.h configure:30667: gcc -o conftest -march=athlon-xp -m3dnow -msse -mmmx -mfpmath=sse -Os -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -O2 -Wall -Wno-unused conftest.c -lnsl -ldl >&5 configure:30670: $? = 0 configure:30672: ./conftest configure:30675: $? = 0 configure:30691: result: yes _________________________________________________________________ Check out the coupons and bargains on MSN Offers! http://shopping.msn.com/softcontent/softcontent.aspx?scmId=1418