got errors when recompiling kernel

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

got errors when recompiling kernel

lizhong zhu
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

       
---------------------------------
雅虎邮箱传递新年祝福,个性贺卡送亲朋!
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isdn
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: got errors when recompiling kernel

Hans Petter Selasky
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
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isdn
To unsubscribe, send any mail to "[hidden email]"