[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-laptop-discuss
Subject:    Re: [laptop-discuss] building zyd driver
From:       Ben Taylor <sol11x86 () comcast ! net>
Date:       2007-12-27 5:34:11
Message-ID: 26009518.1198762482045.JavaMail.Twebapp () oss-app1
[Download RAW message or body]

> I've tried to compile ZYD driver but it failed. I'm
> new to Solaris libraries and kernel sources, so
> please bear with me.
> 
> I've got Solaris Express Community Release on amd64,
> Nevada b63 build. I installed gcc 3.4.6, make (gnu
> make) 3.81 and libiconv-1.11 for sol10-x86 from
> http://www.sunfreeware.com/indexintel10.html

considering gmake, gcc and libiconv are all in /usr/sfw/bin
not sure why you had to go to that extent.

> Since I don't have internet on that box, I can't
> easily use mercurial. I've downloaded files from
> http://dlc.sun.com/osol/on/downloads/b63 I unpacked
> on-src-b63.tar.bz2 and
> on-closed-bins-b63.i386.tar.bz2. I unpacked them
> under Desktop/ON - so I've got closed/ and usr/ under
> ON.
> 
> I edited Makefile to have
> GATE= /export/home/peterk/Desktop/ON
> ISA= amd64
> 
> then I got
> 
> # make all
> gcc -D_KERNEL -ffreestanding -fno-builtin -Wall
> -Werror -Wno-unknown-pragmas -m64 -mcmodel=kernel
> -I/export/home/peterk/Desktop/ON/usr/src/uts/common
> -c zyd.c
> zyd.c:1: error: code model `kernel' not supported in
> the 32 bit mode
> zyd.c:1: sorry, unimplemented: 64-bit mode not
> compiled in
> make: *** [zyd.o] Error 1

Yep. Known issue of blastwave's gcc for Solaris x86 not having support
for 64-bit compiled in.  Use the gcc in /usr/sfw/bin
 
 
This message posted from opensolaris.org
_______________________________________________
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