Bug 1247

Summary: --enable-shared-and-static fails on OSX
Product: ns-3 Reporter: John Abraham <john.abraham.in>
Component: build systemAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: RESOLVED INVALID    
Severity: normal CC: ns-bugs, tomh
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   

Description John Abraham 2011-08-15 18:47:32 UTC
on OSX, using
./waf -d debug --enable-shared-and-static configure --enable-examples

we get

[1930/1997] static_link:  -> build/debug/libns3-template.a
ar: no archive members specified
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
Waf: Leaving directory `/Users/john/ns-3/animqt4/ns-3-dev/build'
Build failed:  -> task failed (err #1): 
	{task: static_link  -> libns3-template.a}
 john$
Comment 1 Gustavo J. A. M. Carneiro 2011-08-25 14:04:48 UTC
Output of waf -v?
Comment 2 Tom Henderson 2012-01-04 12:44:48 UTC
obsoleted by changeset dea6f61d3247 that removed this option