Thanks, it works. The system has two versions of gcc, gcc v2.95.3 and
v3.4.2. Once I used gcc v3.4.2, compiling is fine.

Ryan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darren Reed
Sent: Tuesday, January 10, 2006 7:45 AM
To: Ruiyuan Jiang
Cc: [email protected]
Subject: Re: Compiling error on Solaris 9 SPARC

> Hi, all
> 
..
> gcc   -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -m64
> -mcmodel=medlow -DDO=pfil64 -c ../pfil.c -o pfil.o
> cc1: -m64 is not supported by this configuration
> cc1: -mptr32 not allowed on -m64
> cc1: -mcmodel= is not supported on 32 bit systems

You need a newer version of gcc as your kernel is 64bit and you need to
be able to compile 64bit drivers for it.

Darren



This message (including any attachments) is intended
solely for the specific individual(s) or entity(ies) named
above, and may contain legally privileged and
confidential information.  If you are not the intended
recipient, please notify the sender immediately by 
replying to this message and then delete it.
Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, by other than the
intended recipient, is strictly prohibited.

Reply via email to