[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Success: kde 3.1 cvs running on sgi IRIX!
From: Hans Meine <hans_meine () gmx ! net>
Date: 2002-08-13 11:09:40
[Download RAW message or body]
Andreas Sturm <a_sturm@naimasoft.com> writes:
> cc-1020 cc: ERROR File = main.c, Line = 318
> The identifier "socklen_t" is undefined.
>
> socklen_t len;
>
> Where should socklen_t be defined?
Argl. I tracked down sth. like this on a Solaris system lately. It was
hard to find, but somehow configure put a #define in config.h which made
the system headers break.
WORKAROUND: Removing the socklen_t define in config.h did the trick.
SOLUTION: The configure check should be fixed to test if a program
using socklen_t still works despite of the #define.
I wanted to post this but forgot... :-( Sorry, but right now, I don't
have the sys/socket.h at hand, otherwise I could give more info. IIRC,
there was a "typedef int socklen_t" which a "#define socklen_t int"
from config.h made appear as "typedef int int" which made the compiler
give something like "ERROR: What the hell does this $%!#§ want to tell
me??" ;-p
--
Ciao, / /
/--/
/ / ANS
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic