Bugzilla – Bug 309
ns-3.2 RC1 build fails on FreeBSD7
Last modified: 2008-09-04 19:26:02 UTC
(marked as simulation core for now-- need to add a "contrib" component) [281/532] cxx: src/contrib/gtk-config-store.cc -> build/debug/src/contrib/gtk-config-store_1.o cc1plus: warnings being treated as errors ../src/contrib/gtk-config-store.cc: In function 'void ns3::cell_data_function_col_1(GtkTreeViewColumn*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, void*)': ../src/contrib/gtk-config-store.cc:180: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc:181: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc:185: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc:186: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc: In function 'void ns3::cell_data_function_col_0(GtkTreeViewColumn*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, void*)': ../src/contrib/gtk-config-store.cc:199: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc:202: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc:205: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc:208: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc:213: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc:216: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc: In function 'GtkWidget* ns3::create_view(GtkTreeStore*)': ../src/contrib/gtk-config-store.cc:352: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc:364: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc: In function 'void ns3::save_clicked(GtkButton*, void*)': ../src/contrib/gtk-config-store.cc:395: warning: missing sentinel in function call ../src/contrib/gtk-config-store.cc: In function 'void ns3::load_clicked(GtkButton*, void*)': ../src/contrib/gtk-config-store.cc:429: warning: missing sentinel in function call Build failed -> task failed (err #129): [bld:///usr/home/core/ns/ns-3.2-RC1/src/contrib/gtk-config-store_1.o]
could this be a 64 bit box ?
Created attachment 238 [details] tentative patch Please, test and report
(In reply to comment #2) > Created an attachment (id=238) [details] > tentative patch > > Please, test and report > Your patch worked and ns-3 built. However, it led to another problem: $ ./waf check Entering directory `/usr/home/ns/ns-3.2-RC1/build' Compilation finished successfully WARNING <wscript_main> Don't know how to configure dynamic library path for the platform 'freebsd7' /libexec/ld-elf.so.1: Shared object "libns3.so" not found, required by "print-introspected-doxygen" btw, it is a 32-bit box
gustavo, any idea ?
btw, what version of gcc ?
Should be fixed now. Confirm?
(In reply to comment #6) > Should be fixed now. Confirm? > Yes, ns-3-dev now works. I'll close it, thanks. By the way, it is gcc-4.2.1 on this machine.