[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-solaris
Subject: [kde-solaris] FIONREAD undeclared in kdelib/kdecore/network
From: Dan Rawson <Daniel.Rawson () asml ! com>
Date: 2004-08-20 17:26:47
Message-ID: 41263457.5030402 () asml ! nl
[Download RAW message or body]
I'm building KDE 3.3 on Solaris 8 with gcc 3.2.2
kdelibs/kdecore/network/ksocketdevice.cpp fails to compile because FIONREAD is \
undefined (line 364)
The FIONREAD macro is defined in /usr/include/sys/filio.h. This only gets included \
(from ioctl.h) if BSD_COMP is defined.
If I manually add -DBSD_COMP to the makefile in that directory, it builds fine. \
3.2.3 built fine, but it looks like the network code is either new or moved. The old \
kdecore/kextsock.cpp has a note "TODO: FIONREAD ioctl", but that's it . . .
Questions:
1. Is it a bug <g>?
2. I don't really know much about network code. What problems will I introduce with \
this solution? 3. Is there a better solution??
TIA . . .
Dan
--
/* -------------------------------------------------------------------- *
* Dan Rawson * ASML Software Configuration Mgmt. \_____/ *
* daniel.rawson@asml.nl * (203) 563-3881 | ~ ~ | *
* * (- 0 0 -) *
*--------------------------------------------------------oOOo-(_)-oOOo-*
* Never attempt to teach a pig to sing. It wastes your time and *
* annoys the pig. - Robert Heinlein */
--
The information contained in this communication and any attachments is confidential \
and may be privileged, and is for the sole use of the intended recipient(s). Any \
unauthorized review, use, disclosure or distribution is prohibited. If you are not \
the intended recipient, please notify the sender immediately by replying to this \
message and destroy all copies of this message and any attachments. ASML is neither \
liable for the proper and complete transmission of the information contained in this \
communication, nor for any delay in its receipt.
___________________________________________________
This message is from the kde-solaris mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic