got errors when recompiling kernel

Hans Petter Selasky hselasky at c2i.net
Mon Feb 18 08:22:51 PST 2008


On Sunday 17 February 2008, lizhong zhu wrote:
> hello, developers:
> after trying to set pcm_master  without success, i recompiled the kernel
> with i4b, but i got errors from i4b_hfc4s8s.h. the errors are : 3dnow
> -mno-sse -mno-sse2 -ffreestanding -Werror 
> ../../../i4b/layer1/ihfc2/i4b_ihfc2_pnp.c In file included from
> ../../../i4b/layer1/ihfc2/i4b_ihfc2_pnp.c:233:
> ../../../i4b/layer1/ihfc2/i4b_hfc4s8s.h:1262: error: syntax error before
> '<<' token ../../../i4b/layer1/ihfc2/i4b_ihfc2_pnp.c:72: warning:
> 'ihfc_pnp_probe' used but never defined
> ../../../i4b/layer1/ihfc2/i4b_ihfc2_pnp.c:73: warning: 'ihfc_pnp_attach'
> used but never defined ../../../i4b/layer1/ihfc2/i4b_ihfc2_pnp.c:74:
> warning: 'ihfc_pnp_detach' used but never defined In file included from
> ../../../i4b/layer1/ihfc2/i4b_ihfc2_pnp.c:233:
> ../../../i4b/layer1/ihfc2/i4b_hfc4s8s.h:39:1: unterminated #ifndef ***
> Error code 1
>
> Stop in /usr/src/sys/i386/compile/GENERIC.
> i use svn code.  please help me to check that.
> thanks!
> James.zhu

Hi,

I think that you have some old code there which Subversion tries to merge.

Try "svn revert <path to file>/i4b_hfc4s8s.h" or you can try reverting the 
whole tree.

--HPS


More information about the freebsd-isdn mailing list