Re: Need header file to compile tcludp package



On Aug 30, 11:59 am, dkushne...@xxxxxxxxx wrote:
Hi,
I have some new source code for tcludp package to support multiple
interfaces and I need to compile it on my Linux but there is a header
file missing (filio.h). Does anyone know where I can get this header
file? I'm not a developer but I would assume these files should be
available on the net somewhere. A quick search on the net didn't help,
but I tried before asking.
Thanks,
- Daniel

Hi,
I just realized that I think I don't need that file at all, I need to
fix the configure or make so that I compile for Linux.

When I try to compile the package, there are #ifdef statements for the
platform type, WIN, LINUX and ELSE. I am trying to compile on Linux.
When I do "make", it looks for the file "filio.h" which I do not have.
I'm wondering why it looks for that file because it should go into the
Linux #ifdef portion of the code (below) and in there it doesn't need
that file. It looks like it's going into the ELSE portion. So, that
means that the platform is not being defined corrdctly - Is that
right?

Is there an easy way to fix this? Something to do with configure?

Thasnks,
- Daniel


#ifdef WIN32
#include <stdlib.h>
#include <tcl.h>
#include <winsock.h>
#include <stdio.h>
#else
#ifdef LINUX <<<<< Should go hete
#include <sys/ioctl.h>
#else
#include <sys/filio.h> <<<<< but it's going here
#endif
#endif


.



Relevant Pages