Results 1 to 4 of 4
Hello,
I am having the following errors when building ns3 on fedora 11. any ideas?
thanks
====
Checking target architecure...(cached) x86
scons: done reading SConscript files.
scons: Building targets ...
...
- 06-29-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
Build issues with ns-3 on fedora 11
Hello,
I am having the following errors when building ns3 on fedora 11. any ideas?
thanks
====
Checking target architecure...(cached) x86
scons: done reading SConscript files.
scons: Building targets ...
g++ -o globaliser/handle_global.o -c -Wall -g -O globaliser/handle_global.cc
globaliser/handle_global.cc:127: error: 'uint32_t' has not been declared
globaliser/handle_global.cc:176: error: 'uint32_t' does not name a type
globaliser/handle_global.cc: In constructor 'NewSymbol::NewSymbol(const std::string&, NewSymbol::Type, int)':
globaliser/handle_global.cc:128: error: class 'NewSymbol' does not have any field named 'm_specifiers'
globaliser/handle_global.cc: In copy constructor 'NewSymbol::NewSymbol(const NewSymbol&)':
globaliser/handle_global.cc:135: error: class 'NewSymbol' does not have any field named 'm_specifiers'
globaliser/handle_global.cc:135: error: 'const class NewSymbol' has no member named 'm_specifiers'
globaliser/handle_global.cc: In member function 'bool NewSymbol::is_extern() const':
globaliser/handle_global.cc:147: error: 'm_specifiers' was not declared in this scope
globaliser/handle_global.cc: In member function 'bool NewSymbol::is_array() const':
globaliser/handle_global.cc:148: error: 'm_specifiers' was not declared in this scope
globaliser/handle_global.cc: In member function 'bool NewSymbol::is_pointer() const':
globaliser/handle_global.cc:149: error: 'm_specifiers' was not declared in this scope
globaliser/handle_global.cc: In member function 'bool NewSymbol::is_static_local() const':
globaliser/handle_global.cc:150: error: 'm_specifiers' was not declared in this scope
globaliser/handle_global.cc: In member function 'void NewSymbol::set_extern(bool)':
globaliser/handle_global.cc:156: error: 'm_specifiers' was not declared in this scope
globaliser/handle_global.cc:157: error: 'm_specifiers' was not declared in this scope
globaliser/handle_global.cc: In member function 'void NewSymbol::set_array(bool)':
globaliser/handle_global.cc:160: error: 'm_specifiers' was not declared in this scope
globaliser/handle_global.cc:161: error: 'm_specifiers' was not declared in this scope
globaliser/handle_global.cc: In function 'void global_ns_define_variable(const std::string&, bool, bool, bool, bool, bool, const std::string&)':
globaliser/handle_global.cc:244: error: 'uint32_t' was not declared in this scope
globaliser/handle_global.cc:244: error: expected ';' before 'specifiers'
globaliser/handle_global.cc:245: error: 'specifiers' was not declared in this scope
globaliser/handle_global.cc:246: error: 'specifiers' was not declared in this scope
globaliser/handle_global.cc:247: error: 'specifiers' was not declared in this scope
globaliser/handle_global.cc:248: error: 'specifiers' was not declared in this scope
globaliser/handle_global.cc:259: error: 'specifiers' was not declared in this scope
globaliser/handle_global.cc: In function 'void global_ns_define_mangled_variable(const std::string&, const std::string&, bool, bool, bool, bool, bool)':
globaliser/handle_global.cc:299: error: 'uint32_t' was not declared in this scope
globaliser/handle_global.cc:299: error: expected ';' before 'specifiers'
globaliser/handle_global.cc:300: error: 'specifiers' was not declared in this scope
globaliser/handle_global.cc:301: error: 'specifiers' was not declared in this scope
globaliser/handle_global.cc:302: error: 'specifiers' was not declared in this scope
globaliser/handle_global.cc:303: error: 'specifiers' was not declared in this scope
globaliser/handle_global.cc:304: error: 'specifiers' was not declared in this scope
scons: *** [globaliser/handle_global.o] Error 1
scons: building terminated because of errors.
Traceback (most recent call last):
File "./build.py", line 106, in <module>
sys.exit(main(sys.argv))
File "./build.py", line 85, in main
build_nsc()
File "./build.py", line 14, in build_nsc
run_command(['python', 'scons.py', kernel])
File "/home/anselm/ns-3/ns-allinone-3.4/util.py", line 24, in run_command
raise CommandError("Command %r exited with code %i" % (argv, retval))
util.CommandError: Command ['python', 'scons.py', 'linux-2.6.18'] exited with code 2
- 06-29-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Which version are you building? I just downloaded and built the ns-3.4 stable release without problems. Or at least it's building ok - there's a lot to build... Nope. It failed, but a lot further on than yours did, and for different reasons (related to C++ template instantiation issues). Sorry. Don't know why you are getting the errors you are, except that there are likely some environmental issues that are causing the required typedefs to be compile out (uint32_t, etc).
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-29-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
- 06-29-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
