[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: problem compiling libkICE.a on Solaris
From: Mathias Waack <mathias () atoll-net ! de>
Date: 2001-03-12 15:07:53
[Download RAW message or body]
Hi all,
I can't compile Xtranssock.c on Solaris because of an undefined
symbol FIONREAD. I think the problem is, that the symbol SVR4 is not
defined on Solaris, instead it defines __SVR4. So the condition
for the include for sys/filio.h should be changed? (patch attached)
But anyway libDCOP doesn't link. I get a lot of undefined symbols
from libz.a:(
Mathias
--
Mathias Waack | Mathias.Waack@ti.uni-mannheim.de
Tel.: +49 621 181 2717 Fax.: +49 621 181 2713
["patch" (text/x-c)]
Index: Xtranssock.c
===================================================================
RCS file: /home/kde/kdelibs/dcop/KDE-ICE/Xtranssock.c,v
retrieving revision 1.2
diff -u -3 -p -r1.2 Xtranssock.c
--- Xtranssock.c 2001/03/12 01:13:34 1.2
+++ Xtranssock.c 2001/03/12 15:05:19
@@ -90,7 +90,7 @@ from The Open Group.
#include <netinet/tcp.h>
#endif /* !NO_TCP_H */
#include <sys/ioctl.h>
-#if defined(SVR4) && !defined(SCO325) && !defined(DGUX)
+#if (defined(SVR4) || defined(__SVR4)) && !defined(SCO325) && !defined(DGUX)
#include <sys/filio.h>
#endif
#if (defined(i386) && defined(SYSV)) || defined(_SEQUENT_)
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic