View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004272||unreal||ircd||public||2014-03-14 01:14||2014-03-14 01:14|
|Platform||x86_64||OS||Mac OS X||OS Version||10.9 (13A603)|
|Target Version||Fixed in Version||22.214.171.124|
|Summary||0004272: Inlines break OS X build|
|Description||I'm guessing the compiler or linker is exoecting C99, or something else that isn't GNU89.|
|Steps To Reproduce||./Config|
# setup unrealircd.conf
|Tags||No tags attached.|
|3rd party modules|
Example ouput of running ./unreal start:
* Loading IRCd configuration ..
* unrealircd.conf:36: loadmodule src/modules/commands.so: failed to load: dlopen(tmp/E3E72481.commands.so, 2): Symbol not found: _fast_badword_match
[error] IRCd configuration failed to load
Possible error encountered (IRCd seemingly not started)
issue_4251-add_gnu89_to_darwin_build.patch (773 bytes)
||Uploaded a fix that forces GNU89 interpretation. Similar to the patch for 0004239 (BSD version of same issue), except doesn't add the export-dynamic option; that option didn't seem needed in this case.|
Ok, thanks, I'll take a look at both.
If this fixes all OS X problems (it does, right?) then I'm seriously considering releasing 126.96.36.199 since we want OS X to work out of the box.
I can confirm that with a clean clone with the above patch applied, I can ./Config, compile, and run ircd on the latest from Apple, OS X 10.9.1 (13B42).
My system has the following:
Developer toolchain from XCode 5.0.2
Out of the box libcurl from XCode 5.0.2 (for remote includes support)
c-ares lib from Homebrew (for remote includes support)
Passed "--with-system-cares" to ./configure
Fixed in http://hg.unrealircd.com/hg/unreal/rev/05dcf4fd18ab
Fix compile problem on OS X 10.9, reported and patch provided by JustinTArthur (0004251).