Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [09-2002 Date Index] [Date Next] || [Thread Prev] [09-2002 Thread Index] [Thread Next]

[openbeosnetteam] Re: stack

  • From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Mon, 16 Sep 2002 09:09:16 +0200 (added by postmaster@wanadoo.fr)
Ingo wrote us:
> I commented out the inclusion of src/add-ons/kernel/drivers/net/
stack. 
> Not only because it doesn't build, but also because the name `stack' 
> for the net stack executable clashes with the STL header <stack>. 

Woa, my bad: the executable name was supposed to be "net_stack_driver", 
not simply "stack".

> This is a bit ugly, as it makes all files that include <stack> depend 
on the 
> net stack being built first. I see only two solutions for this 
problem: 
> 1) rename the executable (e.g. `net_stack') or add grist, e.g. `<net>
> stack', or even better `<user!net>stack' and `<kernel!net>stack' for 
> the two flavors.

Hum, could you explain me, eternal Jam weebie, what's "grist"?

Will renaming the executable name would be enough to fix this issue?
Like this:

R5KernelAddon net_stack_driver : kernel drivers bin :
        net_stack_driver.c      // net_userstack_driver.c for Userland stack 
version...
;



Bonus question: how to add support for building the kernel stack 
version OR the userland stack version of this driver in this Jamfile? 
Testing an env variable existence?

-Philippe

--
Fortune Cookie Says:

Overdrawn?  But I still have checks left!






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.