Heyas,

I was just wondering if anyone has gotten diald-0.16 to run under Alpha
Linux.  It seems that some of the source code needed a little adjustment[1],
and except for a compile error in filter.c[2], I think I almost have it.


[1] Basically, I just removed all the #include <linux/*.h>'s, the compiler
    kept whining about redefinitions of stuff.  Also did some moderate
    typecasting/stamping out of minor fires during the compile and changed
    the #undef for LITTLE_ENDIAN to BIG.

[2] Results from make:

    cc -O2 -Wall -pipe   -c filter.c -o filter.o
    filter.c: In function `filter_read':
    filter.c:114: dereferencing pointer to incomplete type
    filter.c:126: dereferencing pointer to incomplete type
    make: *** [filter.o] Error 1

    Offending lines:

        114:  if (((struct iphdr *) packet->saddr == local_addr)
        126:  if ((ntohs(((struct iphdr *)packet)->frag_off) & 0x1fff) == 0)

    Question: What is "packet" (type of struct), and where is it defined?

Thanks, and have a good one.  :)

-K. Spoon
--
"Multivalence reduces to bivalence in extreme cases."  --  Bart Kosko


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to