Compilação Mplayer 1.1 [RESOLVIDO]

1. Compilação Mplayer 1.1 [RESOLVIDO]

Bruno Belarmino de Queiroz
bbruno5

(usa Ubuntu)

Enviado em 09/08/2013 - 15:08h

Olá pessoal, estou precisando de ajuda.
Seguinte, estou tentando compilar o mplayer 1.1 para uma distro do linux, o OpenDingux, presente no handheld GCW-zero, kernel 3.9. O processador é um MIPS e estou usando um toolchain da distro.
O que acontece é que para compilar é necessário executar antes, no terminal, os comandos para o ./configure, e estou usando os seguintes:

./configure --disable-langinfo --disable-iconv --disable-vm --disable-mencoder --enable-cross-compile --cc="mipsel-linux-gcc" --host-cc=gcc --as=/opt/gcw0-toolchain/usr/bin/mipsel-linux-as --target=mipsel-linux --enable-fbdev --disable-fastmemcpy --enable-x11 --enable-xmga --enable-xv --enable-xvmc --disable-dvdread --enable-md5sum --disable-termcap --disable-live --prefix=/opt/gcw0-toolchain/usr --libdir=/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/lib --extra-cflags=-I/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include --extra-ldflags=-L/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/lib --disable-libavcodec_mpegaudio_hp --disable-mad --disable-toolame --disable-twolame --disable-libmpeg2 --disable-musepack --disable-liba52 --enable-pthreads --disable-ass --disable-fastmemcpy --disable-dvb --enable-alsa --disable-pnm --disable-tv-v4l2 --disable-tv-v4l1 --enable-radio --enable-radio-capture --enable-directfb --enable-sdl

Já fiz a mesma coisa para compilar para meu próprio computador usando as configurações próprias, Ubuntu 12.04, processador i386, e tudo correu perfeitamente sem problemas. Porém, quando executo as configurações para o OpenDingux, a lib SDL não é detectada e ela está presente no toolchain:

Checking for SDL ... no (using sdl-config)

A lib SDL é a única disponível no toolchain nesse momento, então não posso compilar sem ela.E tem mais, quando mando compilar para o OpenDingux, aparece o seguinte erro:

gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -I. -Iffmpeg -I/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include -D_REENTRANT -c -o command.o command.c
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:31:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:46:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:55:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:108:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:120:7: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:132:3: error: #error your machine is neither 32 bit or 64 bit ... it must be magical

Já tentei de tudo, até mesmo atualizei o toolchain para a última versão e nada. Será que alguém pode me ajudar? Já pedi ajuda para muitas pessoas e ninguém sabe como resolver. Procurei por todos os lados na internet e apenas o que encontrei foram dicas para atualizar o toolchain e no meu caso não funcionou. Por favor, me ajudem. Desde já agradeço.


  


2. MELHOR RESPOSTA

Paulo
paulo1205

(usa Ubuntu)

Enviado em 09/08/2013 - 15:45h

bbruno5 escreveu:

Olá pessoal, estou precisando de ajuda.
Seguinte, estou tentando compilar o mplayer 1.1 para uma distro do linux, o OpenDingux, presente no handheld GCW-zero, kernel 3.9. O processador é um MIPS e estou usando um toolchain da distro.
O que acontece é que para compilar é necessário executar antes, no terminal, os comandos para o ./configure, e estou usando os seguintes:

./configure --disable-langinfo --disable-iconv --disable-vm --disable-mencoder --enable-cross-compile --cc="mipsel-linux-gcc" --host-cc=gcc --as=/opt/gcw0-toolchain/usr/bin/mipsel-linux-as --target=mipsel-linux --enable-fbdev --disable-fastmemcpy --enable-x11 --enable-xmga --enable-xv --enable-xvmc --disable-dvdread --enable-md5sum --disable-termcap --disable-live --prefix=/opt/gcw0-toolchain/usr --libdir=/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/lib --extra-cflags=-I/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include --extra-ldflags=-L/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/lib --disable-libavcodec_mpegaudio_hp --disable-mad --disable-toolame --disable-twolame --disable-libmpeg2 --disable-musepack --disable-liba52 --enable-pthreads --disable-ass --disable-fastmemcpy --disable-dvb --enable-alsa --disable-pnm --disable-tv-v4l2 --disable-tv-v4l1 --enable-radio --enable-radio-capture --enable-directfb --enable-sdl

Já fiz a mesma coisa para compilar para meu próprio computador usando as configurações próprias, Ubuntu 12.04, processador i386, e tudo correu perfeitamente sem problemas. Porém, quando executo as configurações para o OpenDingux, a lib SDL não é detectada e ela está presente no toolchain:

Checking for SDL ... no (using sdl-config)


O script configure costuma gerar no arquivo config.log informação suficiente para você descobrir a razão de ele não ter conseguido executar com sucesso o sdl-config. O que diz lá?

A lib SDL é a única disponível no toolchain nesse momento, então não posso compilar sem ela.E tem mais, quando mando compilar para o OpenDingux, aparece o seguinte erro:

gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -I. -Iffmpeg -I/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include -D_REENTRANT -c -o command.o command.c
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:31:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:46:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:55:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:108:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:120:7: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:132:3: error: #error your machine is neither 32 bit or 64 bit ... it must be magical

Já tentei de tudo, até mesmo atualizei o toolchain para a última versão e nada. Será que alguém pode me ajudar? Já pedi ajuda para muitas pessoas e ninguém sabe como resolver. Procurei por todos os lados na internet e apenas o que encontrei foram dicas para atualizar o toolchain e no meu caso não funcionou. Por favor, me ajudem. Desde já agradeço.


Fazendo uma busca no Google, achei esta página, que espero que ajude: http://www.kneuro.net/cgi-bin/lxr/http/ident?i=_MIPS_SZPTR .

3. Re: Compilação Mplayer 1.1 [RESOLVIDO]

Bruno Belarmino de Queiroz
bbruno5

(usa Ubuntu)

Enviado em 09/08/2013 - 17:08h

Acho que deixei incompleta minha informação, desculpe. Quanto ao SDL é como você disse paulo1205, o arquivo de log pode me ajudar. O outro erro eu não pus todo o código, porque o que eu queria mostrar na verdade era apenas a última linha, em que está escrito:

/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:132:3: error: #error your machine is neither 32 bit or 64 bit ... it must be magical

No configure.log a SDL não foi aceita pelo mesmo problema que deixei abaixo. Isso me leva a pensar que pode ser falta de declaração de algum caminho de libs ou includes. O problema do toolchain é que ele tem uma estrutura diferente da estrutura normal do Ubuntu, e eu fico atrapalhado, sendo que tem várias pastas include e lib em hierarquias diferentes de pastas.

Na verdade, o que pude perceber é que tudo é um erro só. Devido a esse problema abaixo, a SDL também fica com problemas, uma vez que necessita do types.h. Abaixo eu vou deixar o código de erro completo do terminal:

root@bbruno5:/home/bruno/Downloads/MPlayer-1.1# make
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -I. -Iffmpeg -I/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include -D_REENTRANT -c -o command.o command.c
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:31:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:46:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:55:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:108:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:120:7: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:132:3: error: #error your machine is neither 32 bit or 64 bit ... it must be magical
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:31:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:137:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:137:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__dev_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:138:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:139:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:140:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:141:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:141:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ino64_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:142:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:143:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:143:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__nlink_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:144:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:145:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:145:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__off64_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:146:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:147:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:148:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:149:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:150:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:150:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__rlim64_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:151:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:152:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:153:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:154:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:156:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:157:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:158:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:161:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:164:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:167:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:172:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:173:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:173:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__blkcnt64_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:176:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:177:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:177:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fsblkcnt64_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:180:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:181:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:181:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fsfilcnt64_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:183:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:183:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ssize_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:187:1: error: unknown type name '__off64_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:192:1: error: unknown type name '__STD_TYPE'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:192:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__intptr_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:195:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:23:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:202,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:31,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/endian.h:52:5: warning: "__BYTE_ORDER" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/endian.h:54:7: warning: "__BYTE_ORDER" is not defined [-Wundef]
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:23:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:202,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:31,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/endian.h:63:6: warning: "__BYTE_ORDER" is not defined [-Wundef]
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/types.h:202:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:31,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:26:5: warning: "_MIPS_SIM" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:61:5: warning: "_MIPS_SIM" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:84:5: warning: "_MIPS_SIM" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:90:5: warning: "_MIPS_SIM" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:153:6: warning: "_MIPS_SIM" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/pthreadtypes.h:179:5: warning: "__BYTE_ORDER" is not defined [-Wundef]
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209:0,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:41:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fsid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:50:1: error: unknown type name '__ino_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:62:1: error: unknown type name '__dev_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:67:1: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:72:1: error: unknown type name '__mode_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:77:1: error: unknown type name '__nlink_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:82:1: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:88:1: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:100:1: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:105:1: error: unknown type name '__id_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:110:1: error: unknown type name '__ssize_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:116:1: error: unknown type name '__daddr_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:123:1: error: unknown type name '__key_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:133:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/time.h:77:1: error: unknown type name '__time_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/time.h:93:1: error: unknown type name '__clockid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/time.h:105:1: error: unknown type name '__timer_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/select.h:44:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:220,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/time.h:123:5: error: unknown type name '__time_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/select.h:46:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:220,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/time.h:75:5: error: unknown type name '__time_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/time.h:76:5: error: unknown type name '__suseconds_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:220:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/select.h:49:1: error: unknown type name '__suseconds_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdlib.h:209:0,
from command.c:19:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:235:1: error: unknown type name '__blkcnt_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:239:1: error: unknown type name '__fsblkcnt_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sys/types.h:243:1: error: unknown type name '__fsfilcnt_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/inttypes.h:28:0,
from command.c:20:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:57:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:71:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:82:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:94:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:107:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:120:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:136:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:151:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:199:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:209:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:220:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:231:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:263:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:276:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:306:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:316:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdint.h:323:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
In file included from command.c:20:0:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/inttypes.h:51:6: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/inttypes.h:278:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
In file included from command.c:21:0:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:226:1: error: unknown type name '__useconds_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:245:1: error: unknown type name '__socklen_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:301:1: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:301:33: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:419:1: error: unknown type name '__useconds_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:419:29: error: unknown type name '__useconds_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:419:51: error: unknown type name '__useconds_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:427:20: error: unknown type name '__useconds_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:440:41: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:440:58: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:445:30: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:445:47: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:450:42: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:450:59: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:458:54: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:459:8: error: unknown type name '__gid_t'
In file included from command.c:21:0:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:583:1: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:586:1: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:591:1: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:601:1: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:601:27: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:610:21: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:610:36: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:644:1: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:652:1: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:655:1: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:658:1: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:661:1: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:666:35: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:677:20: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:682:22: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:682:38: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:687:21: error: unknown type name '__uid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:694:20: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:699:22: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:699:38: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:704:21: error: unknown type name '__gid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:736:1: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:744:1: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:822:1: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:825:33: error: unknown type name '__pid_t'
In file included from command.c:21:0:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:972:44: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:994:33: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/unistd.h:1058:40: error: unknown type name '__off_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/pthread.h:25:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_mutex.h:15,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:107,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdio.h:72,
from stream/stream.h:26,
from command.c:27:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sched.h:43:28: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sched.h:47:28: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sched.h:50:32: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sched.h:54:32: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/sched.h:66:35: error: unknown type name '__pid_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/pthread.h:26:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_mutex.h:15,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:107,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdio.h:72,
from stream/stream.h:26,
from command.c:27:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/time.h:61:1: error: unknown type name '__clock_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/pthread.h:31:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_mutex.h:15,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:107,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdio.h:72,
from stream/stream.h:26,
from command.c:27:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/setjmp.h:38:5: warning: "_MIPS_SIM" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/setjmp.h:54:5: warning: "_MIPS_SIM" is not defined [-Wundef]
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_mutex.h:15:0,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:107,
from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdio.h:72,
from stream/stream.h:26,
from command.c:27:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/pthread.h:90:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/pthread.h:1003:11: error: unknown type name '__clockid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/pthread.h:1008:11: error: unknown type name '__clockid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/pthread.h:1103:7: error: unknown type name '__clockid_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdio.h:72:0,
from stream/stream.h:26,
from command.c:27:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:167:2: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:178:2: error: unknown type name '__off64_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:190:1: error: unknown type name '__off64_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:198:1: error: unknown type name '__ssize_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:199:1: error: unknown type name '__ssize_t'
In file included from stream/stream.h:26:0,
from command.c:27:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdio.h:688:36: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/stdio.h:693:1: error: unknown type name '__off_t'
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/fcntl.h:34:0,
from stream/stream.h:30,
from command.c:27:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/fcntl.h:89:5: warning: "_MIPS_SZPTR" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/fcntl.h:161:5: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/fcntl.h:162:5: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/fcntl.h:163:5: warning: "_MIPS_SIM" is not defined [-Wundef]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/fcntl.h:172:5: error: unknown type name '__pid_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/fcntl.h:173:38: warning: "_MIPS_SIM" is not defined [-Wundef]
In file included from stream/stream.h:30:0,
from command.c:27:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/fcntl.h:141:41: error: unknown type name '__mode_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/fcntl.h:187:37: error: unknown type name '__off_t'
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/fcntl.h:187:55: error: unknown type name '__off_t'
In file included from command.c:27:0:
stream/stream.h: In function 'stream_seek':
stream/stream.h:322:3: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t' [-Wformat]
stream/stream.h:326:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t' [-Wformat]
In file included from /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/math.h:47:0,
from ffmpeg/libavutil/common.h:33,
from libmpdemux/aviheader.h:25,
from libmpdemux/stheader.h:23,
from command.c:29:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/mathdef.h: At top level:
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/bits/mathdef.h:42:40: warning: "_MIPS_SIM" is not defined [-Wundef]
In file included from libmpdemux/aviheader.h:26:0,
from libmpdemux/stheader.h:23,
from command.c:29:
./mpbswap.h:26:0: warning: "bswap_16" redefined [enabled by default]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/byteswap.h:30:0: note: this is the location of the previous definition
./mpbswap.h:27:0: warning: "bswap_32" redefined [enabled by default]
/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include/byteswap.h:33:0: note: this is the location of the previous definition
command.c: In function 'mp_property_sub':
command.c:1440:22: warning: variable 'reset_spu' set but not used [-Wunused-but-set-variable]
make: ** [command.o] Erro 1


4. Re: Compilação Mplayer 1.1 [RESOLVIDO]

Paulo
paulo1205

(usa Ubuntu)

Enviado em 09/08/2013 - 17:38h

Naquele link que eu indiquei existem indicações de em quais arquivos de include a macro usada para saber o tamanho da palavra do processador são definidas e usadas. Acho que uma parte grande do problema que você mostrou aqui tem a ver com a falta dela.

O problema é que o link indicado aparentemente usa uma versão antiga dos fontes do kernel. Como você está com o 3.9, pode ser que a coisa tenha trocado de lugar. Mas acho que é um bom ponto de partida você procurar pelos arquivos daquele link.

Eu não tenho aqui o fonte desse programa que você está tentando compilar, e muito menos um ambiente de desenvolvimento em MIPS. Contudo, não é incomum que um erro no início do arquivo -- como a própria falta da macro que ele esperava encontrar -- provoque uma avalanche de erros de sintaxe que vão simplesmente sumir depois que o primeiro erro for resolvido.

Mesmo que não seja esse o caso, resolva um problema de cada vez.


5. Re: Compilação Mplayer 1.1 [RESOLVIDO]

Bruno Belarmino de Queiroz
bbruno5

(usa Ubuntu)

Enviado em 09/08/2013 - 17:46h

Acabei de conseguir resolver, obrigado amigo. Foi graças a sua primeira resposta, quanto ao problema da SDL. Fui analisando aqui e descobri algo que havia deixado passar: o compilador estava identificando a versão do gcc como 4.6. Esta é a versão do gcc do Ubuntu. No OpenDingux, a versão de gcc é 4.8.1.
Dessa forma, percebi que o compilador não estava sendo capaz de encontrar o CC e o HOST-CC do toolchain. Nas declarações do ./configure estava assim:

--cc=mipsel-linux-gcc --host-cc=gcc

O que eu fiz foi apenas indicar o caminho completo:

--cc=/opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc
--host-cc=/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/bin/gcc

Obrigado amigo. Caso encerrado. :)






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts