Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recompile on XBMC update #19

Open
digitalbase opened this issue Feb 9, 2012 · 4 comments
Open

Recompile on XBMC update #19

digitalbase opened this issue Feb 9, 2012 · 4 comments

Comments

@digitalbase
Copy link

Had a working install of spotyxbmc2 based on readme.

Just received an xbmc update (xbmc 2:11.0git20120207.1fef727-0ubuntu1ppa1~oneiric), so figured i had to recompile.

Ran following steps :

  • git pull
  • ./bootstrap
  • ./configure
  • make

Came up with this error :

make[2]: *** [libavcodec/twinvq.o] Error 1
make[2]: Leaving directory /root/spotyxbmc2/spotyxbmc2/lib/ffmpeg' make[1]: *** [ffmpeg] Error 2 make[1]: Leaving directory/root/spotyxbmc2/spotyxbmc2/lib'
make: *** [dvdpcodecs] Error 2

Any idea's ?

@akezeke
Copy link
Owner

akezeke commented Feb 10, 2012

Hi,

can you please post a couple of rows further, try to find the row that contains the error.

@digitalbase
Copy link
Author

libavcodec/pnmdec.c:42:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
CC libavcodec/psymodel.o
CC libavcodec/pthread.o
CC libavcodec/ptx.o
CC libavcodec/qcelpdec.o
In file included from libavcodec/qcelpdec.c:34:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/qdm2.o
In file included from libavcodec/qdm2.c:39:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/qdrw.o
CC libavcodec/qpeg.o
CC libavcodec/qtrle.o
CC libavcodec/r210dec.o
CC libavcodec/ra144.o
CC libavcodec/ra144dec.o
In file included from libavcodec/ra144dec.c:27:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/ra288.o
In file included from libavcodec/ra288.c:24:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/rangecoder.o
libavcodec/rangecoder.c: In function ‘ff_init_range_decoder’:
libavcodec/rangecoder.c:54:30: warning: cast discards ‘attribute((const))’ qualifier from pointer target type [-Wcast-qual]
libavcodec/rangecoder.c:56:5: warning: passing argument 1 of ‘bytestream_get_be16’ from incompatible pointer type [enabled by default]
libavcodec/bytestream.h:51:1: note: expected ‘const uint8_t *’ but argument is of type ‘uint8_t *
CC libavcodec/raw.o
CC libavcodec/rawdec.o
libavcodec/rawdec.c: In function ‘raw_decode’:
libavcodec/rawdec.c:156:5: warning: passing argument 2 of ‘avpicture_fill’ discards ‘const’ qualifier from pointer target type [enabled by default]
libavcodec/avcodec.h:3233:5: note: expected ‘uint8_t ’ but argument is of type ‘const uint8_t *’
libavcodec/rawdec.c:160:23: warning: assignment from incompatible pointer type [enabled by default]
CC libavcodec/rdft.o
CC libavcodec/remove_extradata_bsf.o
libavcodec/remove_extradata_bsf.c: In function ‘remove_extradata’:
libavcodec/remove_extradata_bsf.c:45:15: warning: cast discards ‘attribute((const))’ qualifier from pointer target type [-Wcast-qual]
CC libavcodec/resample.o
CC libavcodec/resample2.o
CC libavcodec/rl2.o
CC libavcodec/roqvideo.o
CC libavcodec/roqvideodec.o
CC libavcodec/rpza.o
CC libavcodec/rtjpeg.o
In file included from libavcodec/rtjpeg.c:22:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/rv10.o
In file included from libavcodec/mpegvideo.h:32:0,
from libavcodec/rv10.c:31:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
libavcodec/rv10.c: In function ‘rv10_decode_picture_header’:
libavcodec/rv10.c:238:37: warning: variable ‘unk’ set but not used [-Wunused-but-set-variable]
CC libavcodec/rv30.o
In file included from libavcodec/mpegvideo.h:32:0,
from libavcodec/rv30.c:29:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/rv30dsp.o
CC libavcodec/rv34.o
In file included from libavcodec/mpegvideo.h:32:0,
from libavcodec/rv34.c:29:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/rv40.o
In file included from libavcodec/mpegvideo.h:32:0,
from libavcodec/rv40.c:31:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/rv40dsp.o
CC libavcodec/s3tc.o
CC libavcodec/sgidec.o
CC libavcodec/shorten.o
In file included from libavcodec/shorten.c:32:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
libavcodec/shorten.c: In function ‘decode_wave_header’:
libavcodec/shorten.c:199:9: warning: variable ‘chunk_size’ set but not used [-Wunused-but-set-variable]
CC libavcodec/simple_idct.o
CC libavcodec/sipr.o
In file included from libavcodec/sipr.c:30:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/sipr16k.o
CC libavcodec/smacker.o
In file included from libavcodec/smacker.c:37:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/smc.o
CC libavcodec/snow.o
In file included from libavcodec/mpegvideo.h:32:0,
from libavcodec/snow.c:30:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/sonic.o
In file included from libavcodec/sonic.c:22:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/sp5xdec.o
In file included from libavcodec/mjpegdec.h:33:0,
from libavcodec/sp5xdec.c:29:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
libavcodec/sp5xdec.c: In function ‘sp5x_decode_frame’:
libavcodec/sp5xdec.c:41:20: warning: variable ‘buf_ptr’ set but not used [-Wunused-but-set-variable]
CC libavcodec/srtdec.o
libavcodec/srtdec.c: In function ‘srt_to_ass’:
libavcodec/srtdec.c:113:61: warning: format not a string literal and no format arguments [-Wformat-security]
libavcodec/srtdec.c:113:61: warning: format not a string literal and no format arguments [-Wformat-security]
libavcodec/srtdec.c:149:53: warning: format not a string literal and no format arguments [-Wformat-security]
libavcodec/srtdec.c:149:53: warning: format not a string literal and no format arguments [-Wformat-security]
CC libavcodec/sunrast.o
CC libavcodec/svq1.o
CC libavcodec/svq1dec.o
In file included from libavcodec/mpegvideo.h:32:0,
from libavcodec/svq1dec.c:39:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
libavcodec/svq1dec.c: In function ‘svq1_decode_frame_header’:
libavcodec/svq1dec.c:570:7: warning: variable ‘temporal_reference’ set but not used [-Wunused-but-set-variable]
libavcodec/svq1dec.c: In function ‘svq1_decode_frame’:
libavcodec/svq1dec.c:666:21: warning: cast discards ‘attribute((const))’ qualifier from pointer target type [-Wcast-qual]
CC libavcodec/svq3.o
In file included from libavcodec/mpegvideo.h:32:0,
from libavcodec/svq3.c:45:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
libavcodec/svq3.c: In function ‘svq3_decode_slice_header’:
libavcodec/svq3.c:731:1: warning: cast discards ‘attribute((const))’ qualifier from pointer target type [-Wcast-qual]
libavcodec/svq3.c:734:20: warning: cast discards ‘attribute((const))’ qualifier from pointer target type [-Wcast-qual]
CC libavcodec/synth_filter.o
CC libavcodec/targa.o
libavcodec/targa.c: In function ‘decode_frame’:
libavcodec/targa.c:97:28: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
libavcodec/targa.c:97:16: warning: variable ‘pal’ set but not used [-Wunused-but-set-variable]
CC libavcodec/tiertexseqv.o
In file included from libavcodec/tiertexseqv.c:29:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/tiff.o
libavcodec/tiff.c: In function ‘tiff_uncompress’:
libavcodec/tiff.c:87:21: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
CC libavcodec/tmv.o
CC libavcodec/truemotion1.o
CC libavcodec/truemotion2.o
In file included from libavcodec/truemotion2.c:28:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
libavcodec/truemotion2.c: In function ‘tm2_read_header’:
libavcodec/truemotion2.c:216:36: warning: variable ‘yr’ set but not used [-Wunused-but-set-variable]
libavcodec/truemotion2.c:216:32: warning: variable ‘xr’ set but not used [-Wunused-but-set-variable]
libavcodec/truemotion2.c:216:25: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable]
libavcodec/truemotion2.c:216:19: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
libavcodec/truemotion2.c:216:16: warning: variable ‘h’ set but not used [-Wunused-but-set-variable]
libavcodec/truemotion2.c:216:13: warning: variable ‘w’ set but not used [-Wunused-but-set-variable]
libavcodec/truemotion2.c:205:9: warning: variable ‘length’ set but not used [-Wunused-but-set-variable]
CC libavcodec/truespeech.o
CC libavcodec/tscc.o
libavcodec/tscc.c: In function ‘decode_frame’:
libavcodec/tscc.c:97:24: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
libavcodec/tscc.c:76:20: warning: variable ‘outptr’ set but not used [-Wunused-but-set-variable]
CC libavcodec/tta.o
In file included from libavcodec/tta.c:34:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
CC libavcodec/twinvq.o
In file included from libavcodec/twinvq.c:23:0:
libavcodec/get_bits.h: In function ‘skip_bits’:
libavcodec/get_bits.h:305:1: warning: variable ‘re_cache’ set but not used [-Wunused-but-set-variable]
libavcodec/twinvq.c: At top level:
libavcodec/twinvq.c:31:25: error: libavcodec/twinvq_data.h: Input/output error
libavcodec/twinvq.c:95:14: error: ‘bark_tab_s08_64’ undeclared here (not in a function)
libavcodec/twinvq.c:95:36: error: ‘tab’ undeclared here (not in a function)
libavcodec/twinvq.c:96:14: error: ‘bark_tab_m08_256’ undeclared here (not in a function)
libavcodec/twinvq.c:97:14: error: ‘bark_tab_l08_512’ undeclared here (not in a function)
libavcodec/twinvq.c:104:14: error: ‘bark_tab_s11_64’ undeclared here (not in a function)
libavcodec/twinvq.c:105:14: error: ‘bark_tab_m11_256’ undeclared here (not in a function)
libavcodec/twinvq.c:106:14: error: ‘bark_tab_l11_512’ undeclared here (not in a function)
libavcodec/twinvq.c:122:14: error: ‘bark_tab_s16_128’ undeclared here (not in a function)
libavcodec/twinvq.c:123:14: error: ‘bark_tab_m16_512’ undeclared here (not in a function)
libavcodec/twinvq.c:124:14: error: ‘bark_tab_l16_1024’ undeclared here (not in a function)
libavcodec/twinvq.c:131:14: error: ‘bark_tab_s22_128’ undeclared here (not in a function)
libavcodec/twinvq.c:132:14: error: ‘bark_tab_m22_512’ undeclared here (not in a function)
libavcodec/twinvq.c:133:14: error: ‘bark_tab_l22_1024’ undeclared here (not in a function)
libavcodec/twinvq.c:150:14: error: ‘bark_tab_m22_256’ undeclared here (not in a function)
libavcodec/twinvq.c:151:14: error: ‘bark_tab_l22_512’ undeclared here (not in a function)
libavcodec/twinvq.c:158:14: error: ‘bark_tab_s44_128’ undeclared here (not in a function)
libavcodec/twinvq.c:159:14: error: ‘bark_tab_m44_512’ undeclared here (not in a function)
libavcodec/twinvq.c:160:14: error: ‘bark_tab_l44_2048’ undeclared here (not in a function)
libavcodec/twinvq.c: In function ‘very_broken_op’:
libavcodec/twinvq.c:439:12: error: ‘tabs’ undeclared (first use in this function)
libavcodec/twinvq.c:439:12: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *
* [libavcodec/twinvq.o] Error 1
make[2]: Leaving directory /root/spotyxbmc2/spotyxbmc2/lib/ffmpeg' make[1]: *** [ffmpeg] Error 2 make[1]: Leaving directory/root/spotyxbmc2/spotyxbmc2/lib'
make: *** [dvdpcodecs] Error 2
root@xbmc2:~/spotyxbmc2/spotyxbmc2#

@tompen-
Copy link

tompen- commented Feb 19, 2012

libavcodec/twinvq.c:31:25: error: libavcodec/twinvq_data.h: Input/output error

An input/output error (error 1) means a file access failed. Can it see the twinvq.o file? Is it a real file, and not just 0 bytes?
Do you run out of available disk space?

@digitalbase
Copy link
Author

Tompen, no thats not it

root@xbmc2:~/spotyxbmc2/spotyxbmc2# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 40G 6.6G 31G 18% /
udev 916M 4.1k 916M 1% /dev
tmpfs 370M 812k 369M 1% /run
none 5.3M 0 5.3M 0% /run/lock
none 924M 193k 923M 1% /run/shm
/dev/sda6 268G 13G 242G 5% /home

oot@xbmc2:~/spotyxbmc2/spotyxbmc2# git status

On branch master

nothing to commit (working directory clean)
root@xbmc2:~/spotyxbmc2/spotyxbmc2# ls -all lib/ffmpeg/libavcodec/ | grep twin
-rw-r--r-- 1 root root 37400 2012-01-07 13:15 twinvq.c
-rw-r--r-- 1 root root 916 2012-01-07 17:34 twinvq.d
-rw-r--r-- 1 root root 694479 2012-01-07 13:15 twinvq_data.h
-rw-r--r-- 1 root root 324796 2012-01-07 17:34 twinvq.o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants