Re: [nox-dev] error compiling...

2011-12-07 Thread Murphy McCauley
What platform are you trying to compile on, and which branch of NOX?  Have you 
tried the destiny branch?

-- Murphy

On Dec 7, 2011, at 1:39 AM, Prashanth Prahalad wrote:

> 
> Just getting started with nox controller.
> 
> During compilation (make -j 5) I'm seeing this error :
> 
> ../../src/nox_main.cc: In function ‘int::start_gui()’:
> ../../src/nox_main.cc:231: warning: deprecated conversion from string 
> constant to ‘char*’
> ../../src/nox_main.cc: In function ‘int main(int, char**)’:
> ../../src/nox_main.cc:532: error: ‘EventDispatcherComponentinstall’ was not 
> declared in this scope
> ../../src/nox_main.cc:532: error: expected ‘)’ before ‘;’ token
> ../../src/nox_main.cc:532: error: expected primary-expression before ‘)’ token
> ../../src/nox_main.cc:532: error: expected ‘;’ before ‘)’ token
> make[2]: *** [nox_main.o] Error 1
> 
> 
> Any ideas what's causing this ? 
> 
> Thanks !
> 
> 
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


[nox-dev] error compiling...

2011-12-07 Thread Prashanth Prahalad


Just getting started with nox controller.



During compilation (make -j 5) I'm seeing this error :

../../src/nox_main.cc: In function ‘int::start_gui()’:
../../src/nox_main.cc:231: warning: deprecated conversion from string constant 
to ‘char*’
../../src/nox_main.cc: In function ‘int main(int, char**)’:
../../src/nox_main.cc:532: error: ‘EventDispatcherComponentinstall’ was not 
declared in this scope
../../src/nox_main.cc:532: error: expected ‘)’ before ‘;’ token
../../src/nox_main.cc:532: error: expected primary-expression before ‘)’ token
../../src/nox_main.cc:532: error: expected ‘;’ before ‘)’ token
make[2]: *** [nox_main.o] Error 1


Any ideas what's causing this ? 

Thanks !___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] Error compiling nox

2010-08-05 Thread James "Murphy" McCauley
Thanks for looking into this, KK.  I was hesitant to push the change
without seeing why it was needed in this particular case.  Is the system
64 bit?

-- Murphy

On Thu, 2010-08-05 at 20:39 -0700, kk yap wrote:
> Ok,
> 
> I borrowed Nikhil's machine for a quick test.  The problem boils down
> to ssize_t is not int all the time.  I will fix that and push it.
> Thanks.
> 
> Regards
> KK
> 
> On 5 August 2010 20:04, Nikhil Handigol  wrote:
> > Changing json-util.cc line 50 to:
> > jo = new json_object((const uint8_t *)str.get(), (ssize_t &)len);
> > worked for me.
> > Can someone with write permissions push the change to the destiny branch
> > main repository?
> > Thanks,
> > Nikhil
> >
> >
> > On Thu, Aug 5, 2010 at 6:30 PM, James "Murphy" McCauley 
> > wrote:
> >>
> >> I've built on Debian lenny using g++ 4.4.4 or 4.4.5 pulled from sid
> >> without running into this.  When you installed g++ 4.4.4, did you also
> >> get the updated C++ libraries and STL?
> >>
> >> You might try changing json-util.cc line 50 to:
> >> jo = new json_object((const uint8_t *)str.get(), len);
> >>
> >> -- Murphy
> >>
> >> On Thu, 2010-08-05 at 16:23 -0700, Nikhil Handigol wrote:
> >> > I'm trying to compile nox destiny branch (commit no.
> >> > 1df14bf6edbf2de1762dbfd27680e609094d6330) on debian lenny with gcc
> >> > version 4.4.4.
> >> >
> >> >
> >> > I get the following error:
> >> > ../../../src/lib/json-util.cc: In function ‘vigil::json_object*
> >> > vigil::json::load_document(const std::string&)’:
> >> > ../../../src/lib/json-util.cc:50: error: no matching function for call
> >> > to ‘vigil::json_object::json_object(unsigned char*, int&)’
> >> > ../../../src/include/json_object.hh:43: note: candidates are:
> >> > vigil::json_object::json_object(int)
> >> > ../../../src/include/json_object.hh:37: note:
> >> > vigil::json_object::json_object(const uint8_t*, ssize_t&, int)
> >> > ../../../src/include/json_object.hh:30: note:
> >> > vigil::json_object::json_object(const vigil::json_object&)
> >> > make[5]: *** [json-util.lo] Error 1
> >> >
> >> >
> >> > Is this an error due to some gcc version incompatibility? Or, am I
> >> > doing something wrong? Please let me know you need any further info.
> >> >
> >> >
> >> > Thanks,
> >> > Nikhil
> >> >
> >> >
> >> > ___
> >> > nox-dev mailing list
> >> > nox-dev@noxrepo.org
> >> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
> >>
> >>
> >
> >
> > ___
> > nox-dev mailing list
> > nox-dev@noxrepo.org
> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
> >
> >



___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Error compiling nox

2010-08-05 Thread kk yap
Ok,

I borrowed Nikhil's machine for a quick test.  The problem boils down
to ssize_t is not int all the time.  I will fix that and push it.
Thanks.

Regards
KK

On 5 August 2010 20:04, Nikhil Handigol  wrote:
> Changing json-util.cc line 50 to:
> jo = new json_object((const uint8_t *)str.get(), (ssize_t &)len);
> worked for me.
> Can someone with write permissions push the change to the destiny branch
> main repository?
> Thanks,
> Nikhil
>
>
> On Thu, Aug 5, 2010 at 6:30 PM, James "Murphy" McCauley 
> wrote:
>>
>> I've built on Debian lenny using g++ 4.4.4 or 4.4.5 pulled from sid
>> without running into this.  When you installed g++ 4.4.4, did you also
>> get the updated C++ libraries and STL?
>>
>> You might try changing json-util.cc line 50 to:
>> jo = new json_object((const uint8_t *)str.get(), len);
>>
>> -- Murphy
>>
>> On Thu, 2010-08-05 at 16:23 -0700, Nikhil Handigol wrote:
>> > I'm trying to compile nox destiny branch (commit no.
>> > 1df14bf6edbf2de1762dbfd27680e609094d6330) on debian lenny with gcc
>> > version 4.4.4.
>> >
>> >
>> > I get the following error:
>> > ../../../src/lib/json-util.cc: In function ‘vigil::json_object*
>> > vigil::json::load_document(const std::string&)’:
>> > ../../../src/lib/json-util.cc:50: error: no matching function for call
>> > to ‘vigil::json_object::json_object(unsigned char*, int&)’
>> > ../../../src/include/json_object.hh:43: note: candidates are:
>> > vigil::json_object::json_object(int)
>> > ../../../src/include/json_object.hh:37: note:
>> > vigil::json_object::json_object(const uint8_t*, ssize_t&, int)
>> > ../../../src/include/json_object.hh:30: note:
>> > vigil::json_object::json_object(const vigil::json_object&)
>> > make[5]: *** [json-util.lo] Error 1
>> >
>> >
>> > Is this an error due to some gcc version incompatibility? Or, am I
>> > doing something wrong? Please let me know you need any further info.
>> >
>> >
>> > Thanks,
>> > Nikhil
>> >
>> >
>> > ___
>> > nox-dev mailing list
>> > nox-dev@noxrepo.org
>> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>>
>
>
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Error compiling nox

2010-08-05 Thread Nikhil Handigol
Changing json-util.cc line 50 to:
jo = new json_object((const uint8_t *)str.get(), (ssize_t &)len);
worked for me.

Can someone with write permissions push the change to the destiny branch
main repository?

Thanks,
Nikhil


On Thu, Aug 5, 2010 at 6:30 PM, James "Murphy" McCauley wrote:

> I've built on Debian lenny using g++ 4.4.4 or 4.4.5 pulled from sid
> without running into this.  When you installed g++ 4.4.4, did you also
> get the updated C++ libraries and STL?
>
> You might try changing json-util.cc line 50 to:
> jo = new json_object((const uint8_t *)str.get(), len);
>
> -- Murphy
>
> On Thu, 2010-08-05 at 16:23 -0700, Nikhil Handigol wrote:
> > I'm trying to compile nox destiny branch (commit no.
> > 1df14bf6edbf2de1762dbfd27680e609094d6330) on debian lenny with gcc
> > version 4.4.4.
> >
> >
> > I get the following error:
> > ../../../src/lib/json-util.cc: In function ‘vigil::json_object*
> > vigil::json::load_document(const std::string&)’:
> > ../../../src/lib/json-util.cc:50: error: no matching function for call
> > to ‘vigil::json_object::json_object(unsigned char*, int&)’
> > ../../../src/include/json_object.hh:43: note: candidates are:
> > vigil::json_object::json_object(int)
> > ../../../src/include/json_object.hh:37: note:
> > vigil::json_object::json_object(const uint8_t*, ssize_t&, int)
> > ../../../src/include/json_object.hh:30: note:
> > vigil::json_object::json_object(const vigil::json_object&)
> > make[5]: *** [json-util.lo] Error 1
> >
> >
> > Is this an error due to some gcc version incompatibility? Or, am I
> > doing something wrong? Please let me know you need any further info.
> >
> >
> > Thanks,
> > Nikhil
> >
> >
> > ___
> > nox-dev mailing list
> > nox-dev@noxrepo.org
> > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>
>
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Error compiling nox

2010-08-05 Thread James "Murphy" McCauley
I've built on Debian lenny using g++ 4.4.4 or 4.4.5 pulled from sid
without running into this.  When you installed g++ 4.4.4, did you also
get the updated C++ libraries and STL?

You might try changing json-util.cc line 50 to:
jo = new json_object((const uint8_t *)str.get(), len);

-- Murphy

On Thu, 2010-08-05 at 16:23 -0700, Nikhil Handigol wrote:
> I'm trying to compile nox destiny branch (commit no.
> 1df14bf6edbf2de1762dbfd27680e609094d6330) on debian lenny with gcc
> version 4.4.4.
> 
> 
> I get the following error:
> ../../../src/lib/json-util.cc: In function ‘vigil::json_object*
> vigil::json::load_document(const std::string&)’:
> ../../../src/lib/json-util.cc:50: error: no matching function for call
> to ‘vigil::json_object::json_object(unsigned char*, int&)’
> ../../../src/include/json_object.hh:43: note: candidates are:
> vigil::json_object::json_object(int)
> ../../../src/include/json_object.hh:37: note:
> vigil::json_object::json_object(const uint8_t*, ssize_t&, int)
> ../../../src/include/json_object.hh:30: note:
> vigil::json_object::json_object(const vigil::json_object&)
> make[5]: *** [json-util.lo] Error 1
> 
> 
> Is this an error due to some gcc version incompatibility? Or, am I
> doing something wrong? Please let me know you need any further info.
> 
> 
> Thanks,
> Nikhil
> 
> 
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org



___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] Error compiling nox

2010-08-05 Thread Nikhil Handigol
I'm trying to compile nox destiny branch (commit no.
1df14bf6edbf2de1762dbfd27680e609094d6330) on debian lenny with gcc version
4.4.4.

I get the following error:
../../../src/lib/json-util.cc: In function ‘vigil::json_object*
vigil::json::load_document(const std::string&)’:
../../../src/lib/json-util.cc:50: error: no matching function for call to
‘vigil::json_object::json_object(unsigned char*, int&)’
../../../src/include/json_object.hh:43: note: candidates are:
vigil::json_object::json_object(int)
../../../src/include/json_object.hh:37: note:
vigil::json_object::json_object(const uint8_t*, ssize_t&, int)
../../../src/include/json_object.hh:30: note:
vigil::json_object::json_object(const vigil::json_object&)
make[5]: *** [json-util.lo] Error 1

Is this an error due to some gcc version incompatibility? Or, am I doing
something wrong? Please let me know you need any further info.

Thanks,
Nikhil
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] error compiling nox 0.6 on deb testing

2009-12-29 Thread Martin Casado
fyi, I pushed a fix for this to noxrepo.  Was a very minor change in how 
swig handles command line args from 1.3.33 to 1.3.4. 


Hi,

With a few different packages (changes to more recent boost versions, 
1.35 is not available), I was able to pass configure w/nox 0.6 on deb 
testing:


sudo apt-get install autoconf automake g++ libtool python  
python-twisted swig  libxerces-c2-dev libssl-dev make python-dev 
*libboost-filesystem1.38-dev libboost1.38-dev libboost-test1.38-dev*


I could only build the core apps though (./boot.sh --apps-core); make 
fails when trying to build storage:


/usr/bin/swig -c++ -python \
-I../../../../../src/nox/netapps/storage/../
\

-outdir ./.\
-o pystorage_wrap.cc\
-c++ -python -module pystorage 
../../../../../src/nox/netapps/storage/storage.i
swig: Modules/lang.cxx:330: Language::Language(): Assertion `!this_' 
failed.


Any ideas?

Thanks,
Brandon





___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
  



___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] error compiling nox 0.6 on deb testing

2009-12-13 Thread Martin Casado
I've found a number of bug reports for this assertion in swig 1.3.4.  
Without installing/reproducing it locally, I'm not sure if it is 
something in the .i or a bug in swig.  A near-term solution would be to 
install swig 1.3.33, or try and figure out exactly which declaration is 
causing the assertion.



I thought it was in the subject and the body, but to be more precise, 
my /etc/apt/sources.list starts with:


deb http://debian.osuosl.org/debian/ testing main
deb-src http://debian.osuosl.org/debian/ testing main

SWIG version is 1.3.40, compiled with g++ [i686-pc-linux-gnu]

Thanks,
Brandon

On Sun, Dec 13, 2009 at 10:53 PM, Martin Casado > wrote:


What version of swig do you have installed?  Are you using Debian
stable?

Hi,

With a few different packages (changes to more recent boost
versions, 1.35 is not available), I was able to pass configure
w/nox 0.6 on deb testing:

sudo apt-get install autoconf automake g++ libtool python
 python-twisted swig  libxerces-c2-dev libssl-dev make
python-dev *libboost-filesystem1.38-dev libboost1.38-dev
libboost-test1.38-dev*

I could only build the core apps though (./boot.sh
--apps-core); make fails when trying to build storage:

/usr/bin/swig -c++ -python \
   -I../../../../../src/nox/netapps/storage/../  
 \

   -outdir ./.\
   -o pystorage_wrap.cc\
   -c++ -python -module pystorage
../../../../../src/nox/netapps/storage/storage.i
swig: Modules/lang.cxx:330: Language::Language(): Assertion
`!this_' failed.

Any ideas?

Thanks,
Brandon





___
nox-dev mailing list
nox-dev@noxrepo.org 
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
 








___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] error compiling nox 0.6 on deb testing

2009-12-13 Thread Teemu Koponen
On Dec 13, 2009, at 23:00 , Brandon Heller wrote:

I'd uninstall the system default swig and tried with a bit older version, by 
building one by yourself.  Modern swig versions have been somewhat problematic 
in the past, at least based on my experience.

> I thought it was in the subject and the body, but to be more precise, my 
> /etc/apt/sources.list starts with:
> 
> deb http://debian.osuosl.org/debian/ testing main
> deb-src http://debian.osuosl.org/debian/ testing main
> 
> SWIG version is 1.3.40, compiled with g++ [i686-pc-linux-gnu]
> 
> Thanks,
> Brandon
> 
> On Sun, Dec 13, 2009 at 10:53 PM, Martin Casado  wrote:
> What version of swig do you have installed?  Are you using Debian stable?
> 
> Hi,
> 
> With a few different packages (changes to more recent boost versions, 1.35 is 
> not available), I was able to pass configure w/nox 0.6 on deb testing:
> 
> sudo apt-get install autoconf automake g++ libtool python  python-twisted 
> swig  libxerces-c2-dev libssl-dev make python-dev 
> *libboost-filesystem1.38-dev libboost1.38-dev libboost-test1.38-dev*
> 
> I could only build the core apps though (./boot.sh --apps-core); make fails 
> when trying to build storage:
> 
> /usr/bin/swig -c++ -python \
>-I../../../../../src/nox/netapps/storage/../\
>-outdir ./.\
>-o pystorage_wrap.cc\
>-c++ -python -module pystorage 
> ../../../../../src/nox/netapps/storage/storage.i
> swig: Modules/lang.cxx:330: Language::Language(): Assertion `!this_' failed.
> 
> Any ideas?
> 
> Thanks,
> Brandon
> 
> 
> 
> 
> 
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>  
> 
> 
> 
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] error compiling nox 0.6 on deb testing

2009-12-13 Thread Brandon Heller
I thought it was in the subject and the body, but to be more precise, my
/etc/apt/sources.list starts with:

deb http://debian.osuosl.org/debian/ testing main
deb-src http://debian.osuosl.org/debian/ testing main

SWIG version is 1.3.40, compiled with g++ [i686-pc-linux-gnu]

Thanks,
Brandon

On Sun, Dec 13, 2009 at 10:53 PM, Martin Casado  wrote:

> What version of swig do you have installed?  Are you using Debian stable?
>
>  Hi,
>>
>> With a few different packages (changes to more recent boost versions, 1.35
>> is not available), I was able to pass configure w/nox 0.6 on deb testing:
>>
>> sudo apt-get install autoconf automake g++ libtool python  python-twisted
>> swig  libxerces-c2-dev libssl-dev make python-dev
>> *libboost-filesystem1.38-dev libboost1.38-dev libboost-test1.38-dev*
>>
>> I could only build the core apps though (./boot.sh --apps-core); make
>> fails when trying to build storage:
>>
>> /usr/bin/swig -c++ -python \
>>-I../../../../../src/nox/netapps/storage/../
>>  \
>>-outdir ./.\
>>-o pystorage_wrap.cc\
>>-c++ -python -module pystorage
>> ../../../../../src/nox/netapps/storage/storage.i
>> swig: Modules/lang.cxx:330: Language::Language(): Assertion `!this_'
>> failed.
>>
>> Any ideas?
>>
>> Thanks,
>> Brandon
>>
>>
>>
>> 
>>
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>>
>
>
>
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] error compiling nox 0.6 on deb testing

2009-12-13 Thread Teemu Koponen
On Dec 13, 2009, at 22:53 , Martin Casado wrote:

Sounds like squeeze.

> What version of swig do you have installed?  Are you using Debian stable?
> 
>> Hi,
>> 
>> With a few different packages (changes to more recent boost versions, 1.35 
>> is not available), I was able to pass configure w/nox 0.6 on deb testing:
>> 
>> sudo apt-get install autoconf automake g++ libtool python  python-twisted 
>> swig  libxerces-c2-dev libssl-dev make python-dev 
>> *libboost-filesystem1.38-dev libboost1.38-dev libboost-test1.38-dev*
>> 
>> I could only build the core apps though (./boot.sh --apps-core); make fails 
>> when trying to build storage:
>> 
>> /usr/bin/swig -c++ -python \
>>-I../../../../../src/nox/netapps/storage/../\
>>-outdir ./.\
>>-o pystorage_wrap.cc\
>>-c++ -python -module pystorage 
>> ../../../../../src/nox/netapps/storage/storage.i
>> swig: Modules/lang.cxx:330: Language::Language(): Assertion `!this_' failed.
>> 
>> Any ideas?
>> 
>> Thanks,
>> Brandon
>> 
>> 
>> 
>> 
>> 
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>  
> 
> 
> ___
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] error compiling nox 0.6 on deb testing

2009-12-13 Thread Martin Casado

What version of swig do you have installed?  Are you using Debian stable?


Hi,

With a few different packages (changes to more recent boost versions, 
1.35 is not available), I was able to pass configure w/nox 0.6 on deb 
testing:


sudo apt-get install autoconf automake g++ libtool python  
python-twisted swig  libxerces-c2-dev libssl-dev make python-dev 
*libboost-filesystem1.38-dev libboost1.38-dev libboost-test1.38-dev*


I could only build the core apps though (./boot.sh --apps-core); make 
fails when trying to build storage:


/usr/bin/swig -c++ -python \
-I../../../../../src/nox/netapps/storage/../
\

-outdir ./.\
-o pystorage_wrap.cc\
-c++ -python -module pystorage 
../../../../../src/nox/netapps/storage/storage.i
swig: Modules/lang.cxx:330: Language::Language(): Assertion `!this_' 
failed.


Any ideas?

Thanks,
Brandon





___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
  



___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] error compiling nox 0.6 on deb testing

2009-12-13 Thread Brandon Heller
Hi,

With a few different packages (changes to more recent boost versions, 1.35
is not available), I was able to pass configure w/nox 0.6 on deb testing:

sudo apt-get install autoconf automake g++ libtool python  python-twisted
swig  libxerces-c2-dev libssl-dev make python-dev *libboost-filesystem1.38-dev
libboost1.38-dev libboost-test1.38-dev*

I could only build the core apps though (./boot.sh --apps-core); make fails
when trying to build storage:

/usr/bin/swig -c++ -python \
-I../../../../../src/nox/netapps/storage/../
\
-outdir ./.\
-o pystorage_wrap.cc\
-c++ -python -module pystorage
../../../../../src/nox/netapps/storage/storage.i
swig: Modules/lang.cxx:330: Language::Language(): Assertion `!this_' failed.

Any ideas?

Thanks,
Brandon
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Error compiling NOX

2008-12-24 Thread Nikhil Handigol
Ubuntu 7.10 uses g++-4.1 as the default g++. I changed it to g++-4.2, and
NOX compiles fine now.

Thanks,
Nikhil

On Tue, Dec 23, 2008 at 11:28 PM, Martin Casado  wrote:

> Hash_map incompatibilities crop up periodically.  My guess is that you'll
> need up update g++, what version are you using?
>
>
> On Dec 23, 2008, at 11:13 PM, Nikhil Handigol wrote:
>
>  I tried compiling freshly checked-out NOX on my Ubuntu (7.10) machine. I
>> got the following error:
>>
>> authenticator.cc: In member function 'bool
>> vigil::applications::Authenticator::rename(const std::string&, const
>> std::string&, vigil::applications::Directory::Principal_Type,
>> vigil::applications::Directory::Group_Type, bool)':
>> authenticator.cc:278: error: no matching function for call to
>> 'vigil::hash_map,
>> std::allocator >, unsigned int,
>> __gnu_cxx::hash,
>> std::allocator > >, std::equal_to> std::char_traits, std::allocator > >,
>> std::allocator,
>> std::allocator > >
>> >::erase(__gnu_cxx::_Hashtable_const_iterator> std::basic_string, std::allocator >,
>> unsigned int>, std::basic_string,
>> std::allocator >, __gnu_cxx::hash> std::char_traits, std::allocator > >,
>> std::_Select1st> std::char_traits, std::allocator >, unsigned int> >,
>> std::equal_to,
>> std::allocator > >, std::allocator> std::char_traits, std::allocator > > >&)'
>> /usr/include/c++/4.1.3/ext/hash_map:248: note: candidates are: typename
>> __gnu_cxx::hashtable, _Key, _HashFcn,
>> std::_Select1st >, _EqualKey, _Alloc>::size_type
>> __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::erase(const
>> typename __gnu_cxx::hashtable, _Key, _HashFcn,
>> std::_Select1st >, _EqualKey, _Alloc>::key_type&)
>> [with _Key = std::basic_string,
>> std::allocator >, _Tp = unsigned int, _HashFcn =
>> __gnu_cxx::hash,
>> std::allocator > >, _EqualKey = std::equal_to> std::char_traits, std::allocator > >, _Alloc =
>> std::allocator,
>> std::allocator > >]
>> /usr/include/c++/4.1.3/ext/hash_map:252: note: void
>> __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::erase(typename
>> __gnu_cxx::hashtable, _Key, _HashFcn,
>> std::_Select1st >, _EqualKey, _Alloc>::iterator)
>> [with _Key = std::basic_string,
>> std::allocator >, _Tp = unsigned int, _HashFcn =
>> __gnu_cxx::hash,
>> std::allocator > >, _EqualKey = std::equal_to> std::char_traits, std::allocator > >, _Alloc =
>> std::allocator,
>> std::allocator > >]
>> /usr/include/c++/4.1.3/ext/hash_map:256: note: void
>> __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::erase(typename
>> __gnu_cxx::hashtable, _Key, _HashFcn,
>> std::_Select1st >, _EqualKey, _Alloc>::iterator,
>> typename __gnu_cxx::hashtable, _Key, _HashFcn,
>> std::_Select1st >, _EqualKey, _Alloc>::iterator)
>> [with _Key = std::basic_string,
>> std::allocator >, _Tp = unsigned int, _HashFcn =
>> __gnu_cxx::hash,
>> std::allocator > >, _EqualKey = std::equal_to> std::char_traits, std::allocator > >, _Alloc =
>> std::allocator,
>> std::allocator > >]
>>
>> Any clue what could be the reason?
>>
>> Thanks,
>> Nikhil
>> ___
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>
>
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Error compiling NOX

2008-12-23 Thread Martin Casado
Hash_map incompatibilities crop up periodically.  My guess is that  
you'll need up update g++, what version are you using?


On Dec 23, 2008, at 11:13 PM, Nikhil Handigol wrote:

I tried compiling freshly checked-out NOX on my Ubuntu (7.10)  
machine. I got the following error:


authenticator.cc: In member function 'bool  
vigil::applications::Authenticator::rename(const std::string&, const  
std::string&, vigil::applications::Directory::Principal_Type,  
vigil::applications::Directory::Group_Type, bool)':
authenticator.cc:278: error: no matching function for call to  
'vigil::hash_map,  
std::allocator >, unsigned int,  
__gnu_cxx::hash,  
std::allocator > >, std::equal_tostd::char_traits, std::allocator > >,  
std::allocator,  
std::allocator > >  
>::erase(__gnu_cxx::_Hashtable_const_iteratorstd::basic_string, std::allocator  
>, unsigned int>, std::basic_string,  
std::allocator >, __gnu_cxx::hashstd::char_traits, std::allocator > >,  
std::_Select1ststd::char_traits, std::allocator >, unsigned int> >,  
std::equal_to,  
std::allocator > >, std::allocatorstd::char_traits, std::allocator > > >&)'
/usr/include/c++/4.1.3/ext/hash_map:248: note: candidates are:  
typename __gnu_cxx::hashtable, _Key,  
_HashFcn, std::_Select1st >, _EqualKey,  
_Alloc>::size_type __gnu_cxx::hash_map<_Key, _Tp, _HashFcn,  
_EqualKey, _Alloc>::erase(const typename  
__gnu_cxx::hashtable, _Key, _HashFcn,  
std::_Select1st >, _EqualKey,  
_Alloc>::key_type&) [with _Key = std::basic_stringstd::char_traits, std::allocator >, _Tp = unsigned int,  
_HashFcn = __gnu_cxx::hashstd::char_traits, std::allocator > >, _EqualKey =  
std::equal_to,  
std::allocator > >, _Alloc =  
std::allocator,  
std::allocator > >]
/usr/include/c++/4.1.3/ext/hash_map:252: note: void  
__gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey,  
_Alloc>::erase(typename __gnu_cxx::hashtable_Tp>, _Key, _HashFcn, std::_Select1st >,  
_EqualKey, _Alloc>::iterator) [with _Key = std::basic_stringstd::char_traits, std::allocator >, _Tp = unsigned int,  
_HashFcn = __gnu_cxx::hashstd::char_traits, std::allocator > >, _EqualKey =  
std::equal_to,  
std::allocator > >, _Alloc =  
std::allocator,  
std::allocator > >]
/usr/include/c++/4.1.3/ext/hash_map:256: note: void  
__gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey,  
_Alloc>::erase(typename __gnu_cxx::hashtable_Tp>, _Key, _HashFcn, std::_Select1st >,  
_EqualKey, _Alloc>::iterator, typename  
__gnu_cxx::hashtable, _Key, _HashFcn,  
std::_Select1st >, _EqualKey,  
_Alloc>::iterator) [with _Key = std::basic_stringstd::char_traits, std::allocator >, _Tp = unsigned int,  
_HashFcn = __gnu_cxx::hashstd::char_traits, std::allocator > >, _EqualKey =  
std::equal_to,  
std::allocator > >, _Alloc =  
std::allocator,  
std::allocator > >]


Any clue what could be the reason?

Thanks,
Nikhil
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org



___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] Error compiling NOX

2008-12-23 Thread Nikhil Handigol
I tried compiling freshly checked-out NOX on my Ubuntu (7.10) machine. I got
the following error:

authenticator.cc: In member function 'bool
vigil::applications::Authenticator::rename(const std::string&, const
std::string&, vigil::applications::Directory::Principal_Type,
vigil::applications::Directory::Group_Type, bool)':
authenticator.cc:278: error: no matching function for call to
'vigil::hash_map,
std::allocator >, unsigned int,
__gnu_cxx::hash,
std::allocator > >, std::equal_to, std::allocator > >,
std::allocator,
std::allocator > >
>::erase(__gnu_cxx::_Hashtable_const_iterator, std::allocator >,
unsigned int>, std::basic_string,
std::allocator >, __gnu_cxx::hash, std::allocator > >,
std::_Select1st, std::allocator >, unsigned int> >,
std::equal_to,
std::allocator > >, std::allocator, std::allocator > > >&)'
/usr/include/c++/4.1.3/ext/hash_map:248: note: candidates are: typename
__gnu_cxx::hashtable, _Key, _HashFcn,
std::_Select1st >, _EqualKey, _Alloc>::size_type
__gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::erase(const
typename __gnu_cxx::hashtable, _Key, _HashFcn,
std::_Select1st >, _EqualKey, _Alloc>::key_type&)
[with _Key = std::basic_string,
std::allocator >, _Tp = unsigned int, _HashFcn =
__gnu_cxx::hash,
std::allocator > >, _EqualKey = std::equal_to, std::allocator > >, _Alloc =
std::allocator,
std::allocator > >]
/usr/include/c++/4.1.3/ext/hash_map:252: note: void
__gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::erase(typename
__gnu_cxx::hashtable, _Key, _HashFcn,
std::_Select1st >, _EqualKey, _Alloc>::iterator)
[with _Key = std::basic_string,
std::allocator >, _Tp = unsigned int, _HashFcn =
__gnu_cxx::hash,
std::allocator > >, _EqualKey = std::equal_to, std::allocator > >, _Alloc =
std::allocator,
std::allocator > >]
/usr/include/c++/4.1.3/ext/hash_map:256: note: void
__gnu_cxx::hash_map<_Key, _Tp, _HashFcn, _EqualKey, _Alloc>::erase(typename
__gnu_cxx::hashtable, _Key, _HashFcn,
std::_Select1st >, _EqualKey, _Alloc>::iterator,
typename __gnu_cxx::hashtable, _Key, _HashFcn,
std::_Select1st >, _EqualKey, _Alloc>::iterator)
[with _Key = std::basic_string,
std::allocator >, _Tp = unsigned int, _HashFcn =
__gnu_cxx::hash,
std::allocator > >, _EqualKey = std::equal_to, std::allocator > >, _Alloc =
std::allocator,
std::allocator > >]

Any clue what could be the reason?

Thanks,
Nikhil
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org