Re: [FUG-BR] erro no buildworld

2013-06-27 Por tôpico Nilton Jose Rizzo
Em Thu, 27 Jun 2013 01:26:49 -0300, Danilo Egea escreveu
> On 6/27/13 1:21 AM, Nilton Jose Rizzo wrote:
> > 
> >alguem pode me dar uma luz?  já atualizei hoje de novo a árvore
> >src (stable) mas continua a dar esse erro aqui:
> >
> >
> > /usr/bin/clang  -O2 -pipe  -DPTHREAD_KERNEL -
> > I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread  -
> > I/usr/src/lib/libthr/../../include -
I/usr/src/lib/libthr/arch/amd64/include -
> > I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -
> > I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -
> > I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -
> > D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -std=gnu99 
-
> > Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-
> > unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-
> > Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -
Wno-
> > tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-
unused-
> > function -Wno-conversion -c /usr/src/lib/libthr/thread/thr_setschedparam.c 
-o
> > thr_setschedparam.o
> > /usr/bin/clang  -O2 -pipe  -DPTHREAD_KERNEL -
> > I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread  -
> > I/usr/src/lib/libthr/../../include -
I/usr/src/lib/libthr/arch/amd64/include -
> > I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -
> > I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -
> > I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -
> > D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -std=gnu99 
-
> > Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-
> > unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-
> > Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -
Wno-
> > tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-
unused-
> > function -Wno-conversion -c /usr/src/lib/libthr/thread/thr_sig.c -o 
thr_sig.o
> > /usr/src/lib/libthr/thread/thr_sig.c:331:2: error: implicit declaration of
> >function '__fillcontextx2' is invalid in C99
> >[-Werror,-Wimplicit-function-declaration]
> >  __fillcontextx2((char *)uc);
> >  ^
> > /usr/src/lib/libthr/thread/thr_sig.c:331:2: note: did you mean
> > '__fillcontextx'?
> >  __fillcontextx2((char *)uc);
> >  ^~~
> >  __fillcontextx
> > /usr/include/ucontext.h:83:5: note: '__fillcontextx' declared here
> > int __fillcontextx(char *ctx);
> >  ^
> > 1 error generated.
> > *** [thr_sig.o] Error code 1
> >
> > Stop in /usr/src/lib/libthr.
> > *** [lib/libthr__L] Error code 1
> >
> > Stop in /usr/src.
> > *** [libraries] Error code 1
> >
> > Stop in /usr/src.
> > *** [_libraries] Error code 1
> >
> > Stop in /usr/src.
> > *** [buildworld] Error code 1
> >
> > Stop in /usr/src.
> > valfenda#
> >
> >
> > Se alguem puder agradeço
> >
> >
> > Rizzo
> > -
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
> O seu make.conf está com as linhas abaixo?
> 
> # This setting to build world without -Werror:
> NO_WERROR=
> # This setting to build kernel without -Werror:
> WERROR=


   Obrigado, devo ter passado por essas informações desapercebido no 
 UPDATING ... 

   
 Rizzo

> -
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] erro no buildworld

2013-06-27 Por tôpico Adiel de Lima Ribeiro
On Thu, 2013-06-27 at 01:21 -0300, Nilton Jose Rizzo wrote:
> alguem pode me dar uma luz?  já atualizei hoje de novo a árvore 
>   src (stable) mas continua a dar esse erro aqui:
> 
> 
> /usr/bin/clang  -O2 -pipe  -DPTHREAD_KERNEL -
> I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread  -
> I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/amd64/include -
> I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -
> I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -
> I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -
> D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -std=gnu99 -
> Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-
> unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
> Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-
> tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-
> function -Wno-conversion -c /usr/src/lib/libthr/thread/thr_setschedparam.c -o 
> thr_setschedparam.o
> /usr/bin/clang  -O2 -pipe  -DPTHREAD_KERNEL -
> I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread  -
> I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/amd64/include -
> I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -
> I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -
> I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -
> D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -std=gnu99 -
> Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-
> unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
> Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-
> tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-
> function -Wno-conversion -c /usr/src/lib/libthr/thread/thr_sig.c -o thr_sig.o
> /usr/src/lib/libthr/thread/thr_sig.c:331:2: error: implicit declaration of
>   function '__fillcontextx2' is invalid in C99
>   [-Werror,-Wimplicit-function-declaration]
> __fillcontextx2((char *)uc);
> ^
> /usr/src/lib/libthr/thread/thr_sig.c:331:2: note: did you mean 
> '__fillcontextx'?
> __fillcontextx2((char *)uc);
> ^~~
> __fillcontextx
> /usr/include/ucontext.h:83:5: note: '__fillcontextx' declared here
> int __fillcontextx(char *ctx);
> ^
> 1 error generated.
> *** [thr_sig.o] Error code 1
> 
> Stop in /usr/src/lib/libthr.
> *** [lib/libthr__L] Error code 1
> 
> Stop in /usr/src.
> *** [libraries] Error code 1
> 
> Stop in /usr/src.
> *** [_libraries] Error code 1
> 
> Stop in /usr/src.
> *** [buildworld] Error code 1
> 
> Stop in /usr/src.
> valfenda#
> 
> 
> Se alguem puder agradeço
> 
> 
> Rizzo
> -
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Eu particularmente nunca consegui atualizar pra stable, sempre tive
muitos erros na compilação.
Consigo recompilar o kernel e fazer o buildworld rodando um
freebsd-update e depois atualizando os fontes com svn checkout. 
Imagino que assim eu evite problemas com versões de arquivos, que deve
ser o que gera erros. Aproveitando, alguém tem alguma dica pra atualizar
pra stable?
-- 
att,
Adiel de Lima Ribeiro
facebook.com/sembr.dyndns.info


-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] NTP

2013-06-27 Por tôpico Celso Viana
>
>
> pelo que me lembro, service ntpdate restart esta comando do linux.
>
> sptizer# cat /etc/rc.conf | grep ntp
> ntpd_enable="YES"
> sptizer# /etc/rc.d/ntpd restart
> Stopping ntpd.
> Starting ntpd.
>
>
> --
> Alessandro de Souza Rocha
> Administrador de Redes e Sistemas
> FreeBSD-BR User #117
>  Long live FreeBSD
>
>  Powered by 
>
>   (__)
>\\\'',)
>  \/  \ ^
>  .\._/_)
>
>  www.FreeBSD.org
> -
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


The *service* utility first appeared in FreeBSD 7.3.

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

Palmas/TO
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] erro no buildworld

2013-06-27 Por tôpico Nilton Jose Rizzo
Em Thu, 27 Jun 2013 10:10:29 -0300, Adiel de Lima Ribeiro escreveu
> On Thu, 2013-06-27 at 01:21 -0300, Nilton Jose Rizzo wrote:
> > alguem pode me dar uma luz?  já atualizei hoje de novo a árvore 
> >   src (stable) mas continua a dar esse erro aqui:
> > 
> > 
> > /usr/bin/clang  -O2 -pipe  -DPTHREAD_KERNEL -
> > I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread  -
> > I/usr/src/lib/libthr/../../include -
I/usr/src/lib/libthr/arch/amd64/include -
> > I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -
> > I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -
> > I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -
> > D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -std=gnu99 
-
> > Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-
> > unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-
> > Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -
Wno-
> > tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-
unused-
> > function -Wno-conversion -c /usr/src/lib/libthr/thread/thr_setschedparam.c 
-o 
> > thr_setschedparam.o
> > /usr/bin/clang  -O2 -pipe  -DPTHREAD_KERNEL -
> > I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread  -
> > I/usr/src/lib/libthr/../../include -
I/usr/src/lib/libthr/arch/amd64/include -
> > I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -
> > I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -
> > I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -
> > D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -std=gnu99 
-
> > Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-
> > unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-
> > Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -
Wno-
> > tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-
unused-
> > function -Wno-conversion -c /usr/src/lib/libthr/thread/thr_sig.c -o 
thr_sig.o
> > /usr/src/lib/libthr/thread/thr_sig.c:331:2: error: implicit declaration of
> >   function '__fillcontextx2' is invalid in C99
> >   [-Werror,-Wimplicit-function-declaration]
> > __fillcontextx2((char *)uc);
> > ^
> > /usr/src/lib/libthr/thread/thr_sig.c:331:2: note: did you mean 
> > '__fillcontextx'?
> > __fillcontextx2((char *)uc);
> > ^~~
> > __fillcontextx
> > /usr/include/ucontext.h:83:5: note: '__fillcontextx' declared here
> > int __fillcontextx(char *ctx);
> > ^
> > 1 error generated.
> > *** [thr_sig.o] Error code 1
> > 
> > Stop in /usr/src/lib/libthr.
> > *** [lib/libthr__L] Error code 1
> > 
> > Stop in /usr/src.
> > *** [libraries] Error code 1
> > 
> > Stop in /usr/src.
> > *** [_libraries] Error code 1
> > 
> > Stop in /usr/src.
> > *** [buildworld] Error code 1
> > 
> > Stop in /usr/src.
> > valfenda#
> > 
> > 
> > Se alguem puder agradeço
> > 
> > 
> > Rizzo
> > -
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> 
> Eu particularmente nunca consegui atualizar pra stable, sempre tive
> muitos erros na compilação.
> Consigo recompilar o kernel e fazer o buildworld rodando um
> freebsd-update e depois atualizando os fontes com svn checkout. 
> Imagino que assim eu evite problemas com versões de arquivos, que 
> deve ser o que gera erros. Aproveitando, alguém tem alguma dica pra 
atualizar
> pra stable?

 sempre fiz assim deste o cvs até o svn ...  na verdade faço sempre o 
seguinte:

  instalo o sistema sem src só ports
instalo o subversion via ports, removo o ports e faço um checkout dos src e 
ports, recompilo src (buildworld, installworld, buildkernel installkernel
atualizo os ports instalados (svn) e ai começo a instalação de cada coisa
que uso(X, firefox, libreoffice) tudo via ports ... normalmente o único que
dá erro é o libre office que sempre deixo por último ai faço a instalação via
pkg_add.

Até hoje só consegui compilar o libreoffice uma única vez.

Rizzo
> -- 
> att,
> Adiel de Lima Ribeiro
> facebook.com/sembr.dyndns.info
> 
> -
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


[FUG-BR] Sugestão de adaptador wireless USB

2013-06-27 Por tôpico Clayton Eduardo dos Santos
Prezados colegas, boa tarde!

Tenho um notebook da LG com chipset incompatível com o FreeBSD.

Tentei utilizar o ndisgen com um outro adaptador que tenho aqui, um Dlink
DWL G122 rev A2 com chipset Prism, criei o módulo, subi a interface ndis0,
associei à interface wlan0, mas a interface lista os AP's somente algumas
vezes e cai. Também tentei, sem sucesso, a utilização de um adaptador Dlink
DWA-125 com chipset Realtek, que é reconhecido pelo módulo if_run como
run0, mas ao ter o firmware associado ao tentar subir a interface com o
parâmetro up, na interface run0 ou já associada à interface wlan0, reboota
ou desconecta ambas as interfaces.

Gostaria de saber se alguém tem uma sugestão de adaptador wireless USB que
funcione bem com o release 9.1 e que seja encontrado com facilidade por
aqui ou que tenha passado por problemas semelhantes com os referidos
modelos e tenha conseguido uma solução.

Muito obrigado.

Att,

Clayton
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd