[FUGSPBR] Erro compilando FreeBSD 4.5
Eduardo Augusto Cosa
eduardo.cosa em unimedpa.com.br
Seg Mar 4 10:31:31 BRT 2002
Prezados Amigos,
Estou usando o FreeBSD 4.4 PRERELEASE e fiz a atuazlizacao para o 4.5
via CVSUP.
O procedimento que estou usando e' aquele descrito no site do Brandi,
ate' o make depend tudo roda legal, mas na hora que vou efetivar a
compilacao (make) ele da um erro descrito abaixo:
===> linux
cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I.
-I@ -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c
linux_sysent.c
In file included from linux_sysent.c:14:
linux_proto.h:57: syntax error before `linux_time_t'
linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
linux_proto.h:57: syntax error before `)'
linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
linux_proto.h:57: syntax error before `)'
linux_proto.h:156: syntax error before `linux_handler_t'
linux_proto.h:156: `linux_handler_t' undeclared here (not in a function)
linux_proto.h:156: `linux_handler_t' undeclared here (not in a function)
linux_proto.h:184: syntax error before `linux_dev_t'
linux_proto.h:184: `linux_dev_t' undeclared here (not in a function)
linux_proto.h:184: `linux_dev_t' undeclared here (not in a function)
linux_proto.h:189: syntax error before `linux_osigaction_t'
linux_proto.h:189: `linux_osigaction_t' undeclared here (not in a function)
linux_proto.h:189: syntax error before `)'
linux_proto.h:189: `linux_osigaction_t' undeclared here (not in a function)
linux_proto.h:189: syntax error before `)'
linux_proto.h:190: syntax error before `linux_osigaction_t'
linux_proto.h:190: `linux_osigaction_t' undeclared here (not in a function)
linux_proto.h:190: syntax error before `)'
linux_proto.h:190: `linux_osigaction_t' undeclared here (not in a function)
linux_proto.h:190: syntax error before `)'
linux_proto.h:196: syntax error before `linux_osigset_t'
linux_proto.h:196: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:196: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:200: syntax error before `linux_osigset_t'
linux_proto.h:200: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:200: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:201: syntax error before `linux_osigset_t'
linux_proto.h:201: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:201: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:204: syntax error before `linux_osigset_t'
linux_proto.h:204: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:204: syntax error before `)'
linux_proto.h:204: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:204: syntax error before `)'
linux_proto.h:216: syntax error before `linux_gid_t'
linux_proto.h:216: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:216: syntax error before `)'
linux_proto.h:216: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:216: syntax error before `)'
linux_proto.h:220: syntax error before `linux_gid_t'
linux_proto.h:220: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:220: syntax error before `)'
linux_proto.h:220: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:220: syntax error before `)'
linux_proto.h:344: syntax error before `linux_osigset_t'
linux_proto.h:344: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:344: syntax error before `)'
linux_proto.h:344: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:344: syntax error before `)'
linux_proto.h:345: syntax error before `linux_osigset_t'
linux_proto.h:345: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:345: syntax error before `)'
linux_proto.h:345: `linux_osigset_t' undeclared here (not in a function)
linux_proto.h:345: syntax error before `)'
linux_proto.h:380: syntax error before `linux_uid_t'
linux_proto.h:380: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:380: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:383: syntax error before `linux_gid_t'
linux_proto.h:383: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:383: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:410: syntax error before `linux_pid_t'
linux_proto.h:410: `linux_pid_t' undeclared here (not in a function)
linux_proto.h:410: `linux_pid_t' undeclared here (not in a function)
linux_proto.h:433: syntax error before `linux_uid_t'
linux_proto.h:433: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:433: syntax error before `)'
linux_proto.h:433: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:433: syntax error before `)'
linux_proto.h:434: syntax error before `linux_uid_t'
linux_proto.h:434: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:434: syntax error before `)'
linux_proto.h:434: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:434: syntax error before `)'
linux_proto.h:435: syntax error before `linux_uid_t'
linux_proto.h:435: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:435: syntax error before `)'
linux_proto.h:435: `linux_uid_t' undeclared here (not in a function)
linux_proto.h:435: syntax error before `)'
linux_proto.h:447: syntax error before `linux_gid_t'
linux_proto.h:447: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:447: syntax error before `)'
linux_proto.h:447: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:447: syntax error before `)'
linux_proto.h:448: syntax error before `linux_gid_t'
linux_proto.h:448: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:448: syntax error before `)'
linux_proto.h:448: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:448: syntax error before `)'
linux_proto.h:449: syntax error before `linux_gid_t'
linux_proto.h:449: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:449: syntax error before `)'
linux_proto.h:449: `linux_gid_t' undeclared here (not in a function)
linux_proto.h:449: syntax error before `)'
linux_proto.h:459: syntax error before `linux_sigaction_t'
linux_proto.h:459: `linux_sigaction_t' undeclared here (not in a function)
linux_proto.h:459: syntax error before `)'
linux_proto.h:459: `linux_sigaction_t' undeclared here (not in a function)
linux_proto.h:459: syntax error before `)'
linux_proto.h:460: syntax error before `linux_sigaction_t'
linux_proto.h:460: `linux_sigaction_t' undeclared here (not in a function)
linux_proto.h:460: syntax error before `)'
linux_proto.h:460: `linux_sigaction_t' undeclared here (not in a function)
linux_proto.h:460: syntax error before `)'
linux_proto.h:465: syntax error before `linux_sigset_t'
linux_proto.h:465: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:465: syntax error before `)'
linux_proto.h:465: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:465: syntax error before `)'
linux_proto.h:466: syntax error before `linux_sigset_t'
linux_proto.h:466: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:466: syntax error before `)'
linux_proto.h:466: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:466: syntax error before `)'
linux_proto.h:479: syntax error before `linux_sigset_t'
linux_proto.h:479: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:479: syntax error before `)'
linux_proto.h:479: `linux_sigset_t' undeclared here (not in a function)
linux_proto.h:479: syntax error before `)'
linux_proto.h:510: syntax error before `*'
linux_proto.h:510: syntax error before `linux_stack_t'
linux_proto.h:510: syntax error before `linux_stack_t'
linux_proto.h:511: syntax error before `linux_stack_t'
linux_proto.h:511: `linux_stack_t' undeclared here (not in a function)
linux_proto.h:511: syntax error before `)'
linux_proto.h:511: `linux_stack_t' undeclared here (not in a function)
linux_proto.h:511: syntax error before `)'
linux_sysent.c:21: sizeof applied to an incomplete type
linux_sysent.c:21: warning: built-in function `exit' used without
declaration
linux_sysent.c:21: warning: cast discards qualifiers from pointer target
type
*** Error code 1
Stop in /usr/src/sys/modules/linux.
*** Error code 1
Stop in /usr/src/sys/modules.
*** Error code 1
Agradeco pela ajuda !
Eduardo
----
Para sair da lista envie um e-mail para majordomo em fugspbr.org
com as palavras "unsubscribe fugspbr" no corpo da mensagem.
Mais detalhes sobre a lista de discussão freebsd