Bug 1247 - --enable-shared-and-static fails on OSX
--enable-shared-and-static fails on OSX
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: build system
pre-release
All All
: P5 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-15 18:47 EDT by John Abraham
Modified: 2012-01-04 12:44 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Abraham 2011-08-15 18:47:32 EDT
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 EDT
Output of waf -v?
Comment 2 Tom Henderson 2012-01-04 12:44:48 EST
obsoleted by changeset dea6f61d3247 that removed this option