[x264-devel] Unable to configure/make x264 for irix 6.5

Jason Garrett-Glaser darkshikari at gmail.com
Tue Sep 1 20:45:11 CEST 2009


On Tue, Sep 1, 2009 at 11:26 AM, Tovrea, George W (US
SSA)<george.tovrea at baesystems.com> wrote:
> Config.guess returns mips-sgi-irix6.5.
>
> Since configure did not recognize this os, I added the following case
>
>  irix*)
>    SYS="IRIX"
>    CFLAGS="$CFLAGS -DHAVE_MALLOC_H"
>    LDFLAGS="$LDFLAGS -lm"
>    HAVE_GETOPT_LONG=0
>    ;;
>
> This got me past the "Unknown system sgi-irix6.5" problem. However, when I try to make, I get
>
> /home/users/tovrea/local/sgi6/bin/gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_MIPS -DSYS_IRIX -DHAVE_PTHREAD -s -fomit-frame-pointer -I/home/users/tovrea/local/sgi6/include  -c -o x264.o x264.c
> In file included from common/common.h:65,
>                 from x264.c:31:
> common/osdep.h: In function 'endian_fix':
> common/osdep.h:177: warning: right shift count >= width of type
> In file included from common/common.h:71,
>                 from x264.c:31:
> ./x264.h:32:4: warning: #warning You must include stdint.h or inttypes.h before x264.h
> x264.c: In function 'Help':
> x264.c:152: error: 'X264_VERSION' undeclared (first use in this function)
> x264.c:152: error: (Each undeclared identifier is reported only once
> x264.c:152: error: for each function it appears in.)
> x264.c: At top level:
> x264.c:378: error: array type has incomplete element type
> x264.c:380: error: 'no_argument' undeclared here (not in a function)
> x264.c:383: error: 'required_argument' undeclared here (not in a function)
> x264.c: In function 'Parse':
> x264.c:532: warning: implicit declaration of function 'getopt_long'
> make: *** [x264.o] Error 1

Configure didn't properly generate the version.h file which contains
the define for X264_VERSION.  This is still a configure issue.

Dark Shikari


More information about the x264-devel mailing list