Thanks
make cc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict- +aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSE +T_BITS=64 -O2 -g -DVERSION=\"0.92\" -DXS_VERSION=\"0.92\" -fPIC "-I +/usr/lib/perl/5.10/CORE" Libdnet.c Libdnet.xs:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ + before ‘TunHandle’ Libdnet.c: In function ‘XS_Net__Libdnet_dnet_tun_open’: Libdnet.c:1963: error: ‘TunHandle’ undeclared (first use in this funct +ion) Libdnet.c:1963: error: (Each undeclared identifier is reported only on +ce Libdnet.c:1963: error: for each function it appears in.) Libdnet.c:1963: error: ‘RETVAL’ undeclared (first use in this function +) Libdnet.c: In function ‘XS_Net__Libdnet_dnet_tun_fileno’: Libdnet.c:1994: error: ‘TunHandle’ undeclared (first use in this funct +ion) Libdnet.c:1994: error: ‘handle’ undeclared (first use in this function +) Libdnet.c:2000: error: expected expression before ‘)’ token Libdnet.c: In function ‘XS_Net__Libdnet_dnet_tun_name’: Libdnet.c:2028: error: ‘TunHandle’ undeclared (first use in this funct +ion) Libdnet.c:2028: error: ‘handle’ undeclared (first use in this function +) Libdnet.c:2034: error: expected expression before ‘)’ token Libdnet.xs:1208: warning: assignment makes pointer from integer withou +t a cast Libdnet.c: In function ‘XS_Net__Libdnet_dnet_tun_send’: Libdnet.c:2062: error: ‘TunHandle’ undeclared (first use in this funct +ion) Libdnet.c:2062: error: ‘handle’ undeclared (first use in this function +) Libdnet.c:2070: error: expected expression before ‘)’ token Libdnet.c: In function ‘XS_Net__Libdnet_dnet_tun_recv’: Libdnet.c:2098: error: ‘TunHandle’ undeclared (first use in this funct +ion) Libdnet.c:2098: error: ‘handle’ undeclared (first use in this function +) Libdnet.c:2108: error: expected expression before ‘)’ token Libdnet.c: In function ‘XS_Net__Libdnet_dnet_tun_close’: Libdnet.c:2142: error: ‘TunHandle’ undeclared (first use in this funct +ion) Libdnet.c:2142: error: ‘handle’ undeclared (first use in this function +) Libdnet.c:2143: error: ‘RETVAL’ undeclared (first use in this function +) Libdnet.c:2147: error: expected expression before ‘)’ token make: *** [Libdnet.o] Error 1
In reply to libdnet make fails by payload101
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |