Re: Error at compilation on Solaris 2.6
Mikko Työläjärvi <[email protected]> Tue, 21 Oct 2003 05:44:45 -0700 (PDT)
| Newsgroups | gmane.network.mathopd |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 21 Oct 2003, Piotr Kasztelowicz wrote: > Hello > > I'll compile mathopd 1.4 on Solaris 2.6 (Sun ultrasprac) > with gcc 2.95.2 but such error has been presented > > sun:5 ~/src/mathopd-1.4p1/src% make > gcc -c -O -Wall core.c -o core.o > core.c: In function `accept_connection': > core.c:142: `socklen_t' undeclared (first use in this function) > core.c:142: (Each undeclared identifier is reported only once > core.c:142: for each function it appears in.) > core.c:142: parse error before `lsa' > core.c:147: `lsa' undeclared (first use in this function) > make: *** [core.o] Error 1 > > Please help :) Solaris 2.6 is old... Try compiling with -Dsocklen_t=int $.02, /Mikko