From kde-devel Mon Mar 26 23:17:21 2001 From: Rob Napier Date: Mon, 26 Mar 2001 23:17:21 +0000 To: kde-devel Subject: Re: Trouble compiling kdecore/netsupp.h on Solaris X-MARC-Message: https://marc.info/?l=kde-devel&m=98564959011976 On Fri, Mar 23, 2001 at 10:34:13PM -0300, Thiago Macieira wrote: > Rob Napier wrote: > > > netsupp.h:197: type specifier omitted for parameter > > netsupp.h:197: parse error before `,' > > netsupp.cpp: In function `struct addrinfo * make_unix(const char *, > > const char *)': > > netsupp.cpp:91: parse error before `1' > [snip] > > I guess the error was because ksocklen_t not being defined. It is > defined in ksockaddr.h and it was never included. > > As for the "1" error, it's because the compiler #define's sun to be 1. > Maybe you could force it to not define (-ansi?). Anyways, I changed the > definitions to _sun, so it should work now. > > Please check. Seems fixed. Thanks, Rob >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<