RE: Compiling irda socket code

2003-02-26 Thread Norman Vine
Ohgren, Daniel writes: > > Now i almost pinpointed my problem to: > > 108: struct sockaddr_irda { > 109: sa_family_t sir_family; /* AF_IRDA */ > 110: __u8sir_lsap_sel; /* LSAP selector */ > 111: __u32 sir_addr; /* Device address */ > 112: c

Compiling irda socket code

2003-02-26 Thread Ohgren, Daniel [Non-Employee/0454]
;, `struct sockaddr_in', `struct sockaddr_un', etc. */ #define __SOCKADDR_COMMON(sa_prefix) \ sa_family_t sa_prefix##family Any ideas? Regards Daniel > -Original Message- > From: Ohgren, Daniel [Non-Employee/0454] > Sent: den 24 februari 2003 14:24 > To:

Compiling irda socket code

2003-02-24 Thread Ohgren, Daniel [Non-Employee/0454]
Hello, I've looked for this answer on many forums without luck. I'm trying to compile som code written and compiled on a linux-machine and need to compile it in Cygwin to port it on a microprocessor. I now that Cygwin is _not_ Linux, but as C is an 'international' language it should work...? But