Error when building ns3-6 on Macbook Pro 64 bit Lion 10.7.3
140 views
Skip to first unread message
gglggl
unread,
May 8, 2012, 2:57:00 PM5/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hi - Trying to build ns3-6 on Macbook Pro 64 bit Lion 10.7.3 and get
this :
In file included from ../src/core/callback.cc:41:
../src/core/log.h:323: error: typedef ‘ns3::ns3::LogTimePrinter’ is
initialized (use __typeof__ instead)
../src/core/log.h:323: error: ‘ostream’ is not a member of ‘ns3::std’
../src/core/log.h:323: error: ‘os’ was not declared in this scope
../src/core/log.h:325: error: variable or field ‘LogSetTimePrinter’
declared void
../src/core/log.h:325: error: ‘LogTimePrinter’ was not declared in
this scope
../src/core/log.h:326: error: ‘LogTimePrinter’ does not name a type
../src/core/log.h:344: error: expected class-name before ‘{’ token
../src/core/log.h:346: error: ISO C++ forbids declaration of ‘ostream’
with no type
../src/core/log.h:346: error: invalid use of ‘::’
../src/core/log.h:346: error: expected ‘;’ before ‘&’ token
../src/core/log.h:348: error: expected `)' before ‘&’ token
../src/core/log.h: In member function ‘ns3::ns3::ParameterLogger&
ns3::ns3::ParameterLogger::operator<<(T)’:
../src/core/log.h:356: error: ‘m_os’ was not declared in this scope
../src/core/callback.cc: At global scope:
../src/core/callback.cc:44: error: ‘string’ in namespace ‘ns3::std’
does not name a type
Giuseppe Ferrante
unread,
May 9, 2012, 3:42:05 AM5/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-...@googlegroups.com
i got the same errors, than i installed it on virtual machine on ubuntu and everything works.
bye
gglggl
unread,
May 9, 2012, 2:00:01 PM5/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message