Re: [osol-code] b107 nightly build failed

2009-02-02 Thread Mike Sullivan
Gavin Maltby wrote: > Hi, > > I'm guessing that missing snmp packages explain the failure > to build the fmd snmp module. > > Not sure they'd explain the failure on hypersubr.o There was this bug: 6769256 snv_102 /usr/bin/as is toxic to ON which includes this: /usr/ccs/bin/as -P -DX

Re: [osol-code] b107 nightly build failed

2009-02-02 Thread Gavin Maltby
Hi, A quick guess is that your build system is incomplete or missing some flag day. Is your build system a Nevada install or an OpenSolaris install? Was it able to build the 106 base? If Nevada: do you have package SUNWsmagt installed If OpenSolaris: what does pkg search SUNWsmagt say I'm guess

Re: [osol-code] Compiling SUNWgnome-help-viewer

2009-02-02 Thread timeless
On Wed, Jan 28, 2009 at 8:20 AM, Alexander wrote: > Hello. > I've just compiled and installed SUNWfirefox 3.1 from JDS spec files (trunk > version of 26 January). Now I'm going to compile SUNWgnome-help-viewer. But > during compilation linker says: > > Undefined first refer

Re: [osol-code] how to use cc build sctp programmes.

2009-02-02 Thread James Carlson
wan_jm writes: > thanks, > I use cc -g server.c -lnsl -lsocket -lsctp, the program gives error messages. > when using gcc -g server.c -lnsl -lsocket -lsctp, it works. Without knowing what those error messages might be, it's hard to determine what to tell you. (Is it possible that you just don't

Re: [osol-code] Hi all, How to open a file in _kernel state?

2009-02-02 Thread Xiu-Yan Wang
Darren J Moffat wrote: > Xiu-Yan Wang wrote: >> Hi Darren, >> >> Darren J Moffat wrote: >>> yang wrote: Hi all, when define _KERNEL, I use: FILE * fp; fp=fileopen("path","w"); >>> I assume you mean fopen(). That is a stdio interface which exists only >>> in userland via libc.

Re: [osol-code] Hi all, How to open a file in _kernel state?

2009-02-02 Thread Xiu-Yan Wang
casper@sun.com wrote: > >> There does have the requirement to read files in the kernel. >> >> We're working on a 10Gb Ethernet driver and we want to let the driver >> update the firmware on-the-fly if needed when the driver is loaded. >> Save the firmware image in a separate file and let the d

Re: [osol-code] Hi all, How to open a file in _kernel state?

2009-02-02 Thread Darren J Moffat
Xiu-Yan Wang wrote: > Hi Darren, > > Darren J Moffat wrote: >> yang wrote: >>> Hi all, >>> when define _KERNEL, I use: >>> FILE * fp; >>> fp=fileopen("path","w"); >> I assume you mean fopen(). That is a stdio interface which exists only >> in userland via libc. >> >> When you say you defined _KE

Re: [osol-code] Hi all, How to open a file in _kernel state?

2009-02-02 Thread Casper . Dik
>There does have the requirement to read files in the kernel. > >We're working on a 10Gb Ethernet driver and we want to let the driver >update the firmware on-the-fly if needed when the driver is loaded. >Save the firmware image in a separate file and let the driver read it >with kobj_open_file()