Le 22 févr. 2012 à 14:09, Alessio Treglia a écrit : > On Tue, Feb 21, 2012 at 10:51 PM, Christophe Massiot <mass...@via.ecp.fr> > wrote: >> Considering the error message, I guess the simplest would be to add >> #ifndef POLLRDHUP >> #define POLLRDHUP 0 >> #endif > > Unfortunately that wasn't enough, multicat still fails to build > on non-Linux archs, full buildlogs are available here: > https://buildd.debian.org/status/package.php?p=multicat
These functions use Linux-specific network APIs which have no equivalent on other OS's. The best is to #ifdef them as proposed in the attached patch.
multicat.patch.gz
Description: GNU Zip compressed data