Здравствуйте!
Пытаюсь пересобрать ядро для поддержки ipnat.
Опыт небольшой и на других системах проходило без проблем, а тут
после make depend:make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
Warning: Object directory not changed from original /usr/src/sys/compile/FORT1
cc -O -pipe -I/usr/include -I. -c ../../dev/aic7xxx/aicasm_symbol.c
../../dev/aic7xxx/aicasm_symbol.c: In function `symbol_delete':
../../dev/aic7xxx/aicasm_symbol.c:72: warning: passing arg 2 from incompatible pointer type
../../dev/aic7xxx/aicasm_symbol.c:72: too few arguments to function
../../dev/aic7xxx/aicasm_symbol.c: In function `symtable_open':
../../dev/aic7xxx/aicasm_symbol.c:114: warning: assignment makes pointer from integer without a cast
../../dev/aic7xxx/aicasm_symbol.c: In function `symtable_close':
../../dev/aic7xxx/aicasm_symbol.c:130: structure has no member named `seq'
../../dev/aic7xxx/aicasm_symbol.c:130: `R_FIRST' undeclared (first use this function)
../../dev/aic7xxx/aicasm_symbol.c:130: (Each undeclared identifier is reported only once
../../dev/aic7xxx/aicasm_symbol.c:130: for each function it appears in.)
../../dev/aic7xxx/aicasm_symbol.c:136: too few arguments to function
../../dev/aic7xxx/aicasm_symbol.c: In function `symtable_get':
../../dev/aic7xxx/aicasm_symbol.c:156: warning: passing arg 2 from incompatible pointer type
../../dev/aic7xxx/aicasm_symbol.c:156: too few arguments to function
../../dev/aic7xxx/aicasm_symbol.c:169: warning: passing arg 2 from incompatible pointer type
../../dev/aic7xxx/aicasm_symbol.c:169: too few arguments to function
../../dev/aic7xxx/aicasm_symbol.c: In function `symtable_dump':
../../dev/aic7xxx/aicasm_symbol.c:327: `R_FIRST' undeclared (first use this function)
../../dev/aic7xxx/aicasm_symbol.c:329: structure has no member named `seq'
../../dev/aic7xxx/aicasm_symbol.c:360: `R_NEXT' undeclared (first use this function)
*** Error code 1Stop.
*** Error code 1Stop.
make -n depend:
make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
./aicasm -nostdinc -I- -I. -I../.. -I/usr/include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq
./aicasm -nostdinc -I- -I. -I../.. -I/usr/include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq
perl5 ../../kern/makedevops.pl -c ../../kern/device_if.m
perl5 ../../kern/makedevops.pl -h ../../kern/device_if.m
perl5 ../../kern/makedevops.pl -c ../../kern/bus_if.m
perl5 ../../kern/makedevops.pl -h ../../kern/bus_if.m
rm -f .newdep
[Skipped]Меня смущает что вторая строчка дублируется, если проблема в этом то подскажите пожалуйста как этого избежать?
Странные ошибки. Попробуйте обновить исходники и пересобрать мир и ядро.
>Здравствуйте!
>Пытаюсь пересобрать ядро для поддержки ipnat.
>Опыт небольшой и на других системах проходило без проблем, а тут
>после make depend:
>
>make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
>Warning: Object directory not changed from original /usr/src/sys/compile/FORT1
>cc -O -pipe -I/usr/include -I. -c ../../dev/aic7xxx/aicasm_symbol.c
>../../dev/aic7xxx/aicasm_symbol.c: In function `symbol_delete':
>../../dev/aic7xxx/aicasm_symbol.c:72: warning: passing arg 2 from incompatible pointer type
>../../dev/aic7xxx/aicasm_symbol.c:72: too few arguments to function
>../../dev/aic7xxx/aicasm_symbol.c: In function `symtable_open':
>../../dev/aic7xxx/aicasm_symbol.c:114: warning: assignment makes pointer from integer without a cast
>../../dev/aic7xxx/aicasm_symbol.c: In function `symtable_close':
>../../dev/aic7xxx/aicasm_symbol.c:130: structure has no member named `seq'
>../../dev/aic7xxx/aicasm_symbol.c:130: `R_FIRST' undeclared (first use this function)
>../../dev/aic7xxx/aicasm_symbol.c:130: (Each undeclared identifier is reported only once
>../../dev/aic7xxx/aicasm_symbol.c:130: for each function it appears in.)
>../../dev/aic7xxx/aicasm_symbol.c:136: too few arguments to function
>../../dev/aic7xxx/aicasm_symbol.c: In function `symtable_get':
>../../dev/aic7xxx/aicasm_symbol.c:156: warning: passing arg 2 from incompatible pointer type
>../../dev/aic7xxx/aicasm_symbol.c:156: too few arguments to function
>../../dev/aic7xxx/aicasm_symbol.c:169: warning: passing arg 2 from incompatible pointer type
>../../dev/aic7xxx/aicasm_symbol.c:169: too few arguments to function
>../../dev/aic7xxx/aicasm_symbol.c: In function `symtable_dump':
>../../dev/aic7xxx/aicasm_symbol.c:327: `R_FIRST' undeclared (first use this function)
>../../dev/aic7xxx/aicasm_symbol.c:329: structure has no member named `seq'
>../../dev/aic7xxx/aicasm_symbol.c:360: `R_NEXT' undeclared (first use this function)
>*** Error code 1
>
>Stop.
>*** Error code 1
>
>Stop.
>
>make -n depend:
>make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
>./aicasm -nostdinc -I- -I. -I../.. -I/usr/include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq
>./aicasm -nostdinc -I- -I. -I../.. -I/usr/include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq
>perl5 ../../kern/makedevops.pl -c ../../kern/device_if.m
>perl5 ../../kern/makedevops.pl -h ../../kern/device_if.m
>perl5 ../../kern/makedevops.pl -c ../../kern/bus_if.m
>perl5 ../../kern/makedevops.pl -h ../../kern/bus_if.m
>rm -f .newdep
>[Skipped]
>
>Меня смущает что вторая строчка дублируется, если проблема в этом то подскажите
>пожалуйста как этого избежать?OS какая ???
версия, окружение, компилятор ???"подземные стуки тут не лечат" ;-))
>>make -n depend:
>>make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
>>./aicasm -nostdinc -I- -I. -I../.. -I/usr/include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq
>>./aicasm -nostdinc -I- -I. -I../.. -I/usr/include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq
>>perl5 ../../kern/makedevops.pl -c ../../kern/device_if.m
>>perl5 ../../kern/makedevops.pl -h ../../kern/device_if.m
>>perl5 ../../kern/makedevops.pl -c ../../kern/bus_if.m
>>perl5 ../../kern/makedevops.pl -h ../../kern/bus_if.m
>>rm -f .newdep
>>[Skipped]
>>
>>Меня смущает что вторая строчка дублируется, если проблема в этом то подскажите
>>пожалуйста как этого избежать?
>
>OS какая ???
>версия, окружение, компилятор ???
>>"подземные стуки тут не лечат" ;-))
3.3-RELEASE FreeBSD 3.3-RELEASE #6
gcc 2.7.2.3
set:
MAILCHECK=60
HISTSIZE=500
UID=0
LOGNAME=root
BASH_VERSINFO=([0]="2" [1]="00" [2]="0" [3]="1" [4]="release" [5]="i386-unknown-freebsd2.2")
OPTIND=1
HISTFILESIZE=500
PPID=94630
SSH_TTY=/dev/ttyp0
MAIL=/var/mail/root
MACHTYPE=i386-unknown-freebsd2.2
DIRSTACK=()
IFS='
'
TERM=vt100
EUID=0
HOSTTYPE=i386
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/root/bin
OLDPWD=/root
HOME=/root
SHELL=/usr/local/bin/bash
LINES=40
PS1='\s-\v\$ '
PS2='> '
PS4='+ '
USER=root
COLUMNS=120
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
PIPESTATUS=([0]="0")
LANG=ru_RU.KOI8-R
SSH_CLIENT='192.168.10.20 818 22'
HISTFILE=/root/.bash_history
OSTYPE=freebsd2.2
MM_CHARSET=KOI8-R
OPTERR=1
PWD=/usr/src/sys/compile/FORT1
_=--version
MOZILLA_HOME=/usr/local/netscape-4.5
SHLVL=1
BASH_VERSION='2.00.0(1)-release'
BASH=/usr/local/bin/bash
>>>make -n depend:
>>>make -f ../../dev/aic7xxx/Makefile MAKESRCPATH=../../dev/aic7xxx
>>>./aicasm -nostdinc -I- -I. -I../.. -I/usr/include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq
>>>./aicasm -nostdinc -I- -I. -I../.. -I/usr/include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq
>>>perl5 ../../kern/makedevops.pl -c ../../kern/device_if.m
>>>perl5 ../../kern/makedevops.pl -h ../../kern/device_if.m
>>>perl5 ../../kern/makedevops.pl -c ../../kern/bus_if.m
>>>perl5 ../../kern/makedevops.pl -h ../../kern/bus_if.m
>>>rm -f .newdep
>>>[Skipped]
>>>
>>>Меня смущает что вторая строчка дублируется, если проблема в этом то подскажите
>>>пожалуйста как этого избежать?
>>
>>OS какая ???
>>версия, окружение, компилятор ???
>>>"подземные стуки тут не лечат" ;-))
>
>
>3.3-RELEASE FreeBSD 3.3-RELEASE #6версии СТО лет в ОБЕД, боюсь не любая версия ipfilter встанет на
старую ветку (компиляй):http://www.free-x.ch/pub/ipf-conf-en.html
кое-что для информации:
http://www.ciac.org/ciac/bulletins/l-075.shtml
>gcc 2.7.2.3
>set:
>MAILCHECK=60
>HISTSIZE=500
>UID=0
>LOGNAME=root
>BASH_VERSINFO=([0]="2" [1]="00" [2]="0" [3]="1" [4]="release" [5]="i386-unknown-freebsd2.2")
>OPTIND=1
>HISTFILESIZE=500
>PPID=94630
>SSH_TTY=/dev/ttyp0
>MAIL=/var/mail/root
>MACHTYPE=i386-unknown-freebsd2.2
>DIRSTACK=()
>IFS='
>'
>TERM=vt100
>EUID=0
>HOSTTYPE=i386
>PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/root/bin
>OLDPWD=/root
>HOME=/root
>SHELL=/usr/local/bin/bash
>LINES=40
>PS1='\s-\v\$ '
>PS2='> '
>PS4='+ '
>USER=root
>COLUMNS=120
>SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs
>PIPESTATUS=([0]="0")
>LANG=ru_RU.KOI8-R
>SSH_CLIENT='192.168.10.20 818 22'
>HISTFILE=/root/.bash_history
>OSTYPE=freebsd2.2
>MM_CHARSET=KOI8-R
>OPTERR=1
>PWD=/usr/src/sys/compile/FORT1
>_=--version
>MOZILLA_HOME=/usr/local/netscape-4.5
>SHLVL=1
>BASH_VERSION='2.00.0(1)-release'
>BASH=/usr/local/bin/bash