View Issue Details

IDProjectCategoryView StatusLast Update
0000957unrealinstallingpublic2003-05-14 13:55
ReporterJuno Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
Product Version3.2-beta16 
Summary0000957: Solaris compile problems
DescriptionWhen I run `make` it breaks...I'm using GCC 3.0.4 on Solaris...
Steps To ReproduceJust run make on a solaris box using GCC 3.0.4...
Additional Informationgcc -I../include -pipe -g -O2 -funsigned-char -c s_bsd.c
s_bsd.c: In function `init_sys':
s_bsd.c:634: too many arguments to function `setpgrp'
s_bsd.c: In function `do_dns_async':
s_bsd.c:2615: `FIONREAD' undeclared (first use in this function)
s_bsd.c:2615: (Each undeclared identifier is reported only once
s_bsd.c:2615: for each function it appears in.)
make[1]: *** [s_bsd.o] Error 1
make[1]: Leaving directory `/usr/lib/ircd/Unreal3.2/src'
make: *** [build] Error 2
3rd party modules

Activities

syzop

2003-05-06 18:45

administrator   ~0002671

Last edited: 2003-05-06 19:03

About your first error:
#if defined(HPUX) || defined(_SOLARIS) || \
    defined(_POSIX_SOURCE) || defined(SVR4) || defined(SGI)
    (void)setsid();
#else
    (void)setpgrp(0, (int)getpid()); <- where it errors
#endif
    (void)close(0); /* fd 0 opened by inetd */
    local[0] = NULL;
}

so I guess something went wrong while detecting the OS? There's clearly a defined(_SOLARIS) check up there and that one isn't matched..

No idea about FIONREAD, but this really doesn't look like something which was introduced by beta16 in this .c file... so maybe something wrong with ./configure or config.h or... dunnow ;p.
**edit**
*hurry to say this otherwise I'll get killed*...
Note that I'm not saying you are doing something wrong, just that it's probably not that .c file ;p...

edited on: 05-06-03 19:03

syzop

2003-05-06 21:57

administrator   ~0002684

Shell! Shell!

codemastr

2003-05-11 22:09

reporter   ~0002764

Can you paste us a uname -a output?

syzop

2003-05-14 13:55

administrator   ~0002800

duplicate -- Guy from 0000984 is just a bit more helpful.

Issue History

Date Modified Username Field Change
2003-05-06 15:34 Juno New Issue
2003-05-06 18:45 syzop Note Added: 0002671
2003-05-06 19:03 syzop Note Edited: 0002671
2003-05-06 21:57 syzop Note Added: 0002684
2003-05-11 22:09 codemastr Note Added: 0002764
2003-05-11 22:21 syzop Summary Compile problems => Solaris compile problems
2003-05-11 22:47 syzop Severity minor => major
2003-05-11 22:47 syzop Category documentation => installing
2003-05-14 13:55 syzop Status new => closed
2003-05-14 13:55 syzop Note Added: 0002800