[MPlayer-users] Cross-Compile Prob for MIPS with mplayer

Bertram Geck bertramgeck at yahoo.com
Tue Apr 24 17:28:26 CEST 2007


Hi,
taking a compile command from the make and eliminating manually the reference to the includes -I/usr/include gives me two different error-messages:

In file included from /root/buildroot/build_mips/staging_dir/lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/pthread.h:681,
                 from /root/buildroot/build_mips/staging_dir/lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/bits/uClibc_mutex.h:19,
                 from /root/buildroot/build_mips/staging_dir/lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/bits/uClibc_stdio.h:119,
                 from /root/buildroot/build_mips/staging_dir/lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/stdio.h:72,
                 from mplayer.c:5:
/root/buildroot/build_mips/staging_dir/lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/bits/sigthread.h:32: error: expected ';', ',' or ')' before '*' token
In file included from /root/buildroot/build_mips/staging_dir/lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/sys/types.h:215,
                 from /root/buildroot/build_mips/staging_dir/lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/stdlib.h:317,
                 from mplayer.c:6:
/root/buildroot/build_mips/staging_dir/lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/sys/select.h:38: error: conflicting types for 'sigset_t'
/root/buildroot/build_mips/staging_dir/include/asm/signal.h:21: error: previous declaration of 'sigset_t' was here

Any ideas ?
 
Thanks in advance

Bertram

 


----- Ursprüngliche Mail ----
Von: Alexander Roalter <alex at roalter.it>
An: "MPlayer usage questions, feature requests, bug reports" <mplayer-users at mplayerhq.hu>
Gesendet: Dienstag, den 24. April 2007, 17:14:35 Uhr
Betreff: Re: [MPlayer-users] Cross-Compile Prob for MIPS with mplayer

Bertram Geck wrote:
> Hi Reimer,
> you are right, I deleted the --with-extralibdir in the third.
> Still the problem:
> In file included from /usr/include/sys/wait.h:31,
>                  from mplayer.c:20:
> /root/buildroot/build_mips/staging_dir/include/asm-mips/signal.h:21: error: conflicting types for 'sigset_t'
> /usr/include/sys/select.h:38: error: previous declaration of 'sigset_t' was here
> In file included from /usr/include/sys/stat.h:105,
>                  from mplayer.c:31:
> /usr/include/bits/stat.h:70: error: field 'st_atim' has incomplete type
> /usr/include/bits/stat.h:71: error: field 'st_mtim' has incomplete type
> /usr/include/bits/stat.h:72: error: field 'st_ctim' has incomplete type
> Is it possible, that the include-path is wrong and make takes the system includes instead of the buildroot ?
> I do not know, how to exclude the system-include-path.
> 

As it is a cross-compile, I don't think the reference to the includes in 
/usr/include do any good, though I don't know how to disable their usage.



-- 
cheers,
Alex
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users







      __________________________________  Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever


More information about the MPlayer-users mailing list