Re: IO::Interface
"Gerrit P. Haase" <[email protected]> Mon, 8 Mar 2004 12:52:01 +0100
| Newsgroups | gmane.os.cygwin.perl |
|---|---|
| Organization | Esse keine toten Tiere |
| Message-ID | <[email protected]> |
------------661F0442B80F0B9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit dominix schrieb: > does someone ever get IO::Interface to compile succesfully ? > I got this > # make test > gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSEIMPORTLIB > -O2 -DVERSION=\"0.97\" -DXS_VERSION=\"0.97\" > "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE" Interface.c > Interface.xs: Dans la fonction << XS_IO__Interface_if_addr >>: > Interface.xs:404: error: `SIOCSIFADDR' undeclared (first use in this function) > Interface.xs:404: error: (Each undeclared identifier is reported only once > Interface.xs:404: error: for each function it appears in.) > Interface.xs: Dans la fonction << XS_IO__Interface_if_broadcast >>: > Interface.xs:439: error: `SIOCSIFBRDADDR' undeclared (first use in this function) > Interface.xs: Dans la fonction << XS_IO__Interface_if_netmask >>: > Interface.xs:473: error: `SIOCSIFNETMASK' undeclared (first use in this function) > Interface.xs: Dans la fonction << XS_IO__Interface_if_hwaddr >>: > Interface.xs:541: error: `SIOCSIFHWADDR' undeclared (first use in this function) > Interface.xs: Dans la fonction << XS_IO__Interface_if_flags >>: > Interface.xs:569: error: `SIOCSIFFLAGS' undeclared (first use in this function) > make: *** [Interface.o] Erreur 1 I think it is not possible to use this module under Cygwin. The functions are not implemented in Cygwin and therefore the needed sys/sockio.h header is not present (the macros you're missing are usually defined in sys/sockio.h). Probably it will compile if you define the missing macros, but it will not work correct. Gerrit -- =^..^= ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/ndFolB/TM