On Tue, 14 Dec 1999, a sun wrote:

> 
> hi all,
> 
> i'm making some changes to the interface detection code. if you would
> send me results of the code snippet at the end, i would appreciate
> it. i'm especially interested in knowing what the various solaris
> versions do with it. here's the type of information that i would like:
>      os: linux 2.2 / glibc 2.1.1
> results: compiles without problems. returns
>        iface: lo -> 1
>        iface: eth0 -> 2
>        iface: eth0:0 -> 2


os: linux 2.0.36 OR 2.2.9 OR 2.2.12 / glibc 2.0.7
results: errors compiling
iface.c: In function `main':
iface.c:9: warning: assignment makes pointer from integer without a cast
iface.c:10: dereferencing pointer to incomplete type
iface.c:11: dereferencing pointer to incomplete type
iface.c:11: dereferencing pointer to incomplete type
iface.c:12: increment of pointer to unknown structure
iface.c:12: arithmetic on pointer to an incomplete type


os: linux 2.2.13 / glibc 2.1.1
results: compiles without problems
iface: lo -> 1
iface: eth0 -> 2

        Andy

Reply via email to