[Xorp-users] Help

전해숙 hsjeon88 at etri.re.kr
Thu Aug 7 02:46:09 PDT 2014


I overcome the below problems.

But I have a question.
My software programs is user mode click.
and I want to control this.
It uses std::string.
In xorp, we use different string.
How can I change string of xorp into std::string of my user mode click ?

Could you give me some advices ?

Littletree.


________________________________
보낸 사람 : "전해숙" <hsjeon88 at etri.re.kr>
보낸 날짜 : 2014-08-06 15:58:28 ( +09:00 )
받는 사람 : xorp-users at xorp.org <xorp-users at xorp.org>
참조 :
제목 : Help





First I made /xorp/clickinf/Sconscript.

I changed  /xorp/xrl/interfaces/SConscript , /xorp/arl/targets/SConscript, /xorp/etc/templates/SConscript for my clickinf directory.
But running scons, there is a KeyError : 'enable_clickinf'.

How can I avoid this error ???

Littletree.

________________________________
보낸 사람 : "전해숙" <hsjeon88 at etri.re.kr>
보낸 날짜 : 2014-08-06 11:40:58 ( +09:00 )
받는 사람 : xorp-users at xorp.org <xorp-users at xorp.org>
참조 :
제목 : Help







I am a begginer at XORP.

XORP uses scons.

Now, I want to add my new creating directory, clickinf.

So I change SConscript file which adds new sub directory.

But after scons, when checking obj directory, my directiry is not created.

So, I also deleted the existing directory cli or bgp in obj directory.

And I tried scons again, but cli or bgp directory is also not created.

Now I all deleted directory in obj.

after scons, any directory is not created.

What problems do I have ???



I attached SConscript file  which are using now.

I just changed SConscript file for mine.

I add my new directory clickinf including sources to the XORP sources.



Before scons, I do 'rm -fr /xorp/obj'. but it only fails. Anything of object file is not created.







//////////////////////////////////

// SConscript file

/////////////////////////////////

# Copyright (c) 2009-2011 XORP, Inc and Others
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, Version 2, June
# 1991 as published by the Free Software Foundation. Redistribution
# and/or modification of this program under the terms of any other
# version of the GNU General Public License is not permitted.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For more details,
# see the GNU General Public License, Version 2, a copy of which can be
# found in the XORP LICENSE.gpl file.
#
# XORP Inc, 2953 Bunker Hill Lane, Suite 204, Santa Clara, CA 95054, USA;
# http://xorp.net

# $ID$

Import('env')

subdirs = [
    'cli',
    'libcomm',
    'libxorp',
    'libxipc',
    'libproto',
    'libfeaclient',
    'xrl/targets',
    'xrl/interfaces',
  #  'xrl/tests', # XXX not in use.
    'etc/templates',
    'fea',
    'fib2mrib',
    'mld6igmp',
    'mrt',
    'pim',
    'policy',
    'rib',
    'rtrmgr',
    'static_routes',
    'utils',
    ]

if env['enable_olsr']:
    subdirs.append('contrib/olsr')

if env['enable_wrapper']:
    subdirs.append('contrib/wrapper')

if env['enable_clickinf']:  ####################################################### This is for mine. I added this for my purpose.
    subdirs.append('clickinf')

if env['enable_bgp']:
    subdirs.append('bgp')

if env['enable_ospf']:
    subdirs.append('ospf')

if env['enable_rip']:
    subdirs.append('rip')

if env['enable_vrrp']:
    subdirs.append('vrrp')


SConscript(dirs = subdirs, exports='env')
======================================================



Littletree.








-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20140807/c87b0e60/attachment-0001.html 


More information about the Xorp-users mailing list