[MPlayer-users] [BUG] Compile with ICC 10.1

Dmitry Leonenko dmitry.leonenko at gmail.com
Sun Jan 27 15:55:48 CET 2008


Reimar Döffinger wrote:
> As I said, just remove the "static" before any declaration that it
> complains about during linking.
> Oh well, or just use attached patch.
> And all compilers are stupid, that is almost the definition (you know
> that "artificial intelligence is just one step below natural stupidity",
> it's all too true still)
>   
One more error out there:

icc -I../libavcodec -I../libavformat -I. -I.. -I../libavutil -O2 -xT 
-openmp -fPIC -DPIC -lguide -lpthread -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H    -c -o 
vf_fspp.o vf_fspp.c
vf_fspp.c(545): warning #167: argument of type "char *" is incompatible 
with parameter of type "uint8_t={unsigned char} *"
                   mpi->w, mpi->h, qp_tab, mpi->qstride, 1);
                                   ^

vf_fspp.c(547): warning #167: argument of type "char *" is incompatible 
with parameter of type "uint8_t={unsigned char} *"
                   mpi->w>>mpi->chroma_x_shift, 
mpi->h>>mpi->chroma_y_shift, qp_tab, mpi->qstride, 0);
                                                                             
^

vf_fspp.c(549): warning #167: argument of type "char *" is incompatible 
with parameter of type "uint8_t={unsigned char} *"
                   mpi->w>>mpi->chroma_x_shift, 
mpi->h>>mpi->chroma_y_shift, qp_tab, mpi->qstride, 0);
                                                                             
^

/tmp/iccEjtHhKas_.s: Assembler messages:
/tmp/iccEjtHhKas_.s:3362: Error: junk `(%rip)' after expression
/tmp/iccEjtHhKas_.s:3439: Error: junk `(%rip)' after expression
/tmp/iccEjtHhKas_.s:3534: Error: junk `(%rip)' after expression
/tmp/iccEjtHhKas_.s:3625: Error: junk `(%rip)' after expression
make[1]: *** [vf_fspp.o] Error 1
make[1]: Leaving directory `/tmp/mplayer/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2

----------------------------------------
Any ideas?

Thank you for help!
Dmitry Leonenko




More information about the MPlayer-users mailing list