[MPlayer-users] SVN compiling problem - resolved!
Alexander Bokovikov
openworld at uralweb.ru
Wed Sep 5 16:43:49 CEST 2007
John Brown wrote:
> bash -x ./version.sh `gcc -dumpversion`
> and you should get a better idea about what it is trying to do. On my
> system, I get the following output:
>
> $ bash -x ./version.sh
> + test ''
> ++ LC_ALL=C
> ++ svn info
> ++ grep Revision
> ++ cut '-d ' -f2
> + svn_revision=24064
> + test 24064
> + test 24064
> + test 24064
> + NEW_REVISION='#define VERSION "dev-SVN-r24064"'
> ++ cat version.h
> + OLD_REVISION='#define VERSION "dev-SVN-r24064-4.2.1-sjlj"
> #define MP_TITLE "MPlayer dev-SVN-r24064-4.2.1-sjlj (C) 2000-2007 MPlayer
> Team"'
>
> + TITLE='#define MP_TITLE "MPlayer dev-SVN-r24064 (C) 2000-2007 MPlayer
> Team"'
> + test '#define VERSION "dev-SVN-r24064"' '!=' '#define VERSION
> "dev-SVN-r24064-
> 4.2.1-sjlj"
> #define MP_TITLE "MPlayer dev-SVN-r24064-4.2.1-sjlj (C) 2000-2007 MPlayer
> Team"'
>
> + echo '#define VERSION "dev-SVN-r24064"'
> + echo '#define MP_TITLE "MPlayer dev-SVN-r24064 (C) 2000-2007 MPlayer
> Team"'
I've got this:
$ bash -x ./version.sh `gcc -dumpversion`
+ test 3.2.3
+ extra=-3.2.3
++ LC_ALL=C
++ svn info
++ grep Revision
++ cut '-d ' -f2
+ svn_revision=
+ test
++ cd 3.2.3
./version.sh: line 6: cd: 3.2.3: No such file or directory
+ svn_revision=
+ test
++ cd 3.2.3
./version.sh: line 7: cd: 3.2.3: No such file or directory
+ svn_revision=
+ test
+ svn_revision=UNKNOWN
+ NEW_REVISION='#define VERSION "dev-SVN-rUNKNOWN-3.2.3"'
++ cat version.h
+ OLD_REVISION='#define VERSION "dev-SVN-rUNKNOWN-3.2.3"
#define MP_TITLE "MPlayer dev-SVN-rUNKNOWN-3.2.3 (C) 2000-2007 MPlayer
Team"'
+ TITLE='#define MP_TITLE "MPlayer dev-SVN-rUNKNOWN-3.2.3 (C) 2000-2007
MPlayer Team"'
+ test '#define VERSION "dev-SVN-rUNKNOWN-3.2.3"' '!=' '#define VERSION
"dev-SVN-rUNKNOWN-3.2.3"
#define MP_TITLE "MPlayer dev-SVN-rUNKNOWN-3.2.3 (C) 2000-2007 MPlayer
Team"'
+ echo '#define VERSION "dev-SVN-rUNKNOWN-3.2.3"'
+ echo '#define MP_TITLE "MPlayer dev-SVN-rUNKNOWN-3.2.3 (C) 2000-2007
MPlayer Team"'
Assuming that "3.2.3" is my gcc version, I can suppose that something is
wrong in gcc version. What version is correct now?
> I removed "typedef unsigned long int ogg_uint64_t;" from lib/dsp.h to
> make it compile with ogg. Did you do the same?
I've done it and now it goes upto the end, but some errors appear:
dump_video.o:dump_video.c:(.text+0xb45): undefined reference to
`gettimeofday'
dump_video.o:dump_video.c:(.text+0xb63): undefined reference to
`gettimeofday'
dump_video.o:dump_video.c:(.text+0xb6d): undefined reference to
`gettimeofday'
What could be the reason?
Thanks.
More information about the MPlayer-users
mailing list