Hello
I am unable to compile dkftpbench-0.37 on Solaris. I am getting
numerous errors, which I have pasted below. I would very much
appreciate any help you could provide.
Thanks,
Sasha
> make all
wine --> 1 job
c++ -DPACKAGE=\"dkftpbench\" -DVERSION=\"0.37\" -DHAVE_LIBNSL=1
-DHAVE_LIBSOCKET=1 -DHAVE_DEVPOLL=1 -DHAVE_DEVEPOLL=0 -D_GNU_SOURCE=1
-I. -I. -Wall -W -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wwrite-strings -O2 -c Poller_sigio.cc
wine --> 2 jobs
gcc -DPACKAGE=\"dkftpbench\" -DVERSION=\"0.37\" -DHAVE_LIBNSL=1
-DHAVE_LIBSOCKET=1 -DHAVE_DEVPOLL=1 -DHAVE_DEVEPOLL=0 -D_GNU_SOURCE=1
-I. -I. -Wall -W -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wwrite-strings -O2 -c getifaddrs.c
wine --> 3 jobs
c++ -Wall -W -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wwrite-strings -O2 -o robouser_test dprint.o
eclock.o ftp_client_pipe.o ftp_client_proto.o inet_aton.o nbbio.o
robouser.o robouser_test.o CHECK.o Poller_poll.o Poller.o Sked.o
-lsocket -lnsl inet_aton.c
wine --> 4 jobs
c++ -Wall -W -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wwrite-strings -O2 -o ftp_client_pipe_test
dprint.o eclock.o ftp_client_pipe.o ftp_client_pipe_test.o
ftp_client_proto.o Poller_poll.o Poller.o inet_aton.o nbbio.o Sked.o
-lsocket -lnsl inet_aton.c
wine --> Output/Warnings/Errors
gcc -DPACKAGE=\"dkftpbench\" -DVERSION=\"0.37\" -DHAVE_LIBNSL=1
-DHAVE_LIBSOCKET=1 -DHAVE_DEVPOLL=1 -DHAVE_DEVEPOLL=0 -D_GNU_SOURCE=1
-I. -I. -Wall -W -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wwrite-strings -O2 -c getifaddrs.c
In file included from getifaddrs.c:37:
/usr/include/net/if.h:58: parse error before `ushort_t'
/usr/include/net/if.h:58: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:88: parse error before `}'
/usr/include/net/if.h:231: field `ifa_addr' has incomplete type
/usr/include/net/if.h:233: field `ifu_broadaddr' has incomplete type
/usr/include/net/if.h:234: field `ifu_dstaddr' has incomplete type
/usr/include/net/if.h:248: parse error before `uint32_t'
/usr/include/net/if.h:248: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:250: parse error before `}'
/usr/include/net/if.h:266: field `lnr_addr' has incomplete type
/usr/include/net/if.h:267: parse error before `uint8_t'
/usr/include/net/if.h:267: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:268: warning: data definition has no type or
storage class
/usr/include/net/if.h:269: parse error before `lnr_state_diff_lla'
/usr/include/net/if.h:269: warning: data definition has no type or
storage class
/usr/include/net/if.h:275: parse error before `}'
/usr/include/net/if.h:275: warning: data definition has no type or
storage class
/usr/include/net/if.h:305: parse error before `uint8_t'
/usr/include/net/if.h:305: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:306: warning: data definition has no type or
storage class
/usr/include/net/if.h:307: parse error before `lir_reachretrans'
/usr/include/net/if.h:307: warning: data definition has no type or
storage class
/usr/include/net/if.h:308: parse error before `lir_maxmtu'
/usr/include/net/if.h:308: warning: data definition has no type or
storage class
/usr/include/net/if.h:309: warning: data definition has no type or
storage class
/usr/include/net/if.h:329: parse error before `uint_t'
/usr/include/net/if.h:329: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:329: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:330: warning: data definition has no type or
storage class
/usr/include/net/if.h:333: parse error before `lifr_movetoindex'
/usr/include/net/if.h:333: warning: data definition has no type or
storage class
/usr/include/net/if.h:335: field `lifru_addr' has incomplete type
/usr/include/net/if.h:336: field `lifru_dstaddr' has incomplete type
/usr/include/net/if.h:337: field `lifru_broadaddr' has incomplete type
/usr/include/net/if.h:338: field `lifru_token' has incomplete type
/usr/include/net/if.h:339: field `lifru_subnet' has incomplete type
/usr/include/net/if.h:341: parse error before `uint64_t'
/usr/include/net/if.h:341: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:343: parse error before `lifru_mtu'
/usr/include/net/if.h:343: warning: data definition has no type or
storage class
/usr/include/net/if.h:350: parse error before `lifru_delay'
/usr/include/net/if.h:350: warning: data definition has no type or
storage class
/usr/include/net/if.h:351: warning: data definition has no type or
storage class
/usr/include/net/if.h:371: parse error before `}'
/usr/include/net/if.h:378: field `sa_addr' has incomplete type
/usr/include/net/if.h:388: field `slr_src' has incomplete type
/usr/include/net/if.h:389: field `slr_grp' has incomplete type
/usr/include/net/if.h:390: parse error before `uint_t'
/usr/include/net/if.h:390: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:391: warning: data definition has no type or
storage class
/usr/include/net/if.h:392: parse error before `slr_wrong_if'
/usr/include/net/if.h:392: warning: data definition has no type or
storage class
/usr/include/net/if.h:393: parse error before `slr_pad'
/usr/include/net/if.h:393: warning: data definition has no type or
storage class
/usr/include/net/if.h:408: field `ifru_addr' has incomplete type
/usr/include/net/if.h:409: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:411: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:423: parse error before `uint_t'
/usr/include/net/if.h:423: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:423: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:428: parse error before `uint32_t'
/usr/include/net/if.h:428: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:429: warning: data definition has no type or
storage class
/usr/include/net/if.h:430: parse error before `ex_addr'
/usr/include/net/if.h:430: warning: data definition has no type or
storage class
/usr/include/net/if.h:431: parse error before `size'
/usr/include/net/if.h:431: warning: data definition has no type or
storage class
/usr/include/net/if.h:432: warning: data definition has no type or
storage class
/usr/include/net/if.h:436: parse error before `uint32_t'
/usr/include/net/if.h:436: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:437: warning: data definition has no type or
storage class
/usr/include/net/if.h:438: warning: data definition has no type or
storage class
/usr/include/net/if.h:441: parse error before `uint32_t'
/usr/include/net/if.h:441: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:443: warning: data definition has no type or
storage class
/usr/include/net/if.h:444: warning: data definition has no type or
storage class
/usr/include/net/if.h:449: parse error before `uint32_t'
/usr/include/net/if.h:449: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:450: warning: data definition has no type or
storage class
/usr/include/net/if.h:451: warning: data definition has no type or
storage class
/usr/include/net/if.h:453: parse error before `}'
/usr/include/net/if.h:453: warning: data definition has no type or
storage class
/usr/include/net/if.h:475: parse error before `}'
/usr/include/net/if.h:479: parse error before `sa_family_t'
/usr/include/net/if.h:479: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:482: parse error before `}'
/usr/include/net/if.h:492: parse error before `sa_family_t'
/usr/include/net/if.h:492: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:496: parse error before `caddr_t'
/usr/include/net/if.h:496: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:498: parse error before `}'
/usr/include/net/if.h:498: warning: data definition has no type or
storage class
/usr/include/net/if.h:501: parse error before `}'
/usr/include/net/if.h:536: parse error before `caddr_t'
/usr/include/net/if.h:536: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:536: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:538: parse error before `}'
/usr/include/net/if.h:538: warning: data definition has no type or
storage class
/usr/include/net/if.h:541: parse error before `}'
/usr/include/net/if.h:557: parse error before `uchar_t'
/usr/include/net/if.h:557: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:558: warning: data definition has no type or
storage class
/usr/include/net/if.h:559: parse error before `ifi_hdrlen'
/usr/include/net/if.h:559: warning: data definition has no type or
storage class
/usr/include/net/if.h:560: parse error before `ifi_mtu'
/usr/include/net/if.h:560: warning: data definition has no type or
storage class
/usr/include/net/if.h:561: parse error before `ifi_metric'
/usr/include/net/if.h:561: warning: data definition has no type or
storage class
/usr/include/net/if.h:562: parse error before `ifi_baudrate'
/usr/include/net/if.h:562: warning: data definition has no type or
storage class
/usr/include/net/if.h:564: parse error before `ifi_ipackets'
/usr/include/net/if.h:564: warning: data definition has no type or
storage class
/usr/include/net/if.h:565: parse error before `ifi_ierrors'
/usr/include/net/if.h:565: warning: data definition has no type or
storage class
/usr/include/net/if.h:566: parse error before `ifi_opackets'
/usr/include/net/if.h:566: warning: data definition has no type or
storage class
/usr/include/net/if.h:567: parse error before `ifi_oerrors'
/usr/include/net/if.h:567: warning: data definition has no type or
storage class
/usr/include/net/if.h:568: parse error before `ifi_collisions'
/usr/include/net/if.h:568: warning: data definition has no type or
storage class
/usr/include/net/if.h:569: parse error before `ifi_ibytes'
/usr/include/net/if.h:569: warning: data definition has no type or
storage class
/usr/include/net/if.h:570: parse error before `ifi_obytes'
/usr/include/net/if.h:570: warning: data definition has no type or
storage class
/usr/include/net/if.h:571: parse error before `ifi_imcasts'
/usr/include/net/if.h:571: warning: data definition has no type or
storage class
/usr/include/net/if.h:572: parse error before `ifi_omcasts'
/usr/include/net/if.h:572: warning: data definition has no type or
storage class
/usr/include/net/if.h:573: parse error before `ifi_iqdrops'
/usr/include/net/if.h:573: warning: data definition has no type or
storage class
/usr/include/net/if.h:574: parse error before `ifi_noproto'
/usr/include/net/if.h:574: warning: data definition has no type or
storage class
/usr/include/net/if.h:576: parse error before `}'
/usr/include/net/if.h:576: warning: data definition has no type or
storage class
/usr/include/net/if.h:583: parse error before `ushort_t'
/usr/include/net/if.h:583: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:584: warning: data definition has no type or
storage class
/usr/include/net/if.h:585: parse error before `ifm_type'
/usr/include/net/if.h:585: warning: data definition has no type or
storage class
/usr/include/net/if.h:588: parse error before `ifm_index'
/usr/include/net/if.h:588: warning: data definition has no type or
storage class
/usr/include/net/if.h:590: parse error before `}'
/usr/include/net/if.h:590: warning: data definition has no type or
storage class
/usr/include/net/if.h:597: parse error before `ushort_t'
/usr/include/net/if.h:597: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:598: warning: data definition has no type or
storage class
/usr/include/net/if.h:599: parse error before `ifam_type'
/usr/include/net/if.h:599: warning: data definition has no type or
storage class
/usr/include/net/if.h:602: parse error before `ifam_index'
/usr/include/net/if.h:602: warning: data definition has no type or
storage class
/usr/include/net/if.h:604: parse error before `}'
/usr/include/net/if.h:604: warning: data definition has no type or
storage class
/usr/include/net/if.h:632: field `ifta_saddr' has incomplete type
/usr/include/net/if.h:633: field `ifta_daddr' has incomplete type
/usr/include/net/if.h:634: parse error before `uint_t'
/usr/include/net/if.h:634: warning: no semicolon at end of struct or
union
/usr/include/net/if.h:638: parse error before `ifta_vers'
/usr/include/net/if.h:638: warning: data definition has no type or
storage class
/usr/include/net/if.h:639: parse error before `ifta_secinfo'
/usr/include/net/if.h:639: warning: data definition has no type or
storage class
/usr/include/net/if.h:640: parse error before `}'
/usr/include/net/if.h:648: parse error before `if_nametoindex'
/usr/include/net/if.h:648: warning: data definition has no type or
storage class
/usr/include/net/if.h:649: parse error before `ifindex'
getifaddrs.c: In function `getifaddrs2':
getifaddrs.c:66: storage size of `ifconf' isn't known
getifaddrs.c:70: storage size of `sa_zero' isn't known
getifaddrs.c:78: warning: implicit declaration of function `socket'
getifaddrs.c:78: `SOCK_DGRAM' undeclared (first use in this function)
getifaddrs.c:78: (Each undeclared identifier is reported only once
getifaddrs.c:78: for each function it appears in.)
getifaddrs.c:120: structure has no member named `ifr_ifru'
getifaddrs.c:123: sizeof applied to an incomplete type
getifaddrs.c:144: structure has no member named `ifr_ifru'
getifaddrs.c:70: warning: unused variable `sa_zero'
getifaddrs.c:66: warning: unused variable `ifconf'
getifaddrs.c: In function `getifaddrs':
getifaddrs.c:182: warning: unused parameter `ifap'
getifaddrs.c: At top level:
/usr/include/net/if.h:347: storage size of `lifru_nd_req' isn't known
/usr/include/net/if.h:348: storage size of `lifru_ifinfo_req' isn't
known
/usr/include/net/if.h:589: storage size of `ifm_data' isn't known
getifaddrs.c:61: warning: `getifaddrs2' defined but not used
*** Error code 1
make: Fatal error: Command failed for target `getifaddrs.o' (on host
wine)
Waiting for 3 jobs to finish
wine --> Output/Warnings/Errors
c++ -DPACKAGE=\"dkftpbench\" -DVERSION=\"0.37\" -DHAVE_LIBNSL=1
-DHAVE_LIBSOCKET=1 -DHAVE_DEVPOLL=1 -DHAVE_DEVEPOLL=0 -D_GNU_SOURCE=1
-I. -I. -Wall -W -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wwrite-strings -O2 -c Poller_sigio.cc
Poller_sigio.cc:31: syntax error before `::'
Poller_sigio.cc:35: ANSI C++ forbids declaration `m_fds_used' with no
type
Poller_sigio.cc:36: ANSI C++ forbids declaration `m_fds_alloc' with no
type
Poller_sigio.cc:37: ANSI C++ forbids declaration `m_fds' with no type
Poller_sigio.cc:37: `fdstate_t' was not declared in this scope
Poller_sigio.cc:37: parse error before `)'
Poller_sigio.cc:41: parse error before `;'
Poller_sigio.cc:41: syntax error before `++'
Poller_sigio.cc:45: ANSI C++ forbids declaration `m_ready_head' with
no type
Poller_sigio.cc:46: ANSI C++ forbids declaration `m_ready_count' with
no type
Poller_sigio.cc:48: syntax error before `::'
Poller_sigio.cc:53: syntax error before `::'
Poller_sigio.cc:56: parse error before `>='
Poller_sigio.cc:56: syntax error before `--'
Poller_sigio.cc:61: ANSI C++ forbids declaration `waitForEvents' with
no type
Poller_sigio.cc:65: `SIG_UNBLOCK' was not declared in this scope
Poller_sigio.cc:65: `m_sigset' was not declared in this scope
Poller_sigio.cc:65: ANSI C++ forbids declaration `sigprocmask' with no
type
Poller_sigio.cc:65: initializer list being treated as compound
expression
Poller_sigio.cc:68: syntax error before `.'
Poller_sigio.cc:73: ANSI C++ forbids declaration `m_fds' with no type
Poller_sigio.cc:73: redefinition of `int m_fds'
Poller_sigio.cc:37: `int m_fds' previously defined here
Poller_sigio.cc:74: parse error before `}'
Poller_sigio.cc:77: syntax error before `::'
Poller_sigio.cc:81: syntax error before `::'
Poller_sigio.cc:85: parse error before `void'
Poller_sigio.cc:86: parse error before `void'
Poller_sigio.cc:91: `fd' was not declared in this scope
Poller_sigio.cc:91: syntax error before `.'
Poller_sigio.cc:93: ANSI C++ forbids declaration `m_ready_head' with
no type
Poller_sigio.cc:93: redefinition of `int m_ready_head'
Poller_sigio.cc:45: `int m_ready_head' previously defined here
Poller_sigio.cc:93: `fd' was not declared in this scope
Poller_sigio.cc:94: parse error before `}'
Poller_sigio.cc:98: `fd' was not declared in this scope
Poller_sigio.cc:98: syntax error before `.'
Poller_sigio.cc:99: `fd' was not declared in this scope
Poller_sigio.cc:99: syntax error before `.'
Poller_sigio.cc:102: `head_prev' was not declared in this scope
Poller_sigio.cc:102: syntax error before `.'
Poller_sigio.cc:105: syntax error before `.'
Poller_sigio.cc:107: syntax error before `++'
Poller_sigio.cc:111: syntax error before `::'
Poller_sigio.cc:114: `fd' was not declared in this scope
Poller_sigio.cc:115: `fd' was not declared in this scope
Poller_sigio.cc:118: parse error before `void'
Poller_sigio.cc:119: parse error before `void'
Poller_sigio.cc:120: parse error before `void'
Poller_sigio.cc:121: parse error before `void'
Poller_sigio.cc:126: parse error before `void'
Poller_sigio.cc:127: ANSI C++ forbids declaration `m_ready_head' with
no type
Poller_sigio.cc:127: redefinition of `int m_ready_head'
Poller_sigio.cc:93: `int m_ready_head' previously defined here
Poller_sigio.cc:128: parse error before `}'
Poller_sigio.cc:134: syntax error before `.'
Poller_sigio.cc:135: syntax error before `.'
Poller_sigio.cc:137: `fd' was not declared in this scope
Poller_sigio.cc:137: syntax error before `.'
Poller_sigio.cc:138: `fd' was not declared in this scope
Poller_sigio.cc:138: syntax error before `.'
Poller_sigio.cc:139: syntax error before `--'
Poller_sigio.cc:143: syntax error before `::'
Poller_sigio.cc:158: syntax error before `::'
Poller_sigio.cc:168: syntax error before `*'
Poller_sigio.cc:172: `n' was not declared in this scope
Poller_sigio.cc:172: parse error before `;'
Poller_sigio.cc:172: syntax error before `++'
Poller_sigio.cc:175: ANSI C++ forbids declaration `m_fds' with no type
Poller_sigio.cc:175: redefinition of `int m_fds'
Poller_sigio.cc:73: `int m_fds' previously defined here
Poller_sigio.cc:175: `newfds' was not declared in this scope
Poller_sigio.cc:176: ANSI C++ forbids declaration `m_fds_alloc' with
no type
Poller_sigio.cc:176: redefinition of `int m_fds_alloc'
Poller_sigio.cc:36: `int m_fds_alloc' previously defined here
Poller_sigio.cc:176: `n' was not declared in this scope
Poller_sigio.cc:177: parse error before `}'
Poller_sigio.cc:182: parse error before `if'
Poller_sigio.cc:187: syntax error before `|='
Poller_sigio.cc:206: parse error before `if'
Poller_sigio.cc:214: syntax error before `++'
Poller_sigio.cc:216: `fd' was not declared in this scope
Poller_sigio.cc:216: syntax error before `.'
Poller_sigio.cc:223: `fd' was not declared in this scope
Poller_sigio.cc:223: syntax error before `.'
Poller_sigio.cc:225: `fd' was not declared in this scope
Poller_sigio.cc:225: syntax error before `.'
Poller_sigio.cc:226: `fd' was not declared in this scope
Poller_sigio.cc:226: ANSI C++ forbids declaration `readyListUpdate'
with no type
Poller_sigio.cc:228: `fd' was not declared in this scope
Poller_sigio.cc:228: syntax error before `.'
Poller_sigio.cc:237: syntax error before `::'
Poller_sigio.cc:248: redefinition of `int flags'
Poller_sigio.cc:180: `int flags' previously declared here
Poller_sigio.cc:249: parse error before `if'
Poller_sigio.cc:254: syntax error before `&='
Poller_sigio.cc:269: `fd' was not declared in this scope
Poller_sigio.cc:269: syntax error before `.'
Poller_sigio.cc:271: syntax error before `--'
Poller_sigio.cc:276: syntax error before `::'
Poller_sigio.cc:282: `fd' was not declared in this scope
Poller_sigio.cc:282: syntax error before `.'
Poller_sigio.cc:286: `fd' was not declared in this scope
Poller_sigio.cc:286: ANSI C++ forbids declaration `readyListUpdate'
with no type
Poller_sigio.cc:286: redefinition of `int readyListUpdate'
Poller_sigio.cc:226: `int readyListUpdate' previously defined here
Poller_sigio.cc:288: parse error before `return'
Poller_sigio.cc:291: syntax error before `::'
Poller_sigio.cc:297: `fd' was not declared in this scope
Poller_sigio.cc:297: syntax error before `.'
Poller_sigio.cc:300: `fd' was not declared in this scope
Poller_sigio.cc:300: ANSI C++ forbids declaration `readyListUpdate'
with no type
Poller_sigio.cc:300: redefinition of `int readyListUpdate'
Poller_sigio.cc:286: `int readyListUpdate' previously defined here
Poller_sigio.cc:302: parse error before `return'
Poller_sigio.cc:305: syntax error before `::'
Poller_sigio.cc:311: `fd' was not declared in this scope
Poller_sigio.cc:311: syntax error before `.'
Poller_sigio.cc:314: `fd' was not declared in this scope
Poller_sigio.cc:314: ANSI C++ forbids declaration `readyListUpdate'
with no type
Poller_sigio.cc:314: redefinition of `int readyListUpdate'
Poller_sigio.cc:300: `int readyListUpdate' previously defined here
Poller_sigio.cc:316: parse error before `return'
Poller_sigio.cc:325: syntax error before `::'
Poller_sigio.cc:332: `fd' was not declared in this scope
Poller_sigio.cc:332: syntax error before `.'
Poller_sigio.cc:335: `fd' was not declared in this scope
Poller_sigio.cc:335: ANSI C++ forbids declaration `readyListUpdate'
with no type
Poller_sigio.cc:335: redefinition of `int readyListUpdate'
Poller_sigio.cc:314: `int readyListUpdate' previously defined here
Poller_sigio.cc:336: parse error before `}'
Poller_sigio.cc:346: syntax error before `::'
Poller_sigio.cc:350: syntax error before `;'
Poller_sigio.cc:355: parse error before `if'
Poller_sigio.cc:357: syntax error before `.'
Poller_sigio.cc:360: syntax error before `.'
Poller_sigio.cc:366: parse error before `do'
Poller_sigio.cc:370: ANSI C++ forbids declaration `signum' with no
type
Poller_sigio.cc:370: redefinition of `int signum'
Poller_sigio.cc:349: `int signum' previously declared here
Poller_sigio.cc:370: `m_sigset' was not declared in this scope
Poller_sigio.cc:370: `info' was not declared in this scope
Poller_sigio.cc:370: implicit declaration of function `int
sigtimedwait(...)'
Poller_sigio.cc:371: syntax error before `.'
Poller_sigio.cc:372: syntax error before `.'
Poller_sigio.cc:384: syntax error before `++'
Poller_sigio.cc:385: parse error before `void'
Poller_sigio.cc:387: ANSI C++ forbids declaration `fd' with no type
Poller_sigio.cc:387: `info' was not declared in this scope
Poller_sigio.cc:388: parse error before `if'
Poller_sigio.cc:391: ANSI C++ forbids declaration `readyListDump' with
no type
Poller_sigio.cc:393: parse error before `continue'
Poller_sigio.cc:395: syntax error before `.'
Poller_sigio.cc:396: ANSI C++ forbids declaration `readyListUpdate'
with no type
Poller_sigio.cc:396: redefinition of `int readyListUpdate'
Poller_sigio.cc:335: `int readyListUpdate' previously defined here
Poller_sigio.cc:397: parse error before `}'
Poller_sigio.cc:407: `m_signum' was not declared in this scope
Poller_sigio.cc:407: `SIG_IGN' was not declared in this scope
Poller_sigio.cc:407: ANSI C++ forbids declaration `signal' with no
type
Poller_sigio.cc:407: initializer list being treated as compound
expression
Poller_sigio.cc:411: `m_signum' was not declared in this scope
Poller_sigio.cc:411: `SIG_DFL' was not declared in this scope
Poller_sigio.cc:411: ANSI C++ forbids declaration `signal' with no
type
Poller_sigio.cc:411: redefinition of `int signal'
Poller_sigio.cc:407: `int signal' previously defined here
Poller_sigio.cc:411: initializer list being treated as compound
expression
Poller_sigio.cc:413: syntax error before `.'
Poller_sigio.cc:431: syntax error before `.'
Poller_sigio.cc:432: ANSI C++ forbids declaration `readyListUpdate'
with no type
Poller_sigio.cc:432: redefinition of `int readyListUpdate'
Poller_sigio.cc:396: `int readyListUpdate' previously defined here
Poller_sigio.cc:432: multiple initializations given for
`readyListUpdate'
Poller_sigio.cc:433: parse error before `}'
Poller_sigio.cc:444: syntax error before `::'
Poller_sigio.cc:449: syntax error before `->'
Poller_sigio.cc:450: syntax error before `->'
Poller_sigio.cc:451: syntax error before `->'
Poller_sigio.cc:452: ANSI C++ forbids declaration `readyListDel' with
no type
Poller_sigio.cc:457: parse error before `return'
Poller_sigio.cc:460: syntax error before `::'
Poller_sigio.cc:463: syntax error before `;'
Poller_sigio.cc:465: ANSI C++ forbids declaration `err' with no type
Poller_sigio.cc:465: redefinition of `int err'
Poller_sigio.cc:179: `int err' previously declared here
Poller_sigio.cc:465: `timeout_millisec' was not declared in this scope
Poller_sigio.cc:465: `waitForEvents' cannot be used as a function
Poller_sigio.cc:466: parse error before `if'
Poller_sigio.cc:479: ANSI C++ forbids declaration `err' with no type
Poller_sigio.cc:479: redefinition of `int err'
Poller_sigio.cc:465: `int err' previously defined here
Poller_sigio.cc:479: `event' was not declared in this scope
Poller_sigio.cc:479: `event' was not declared in this scope
Poller_sigio.cc:480: parse error before `if'
Poller_sigio.cc:483: `event' was not declared in this scope
Poller_sigio.cc:483: ANSI C++ forbids declaration `del' with no type
Poller_sigio.cc:484: parse error before `}'
*** Error code 1
make: Warning: Command failed for target `Poller_sigio.o' (on host
wine)
wine --> Output/Warnings/Errors
c++ -Wall -W -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wwrite-strings -O2 -o ftp_client_pipe_test
dprint.o eclock.o ftp_client_pipe.o ftp_client_pipe_test.o
ftp_client_proto.o Poller_poll.o Poller.o inet_aton.o nbbio.o Sked.o
-lsocket -lnsl inet_aton.c
ld: fatal: symbol `inet_aton' is multiply-defined:
(file inet_aton.o and file /var/tmp/ccNWc4cm.o);
ld: fatal: File processing errors. No output written to
ftp_client_pipe_test
collect2: ld returned 1 exit status
*** Error code 1
make: Warning: Command failed for target `ftp_client_pipe_test' (on
host wine)
wine --> Output/Warnings/Errors
c++ -Wall -W -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wwrite-strings -O2 -o robouser_test dprint.o
eclock.o ftp_client_pipe.o ftp_client_proto.o inet_aton.o nbbio.o
robouser.o robouser_test.o CHECK.o Poller_poll.o Poller.o Sked.o
-lsocket -lnsl inet_aton.c
ld: fatal: symbol `inet_aton' is multiply-defined:
(file inet_aton.o and file /var/tmp/ccKN72oq.o);
ld: fatal: File processing errors. No output written to robouser_test
collect2: ld returned 1 exit status
*** Error code 1
make: Warning: Command failed for target `robouser_test' (on host
wine)
>