Slack12+HTB - Erro ( LOCK_PREFIX )

1. Slack12+HTB - Erro ( LOCK_PREFIX )

Perfil removido
removido

(usa Nenhuma)

Enviado em 20/05/2009 - 17:37h

Boa noite, sou novo em Slackware, estou tentando fazer um servidor de controle de banda com o HTb, quando tento compilar ele da o seguinte erro
http://www.vivaolinux.com.br/artigo/Squid-2.6-+-HTBtools-com-cache-full?pagina=1

root@rafael2:/rec/pkg/htb/HTB-tools-0.3.0a# make
flex -i sys/parse_cfg.l
ar rcs lib/libnetlink.a lib/ll_map.o lib/libnetlink.o
gcc -O2 -Wall -g -I./include sys/lists.o lex.yy.o sys/q_parser.c -o q_parser
gcc sys/q_show.c -O2 -Wall -g -I./include -L./lib -lnetlink -ldl sys/lists.o lex.yy.o -o q_show
sys/q_show.c:38:1: warning: "__always_inline" redefined
In file included from /usr/include/features.h:330,
from /usr/include/stdio.h:28,
from sys/q_show.c:20:
/usr/include/sys/cdefs.h:287:1: warning: this is the location of the previous definition
In file included from /usr/include/asm/bitops.h:4,
from sys/q_show.c:40:
/usr/include/asm/bitops_64.h:9:2: error: #error only <linux/bitops.h> can be included directly
In file included from /usr/include/asm/bitops.h:4,
from sys/q_show.c:40:
/usr/include/asm/bitops_64.h: In function 'set_bit':
/usr/include/asm/bitops_64.h:34: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'clear_bit':
/usr/include/asm/bitops_64.h:69: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'change_bit':
/usr/include/asm/bitops_64.h:146: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'test_and_set_bit':
/usr/include/asm/bitops_64.h:164: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'test_and_clear_bit':
/usr/include/asm/bitops_64.h:215: error: expected string literal before 'LOCK_PREFIX'
/usr/include/asm/bitops_64.h: In function 'test_and_change_bit':
/usr/include/asm/bitops_64.h:266: error: expected string literal before 'LOCK_PREFIX'
make: *** [all] Error 1

alguém sabe me dizer q erro é este?

muito grato!
att.


  


2. Resolvido

rafael
raifnunes

(usa Debian)

Enviado em 28/07/2009 - 13:18h

Olá amigom tambem estava com erro parecido , quase até desisto de procurar mais encontrei. no meu caso funcionou assim:

$cd HTB-tools.0.3.0
$mkdir include/asm
$cp /usr/src/linux/include/linux/bitops.h ./include/asm/
$make







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts