Bug 309 - ns-3.2 RC1 build fails on FreeBSD7
: ns-3.2 RC1 build fails on FreeBSD7
Status: RESOLVED FIXED
: ns-3
simulation core
: ns-3.2
: All All
: P1 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-09-03 18:27 EDT by
Modified: 2008-09-04 19:26 EDT (History)


Attachments
tentative patch (7.12 KB, patch)
2008-09-03 20:34 EDT, Mathieu Lacage
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-09-03 18:27:36 EDT
(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]
------- Comment #1 From 2008-09-03 20:19:10 EDT -------
could this be a 64 bit box ?
------- Comment #2 From 2008-09-03 20:34:37 EDT -------
Created an attachment (id=238) [details]
tentative patch

Please, test and report
------- Comment #3 From 2008-09-04 11:41:12 EDT -------
(In reply to comment #2)
> Created an attachment (id=238) [details] [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
------- Comment #4 From 2008-09-04 11:43:45 EDT -------
gustavo, any idea ?
------- Comment #5 From 2008-09-04 11:59:14 EDT -------
btw, what version of gcc ?
------- Comment #6 From 2008-09-04 13:31:29 EDT -------
Should be fixed now.  Confirm?
------- Comment #7 From 2008-09-04 19:26:02 EDT -------
(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.