?ukasz ??cki wrote:
> I have OpenSolaris build 41. 
>
> I cant compile ndis driver.
>
> bash-3.00# gmake ndiscvt
> /usr/sfw/bin/gcc  -c ../err.c -o err.o
> ../err.c:42:19: cdefs.h: No such file or directory
> ../err.c:44:17: err.h: No such file or directory
> ../err.c:107: error: conflicting types for 'verrc'
> ../err.c:83: error: previous implicit declaration of 'verrc' was here
> ../err.c:132: error: conflicting types for 'verrx'
> ../err.c:126: error: previous implicit declaration of 'verrx' was here
> ../err.c:177: error: conflicting types for 'vwarnc'
> ../err.c:154: error: previous implicit declaration of 'vwarnc' was here
> ../err.c:202: error: conflicting types for 'vwarnx'
> ../err.c:196: error: previous implicit declaration of 'vwarnx' was here
> gmake: *** [err.o] Error 1
>
> What I do wrong?
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss at opensolaris.org
>   

I've not looked at the code yet, but it sounds very much like you are
trying to use headers from *BSD.  Its possible that Linux also has these
headers.

Certainly cdefs.h looks very NetBSD-ish to me.  And it doesn't exist for
sure on Solaris. :-)

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191


Reply via email to