[prev in list] [next in list] [prev in thread] [next in thread]
List: opensolaris-laptop-discuss
Subject: Re: [laptop-discuss] Problems compiling ndis
From: Michael Li <Mikore.Li () Sun ! COM>
Date: 2009-06-26 3:22:35
Message-ID: 4A443EFB.7070908 () Sun ! COM
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hello, Gordon,
It seems you have installed all neccesary packages, but did not follow
right build steps. You can follow this blog:
http://learningsolaris.com/archives/2009/03/10/opensolaris-wifi-broadcom-bcm4312-on-dell-vostro-1710
> From the mk.log, seems you have a BCM4322(14e4,432b) adapter, this
adapter only works under 32bit kernel. See support list:
http://www.opensolaris.org/os/community/laptop/wireless/wireless_driver_compatible_list
As for the working 32bit XP driver, the one link in NDIS project page
should be OK, it has been reported work under both nv_105 and os.09.06.
Thanks,
Michael
Gordon Johnson дµÀ:
> I am having a problem compiling ndis. I've compiled and packaged many programs but \
> never had a problem like this one. When I attempt to compile ndis using gcc 3.4.3 \
> or sun studio 12 cc the compiler/linker doesn't pre-pend the current directory to \
> the paths contained in the code or makefiles.
> I managed to brute force my way through compiling ndiscvt by attempting a compile, \
> noting the error, and adding a full path to the line in the file that caused the \
> error (rinse and repeat until ndiscvt compiled). But there are more relative paths \
> in the rest of the ndis code than I have time to brute force.
> My suspicion is that the issue is something really bald, that I should've easily \
> noticed, that somehow escaped my attention. But I just can't seem to see it.
> So hopefully someone can give my my "DUH!" moment. (or maybe a verbal lashing for \
> not recognizing something simple...)
> I attached a log of my most recent attempt to make ndis (mk.log). I have tried \
> using Sun Studio 12 cc as well as gcc, gmake as well as make, etc...
> My system is a Dell Studio 1735, pentium core 2 duo, with snv_111b installed, ati \
> graphics card. I have tried ndis 1.1, ndis 1.2 ndis 1.2.1 and ndis 1.2.3 (source \
> of the mk.log). Each time it is the same issue.
> CC=gcc
> CFLAGS=-m64 -g -v
> LD_LIBRARY_PATH=/usr/lib:/usr/sfw/lib/glib
> AUTOMAKE=/usr/bin/automake-1.10
> ACLOCAL=/usr/bin/aclocal-1.10 -I/usr/sfw/share/aclocal -I/usr/share/aclocal
> PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/amd64/pkgconfig:/usr/sfw/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib:/usr/lib/amd64:/usr/X11/lib
>
> What else?.... Oh, yeah.
>
> Yes, I have the following installed:
>
> PKGINST: SUNWflexlex
> NAME: Flex Lexer
> CATEGORY: system
> ARCH: i386
> VERSION: 11.11.0,REV=2008.10.14.03.13
> VENDOR: Sun Microsystems, Inc.
> DESC: The Flex Lexer - A lex replacement/substitute (2.5.33)
> HOTLINE: Please contact your local service provider
> STATUS: completely installed
>
> PKGINST: SUNWonbld
> NAME: OS-Net Build Tools
> CATEGORY: system
> ARCH: i386
> VERSION: 11.11,REV=2009.04.12.16.43
> VENDOR: Sun Microsystems, Inc.
> DESC: tools used to build the OS-Net consolidation
> HOTLINE: Please contact your local service provider
> STATUS: completely installed
>
> PKGINST: SUNWgcc
> NAME: gcc - The GNU C compiler
> CATEGORY: system
> ARCH: i386
> VERSION: 11.11.0,REV=2008.10.14.03.13
> VENDOR: Sun Microsystems, Inc.
> DESC: GNU C - The GNU C compiler 3.4.3
> HOTLINE: Please contact your local service provider
> STATUS: completely installed
>
> PKGINST: SUNWhea
> NAME: SunOS Header Files
> CATEGORY: system
> ARCH: i386
> VERSION: 11.11,REV=2008.10.30.20.37
> VENDOR: Sun Microsystems, Inc.
> DESC: SunOS C/C++ header files for general development of software
> HOTLINE: Please contact your local service provider
> STATUS: completely installed
>
> PKGINST: SUNWgm4
> NAME: GNU m4
> CATEGORY: system
> ARCH: i386
> VERSION: 11.11.0,REV=2008.10.14.03.13
> VENDOR: Sun Microsystems, Inc.
> DESC: GNU m4 - A macro processor (gm4) 1.4.2
> HOTLINE: Please contact your local service provider
> STATUS: completely installed
>
> Thanks in advance,
>
> Gordo
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss@opensolaris.org
>
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=GB2312" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello, Gordon,<br>
<br>
It seems you have installed all neccesary packages, but did not follow
right build steps. You can follow this blog:<br>
<a class="moz-txt-link-freetext" \
href="http://learningsolaris.com/archives/2009/03/10/opensolaris-wifi-broadcom-bcm4312 \
-on-dell-vostro-1710">http://learningsolaris.com/archives/2009/03/10/opensolaris-wifi-broadcom-bcm4312-on-dell-vostro-1710</a><br>
<br>
> From the mk.log, seems you have a BCM4322(14e4,432b) adapter, this
adapter only works under 32bit kernel. See support list:<br>
<a class="moz-txt-link-freetext" \
href="http://www.opensolaris.org/os/community/laptop/wireless/wireless_driver_compatib \
le_list">http://www.opensolaris.org/os/community/laptop/wireless/wireless_driver_compatible_list</a><br>
<br>
As for the working 32bit XP driver, the one link in NDIS project page
should be OK, it has been reported work under both nv_105 and os.09.06.<br>
<br>
Thanks,<br>
Michael<br>
<br>
Gordon Johnson дµÀ:
<blockquote
cite="mid:1625578055.751245962497010.JavaMail.Twebapp@sf-app1"
type="cite">
<pre wrap="">I am having a problem compiling ndis. I've compiled and packaged many \
programs but never had a problem like this one. When I attempt to compile ndis using \
gcc 3.4.3 or sun studio 12 cc the compiler/linker doesn't pre-pend the current \
directory to the paths contained in the code or makefiles.
I managed to brute force my way through compiling ndiscvt by attempting a compile, \
noting the error, and adding a full path to the line in the file that caused the \
error (rinse and repeat until ndiscvt compiled). But there are more relative paths \
in the rest of the ndis code than I have time to brute force.
My suspicion is that the issue is something really bald, that I should've easily \
noticed, that somehow escaped my attention. But I just can't seem to see it.
So hopefully someone can give my my "DUH!" moment. (or maybe a verbal lashing for not \
recognizing something simple...)
I attached a log of my most recent attempt to make ndis (mk.log). I have tried using \
Sun Studio 12 cc as well as gcc, gmake as well as make, etc...
My system is a Dell Studio 1735, pentium core 2 duo, with snv_111b installed, ati \
graphics card. I have tried ndis 1.1, ndis 1.2 ndis 1.2.1 and ndis 1.2.3 (source of \
the mk.log). Each time it is the same issue.
CC=gcc
CFLAGS=-m64 -g -v
LD_LIBRARY_PATH=/usr/lib:/usr/sfw/lib/glib
AUTOMAKE=/usr/bin/automake-1.10
ACLOCAL=/usr/bin/aclocal-1.10 -I/usr/sfw/share/aclocal -I/usr/share/aclocal
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib/amd64/pkgconfig:/usr/sfw/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib:/usr/lib/amd64:/usr/X11/lib
What else?.... Oh, yeah.
Yes, I have the following installed:
PKGINST: SUNWflexlex
NAME: Flex Lexer
CATEGORY: system
ARCH: i386
VERSION: 11.11.0,REV=2008.10.14.03.13
VENDOR: Sun Microsystems, Inc.
DESC: The Flex Lexer - A lex replacement/substitute (2.5.33)
HOTLINE: Please contact your local service provider
STATUS: completely installed
PKGINST: SUNWonbld
NAME: OS-Net Build Tools
CATEGORY: system
ARCH: i386
VERSION: 11.11,REV=2009.04.12.16.43
VENDOR: Sun Microsystems, Inc.
DESC: tools used to build the OS-Net consolidation
HOTLINE: Please contact your local service provider
STATUS: completely installed
PKGINST: SUNWgcc
NAME: gcc - The GNU C compiler
CATEGORY: system
ARCH: i386
VERSION: 11.11.0,REV=2008.10.14.03.13
VENDOR: Sun Microsystems, Inc.
DESC: GNU C - The GNU C compiler 3.4.3
HOTLINE: Please contact your local service provider
STATUS: completely installed
PKGINST: SUNWhea
NAME: SunOS Header Files
CATEGORY: system
ARCH: i386
VERSION: 11.11,REV=2008.10.30.20.37
VENDOR: Sun Microsystems, Inc.
DESC: SunOS C/C++ header files for general development of software
HOTLINE: Please contact your local service provider
STATUS: completely installed
PKGINST: SUNWgm4
NAME: GNU m4
CATEGORY: system
ARCH: i386
VERSION: 11.11.0,REV=2008.10.14.03.13
VENDOR: Sun Microsystems, Inc.
DESC: GNU m4 - A macro processor (gm4) 1.4.2
HOTLINE: Please contact your local service provider
STATUS: completely installed
Thanks in advance,
Gordo
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
laptop-discuss mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:laptop-discuss@opensolaris.org">laptop-discuss@opensolaris.org</a> \
</pre> </blockquote>
<br>
</body>
</html>
_______________________________________________
laptop-discuss mailing list
laptop-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic