It looks like the use of -r is deliberate -- it really is trying to emit a
relocatable object (topHandler02.o).  I'd say the problem is the -lrt.
 Presumably, they really only want to pass -lrt when they actually link
their final output, rather than when creating intermediate objects?

For what it's worth, librt is a filter on libc these days so it's not
actually necessary to explicitly link it at all on recent (since s10?)
systems.



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to