Cheers,
Lachy
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
This seems to me like a build issue with Python bindings that I'm
getting as well. Gustavo, could you please rescan them?
Vedran
> This seems to me like a build issue with Python bindings that I'm
> getting as well.
me too
--
Chiave pubblica http://luca.costantino.googlepages.com/luca.costantino.asc
Prima di tutto vennero a prendere gli zingari e fui contento, perché
rubacchiavano.
Poi vennero a prendere gli ebrei e stetti zitto, perché mi stavano antipatici.
Poi vennero a prendere gli omosessuali, e fui sollevato, perché mi
erano fastidiosi.
Poi vennero a prendere i comunisti, e io non dissi niente, perché non
ero comunista.
Un giorno vennero a prendere me, e non c’era rimasto nessuno a protestare.
(Martin Niemöller)
If it's today's ns-3-dev, that's a separate issue.
Vedran
i'm having this problem for a week or so.
i updated my repository to fetch the latest nicola baldo's updates
hoping that they would have solved the issue, but they didn't
luca
Post a build log, maybe we can help.
Vedran
[ 818/1348] cxx: build/src/spectrum/bindings/ns3module.cc ->
build/src/spectrum/bindings/ns3module.cc.7.o
In file included from src/spectrum/bindings/ns3module.cc:1:0:
src/spectrum/bindings/ns3module.h:2172:5: error: ‘SpectrumType’ in
namespace ‘ns3’ does not name a type
src/spectrum/bindings/ns3module.h:2183:5: error: ‘SpectrumTypeFactory’
in namespace ‘ns3’ does not name a type
src/spectrum/bindings/ns3module.cc: In function ‘int
_wrap_PyNs3SpectrumType__tp_init(PyNs3SpectrumType*, PyObject*,
PyObject*)’:
src/spectrum/bindings/ns3module.cc:3341:11: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3341:21: error: expected type-specifier
src/spectrum/bindings/ns3module.cc:3341:21: error: expected ‘;’
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3SpectrumType_GetName(PyNs3SpectrumType*)’:
src/spectrum/bindings/ns3module.cc:3353:20: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3SpectrumType_GetUid(PyNs3SpectrumType*)’:
src/spectrum/bindings/ns3module.cc:3365:20: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3SpectrumType__copy__(PyNs3SpectrumType*)’:
src/spectrum/bindings/ns3module.cc:3377:14: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3377:24: error: expected type-specifier
src/spectrum/bindings/ns3module.cc:3377:24: error: expected ‘;’
src/spectrum/bindings/ns3module.cc:3379:58: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc: In function ‘void
_wrap_PyNs3SpectrumType__tp_dealloc(PyNs3SpectrumType*)’:
src/spectrum/bindings/ns3module.cc:3394:82: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3399:9: error: ‘SpectrumType’ is
not a member of ‘ns3’
src/spectrum/bindings/ns3module.cc:3399:28: error: ‘tmp’ was not
declared in this scope
src/spectrum/bindings/ns3module.cc:3399:40: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3400:15: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3402:20: error: type ‘<type error>’
argument given to ‘delete’, expected pointer
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3SpectrumType__tp_str(PyNs3SpectrumType*)’:
src/spectrum/bindings/ns3module.cc:3413:19: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3SpectrumType__tp_richcompare(PyNs3SpectrumType*,
PyNs3SpectrumType*, int)’:
src/spectrum/bindings/ns3module.cc:3435:20: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3435:35: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3443:20: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3443:35: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc: In function ‘int
_wrap_PyNs3SpectrumTypeFactory__tp_init__0(PyNs3SpectrumTypeFactory*,
PyObject*, PyObject*, PyObject**)’:
src/spectrum/bindings/ns3module.cc:3531:11: error: ‘struct
PyNs3SpectrumTypeFactory’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3531:21: error: expected type-specifier
src/spectrum/bindings/ns3module.cc:3531:21: error: expected ‘;’
src/spectrum/bindings/ns3module.cc: In function ‘int
_wrap_PyNs3SpectrumTypeFactory__tp_init__1(PyNs3SpectrumTypeFactory*,
PyObject*, PyObject*, PyObject**)’:
src/spectrum/bindings/ns3module.cc:3551:11: error: ‘struct
PyNs3SpectrumTypeFactory’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3551:21: error: expected type-specifier
src/spectrum/bindings/ns3module.cc:3551:21: error: expected ‘;’
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3SpectrumTypeFactory_Create(PyNs3SpectrumTypeFactory*,
PyObject*, PyObject*)’:
src/spectrum/bindings/ns3module.cc:3593:5: error: ‘SpectrumType’ is
not a member of ‘ns3’
src/spectrum/bindings/ns3module.cc:3593:23: error: expected ‘;’ before ‘retval’
src/spectrum/bindings/ns3module.cc:3596:22: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3596:32: error: expected type-specifier
src/spectrum/bindings/ns3module.cc:3596:32: error: expected ‘;’
src/spectrum/bindings/ns3module.cc:3597:66: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3SpectrumTypeFactory_GetNameByUid(PyNs3SpectrumTypeFactory*,
PyObject*, PyObject*)’:
src/spectrum/bindings/ns3module.cc:3614:19: error:
‘ns3::SpectrumTypeFactory’ has not been declared
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3SpectrumTypeFactory__copy__(PyNs3SpectrumTypeFactory*)’:
src/spectrum/bindings/ns3module.cc:3626:14: error: ‘struct
PyNs3SpectrumTypeFactory’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3626:24: error: expected type-specifier
src/spectrum/bindings/ns3module.cc:3626:24: error: expected ‘;’
src/spectrum/bindings/ns3module.cc:3628:65: error: ‘struct
PyNs3SpectrumTypeFactory’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc: In function ‘void
_wrap_PyNs3SpectrumTypeFactory__tp_dealloc(PyNs3SpectrumTypeFactory*)’:
src/spectrum/bindings/ns3module.cc:3643:89: error: ‘struct
PyNs3SpectrumTypeFactory’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3648:9: error:
‘SpectrumTypeFactory’ is not a member of ‘ns3’
src/spectrum/bindings/ns3module.cc:3648:35: error: ‘tmp’ was not
declared in this scope
src/spectrum/bindings/ns3module.cc:3648:47: error: ‘struct
PyNs3SpectrumTypeFactory’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3649:15: error: ‘struct
PyNs3SpectrumTypeFactory’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:3651:20: error: type ‘<type error>’
argument given to ‘delete’, expected pointer
[ 819/1348] cxx: src/stats/model/omnet-data-output.cc ->
build/src/stats/model/omnet-data-output.cc.1.o
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3WaveformGenerator_GetSpectrumType(PyNs3WaveformGenerator*)’:
src/spectrum/bindings/ns3module.cc:10189:5: error: ‘SpectrumType’ is
not a member of ‘ns3’
src/spectrum/bindings/ns3module.cc:10189:23: error: expected ‘;’ before ‘retval’
src/spectrum/bindings/ns3module.cc:10192:22: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:10192:32: error: expected type-specifier
src/spectrum/bindings/ns3module.cc:10192:32: error: expected ‘;’
src/spectrum/bindings/ns3module.cc:10193:66: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc: In function ‘PyObject*
_wrap_PyNs3HalfDuplexIdealPhy_GetSpectrumType(PyNs3HalfDuplexIdealPhy*)’:
src/spectrum/bindings/ns3module.cc:11948:5: error: ‘SpectrumType’ is
not a member of ‘ns3’
src/spectrum/bindings/ns3module.cc:11948:23: error: expected ‘;’ before ‘retval’
src/spectrum/bindings/ns3module.cc:11951:22: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
src/spectrum/bindings/ns3module.cc:11951:32: error: expected type-specifier
src/spectrum/bindings/ns3module.cc:11951:32: error: expected ‘;’
src/spectrum/bindings/ns3module.cc:11952:66: error: ‘struct
PyNs3SpectrumType’ has no member named ‘obj’
[ 820/1348] cxx: src/stats/model/data-collector.cc ->
build/src/stats/model/data-collector.cc.1.o
Waf: Leaving directory
`/home/hfish/repos/ns-3-allinone/ns-3-dev/build'
Build failed
-> task failed (exit status 1):
{task 150880492: cxx ns3module.cc -> ns3module.cc.7.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror',
'-Wno-error=deprecated-declarations', '-fstrict-aliasing',
'-Wstrict-aliasing', '-fPIC', '-pthread', '-fno-strict-aliasing',
'-fwrapv', '-fno-strict-aliasing', '-fvisibility=hidden', '-pthread',
'-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv',
'-fno-strict-aliasing', '-Ibuild', '-I.',
'-Ibuild/src/spectrum/bindings', '-Isrc/spectrum/bindings',
'-I/usr/include/python2.7', '-I/usr/include/gtk-2.0',
'-I/usr/lib/i386-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0',
'-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0',
'-I/usr/include/pixman-1', '-I/usr/include/freetype2',
'-I/usr/include/libpng12', '-I/usr/include/cairo',
'-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0',
'-I/usr/lib/glib-2.0/include', '-I/usr/include/libxml2',
'-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DSQLITE3=1',
'-DHAVE_IF_TUN_H=1',
'-DPYTHONDIR="/usr/local/lib/python2.7/dist-packages"',
'-DPYTHONARCHDIR="/usr/local/lib/python2.7/dist-packages"',
'-DHAVE_PYTHON_H=1', '-DENABLE_GSL', '-DNS_DEPRECATED=',
'-DNS3_DEPRECATED_H', '-DNDEBUG', '-DNDEBUG',
'src/spectrum/bindings/ns3module.cc', '-c', '-o',
'src/spectrum/bindings/ns3module.cc.7.o']
using gcc-4.5 e g++-4.5
./waf configure with no options
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
i'll wait for a feedback, thanks!
2011/11/14 Gustavo Carneiro <gjcar...@gmail.com>:
> It seems that someone needs to do an API rescan on the spectrum module.i'll wait for a feedback, thanks!
> Someone has to do it every time an API changes. I'll take care of it.
--
Chiave pubblica http://luca.costantino.googlepages.com/luca.costantino.asc
Prima di tutto vennero a prendere gli zingari e fui contento, perché
rubacchiavano.
Poi vennero a prendere gli ebrei e stetti zitto, perché mi stavano antipatici.
Poi vennero a prendere gli omosessuali, e fui sollevato, perché mi
erano fastidiosi.
Poi vennero a prendere i comunisti, e io non dissi niente, perché non
ero comunista.
Un giorno vennero a prendere me, e non c’era rimasto nessuno a protestare.
(Martin Niemöller)
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
no need to apologize, you're doing me (us) a favour :)
just for the records, I have the same error with gcc-4.6, too
2011/11/14 Gustavo Carneiro <gjcar...@gmail.com>:
> I seem to have hit a bug with gccxml and gcc 4.6 system headers. This willno need to apologize, you're doing me (us) a favour :)
> take some time to fix. Apologies.
just for the records, I have the same error with gcc-4.6, too
--
Chiave pubblica http://luca.costantino.googlepages.com/luca.costantino.asc
Prima di tutto vennero a prendere gli zingari e fui contento, perché
rubacchiavano.
Poi vennero a prendere gli ebrei e stetti zitto, perché mi stavano antipatici.
Poi vennero a prendere gli omosessuali, e fui sollevato, perché mi
erano fastidiosi.
Poi vennero a prendere i comunisti, e io non dissi niente, perché non
ero comunista.
Un giorno vennero a prendere me, e non c’era rimasto nessuno a protestare.
(Martin Niemöller)
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
On Mon, Nov 14, 2011 at 13:06, Luca Costantino <luca.co...@gmail.com> wrote:
2011/11/14 Gustavo Carneiro <gjcar...@gmail.com>:
> I seem to have hit a bug with gccxml and gcc 4.6 system headers. This willno need to apologize, you're doing me (us) a favour :)
> take some time to fix. Apologies.
just for the records, I have the same error with gcc-4.6, too
I still cannot solve this, we are in trouble :-(The problem is not gcc-4.6 itself, it's system headers changes in latest systems that gcc-4.6 can handle but the older gccxml cannot. I even updated gccxml to latest CVS trunk, to no avail. The gccxml project is not very actively maintained, so it could take a while for it to catch up, if at all.The solution for now will have to be to install an older linux system in a virtual machine and run waf --apiscan from there. Unless someone else has a better idea, of course...
--
Chiave pubblica http://luca.costantino.googlepages.com/luca.costantino.asc
Prima di tutto vennero a prendere gli zingari e fui contento, perché
rubacchiavano.
Poi vennero a prendere gli ebrei e stetti zitto, perché mi stavano antipatici.
Poi vennero a prendere gli omosessuali, e fui sollevato, perché mi
erano fastidiosi.
Poi vennero a prendere i comunisti, e io non dissi niente, perché non
ero comunista.
Un giorno vennero a prendere me, e non c’era rimasto nessuno a protestare.
(Martin Niemöller)
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
--
Gustavo J. A. M. Carneiro
INESC Porto, UTM, WiN, http://win.inescporto.pt/gjc
"The universe is always one step beyond logic." -- Frank Herbert
tomorrow i'll have a look, but unfortunately i have a 32-bit only system too
hi. are you sure you pushed latest changes? hg tip still returns
nicola baldo's yesterday updates....
luca
note to self: think before typing!
building went nice and clean wit gcc-4.5 and g++-4.5 on my 32 bit machine
thanks