Re: cvs won't build with xvidcore-rc1

"sean darcy" <[email protected]> Sun, 25 Jan 2004 20:43:21 -0500
Newsgroups gmane.comp.multimedia.avifile.general
Message-ID <[email protected]>
Thanks. I've also posted the xvid list. Maybe it's their problem
sean
>From: Justin Piszcz <[email protected]>
>
>Your LDCONFIG/library configuration looks fine...
>
>Seeing this, I would venture to guess that xvidcore 1.0rc1 is not
>supported by avifile yet; mainly because variables defined in the rc core
>are not found/recognized by avifile.
>
>On Sun, 25 Jan 2004, sean darcy wrote:
>
> > Thanks for the response.
> >
.........................
> > 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 HAVE_LIBFREETYPE 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
...........................

_________________________________________________________________
Let the new MSN Premium Internet Software make the most of your high-speed 
experience. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1