View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004285 | unreal | installing | public | 2014-03-14 01:14 | 2014-03-14 01:14 |
Reporter | peterkingalexander | Assigned To | syzop | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Intel Core 2 Duo | OS | Mac OS X | OS Version | 10.5.2 |
Product Version | 3.2.7 | ||||
Fixed in Version | 3.2.8 | ||||
Summary | 0004285: Compile error on Mac OS X | ||||
Description | When I want to compile UnrealIRCD, i get the following error on my mac: Building src gcc -I../include -I/Users/etienne/ircd/Unreal3.2.7/extras/regexp/include -I/Users/etienne/ircd/Unreal3.2.7/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -c timesynch.c gcc -I../include -I/Users/etienne/ircd/Unreal3.2.7/extras/regexp/include -I/Users/etienne/ircd/Unreal3.2.7/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -c res.c gcc -I../include -I/Users/etienne/ircd/Unreal3.2.7/extras/regexp/include -I/Users/etienne/ircd/Unreal3.2.7/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -c s_bsd.c s_bsd.c: In function ‘init_sys’: s_bsd.c:641: error: too many arguments to function ‘setpgrp’ make[1]: *** [s_bsd.o] Error 1 make: *** [build] Error 2 | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
http://bugs.unrealircd.org/view.php?id=3489 |
|
Please try to reproduce this with the current CVS http://www.vulnscan.org/UnrealIRCd/cvs/Unr3.2-20080216.tar.gz |
|
Just an FYI that I am getting the same error and discovered this post about it. But there is no current CVS build at http://www.vulnscan.org/UnrealIRCd/cvs/Unr3.2-20080216.tar.gz to test out. |
|
I have the same (?) error. Used latest CVS-Package. (Unr3.2-20070817.tar.gz) Here's my result: $ make Building src gcc -I../include -I/Users/cimnine/Desktop/unreal/Unreal3.2-cvs/extras/regexp/include -I/Users/cimnine/Desktop/unreal/Unreal3.2-cvs/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -DZIP_LINKS -c timesynch.c gcc -I../include -I/Users/cimnine/Desktop/unreal/Unreal3.2-cvs/extras/regexp/include -I/Users/cimnine/Desktop/unreal/Unreal3.2-cvs/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -DZIP_LINKS -c res.c gcc -I../include -I/Users/cimnine/Desktop/unreal/Unreal3.2-cvs/extras/regexp/include -I/Users/cimnine/Desktop/unreal/Unreal3.2-cvs/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -DZIP_LINKS -c s_bsd.c s_bsd.c: In function 'init_sys': s_bsd.c:641: error: too many arguments to function 'setpgrp' make[1]: *** [s_bsd.o] Error 1 make: *** [build] Error 2 In the ./Config script i've choosen /etc/unreal as conf-path, and /usr/sbin/ircd for the executable. I've enabled IPv6 support and the option requires a zlib path, which I haven't provided. Everything else I left default. I'm using (as of today, 15th April 08) OSX 10.5.2 (9C7010) with Darwin 9.2.2. My system is fully patched. GCC-version: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) Make-version: GNU Make 3.81 br Chris |
|
found a solution for me. replaced this on line 636 of s_bsd.c: #if defined(HPUX) || defined(_SOLARIS) || \ defined(_POSIX_SOURCE) || defined(SVR4) || defined(SGI) (void)setsid(); #else (void)setpgrp(0, (int)getpid()); #endif with this: (void)setpgid(0,(int)getpid()); I don't know exactly the 'defined()' for OS-X. But you devs will hopefully know it. Best Regards Chris |
|
cimnine: your solution works for me too! I'm on Leopard 10.5.2 with the latest iPhone SDK (new version of gcc AFAIK.) |
|
fixed in 3.2.8 or 3.2.9 |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-14 01:14 | peterkingalexander | New Issue | |
2014-03-14 01:14 | peterkingalexander | Issue generated from: 0003638 |