Hmm. I wonder if you might need to use gcc3... what compiler are you
using?
- Dan
Kenneth Eaton wrote:
>
> Upon attempting to compile the program I receive the below output and
> error. Can anyone help out?
>
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_
> STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"dkftpbench\"
> -DVERSION=\"0.45\"
> -DHAVE_LIBNSL=1 -Din_addr_t=int -DHAVE_INET_ATON=1 -DHAVE_DEVPOLL=0
> -DHAVE_DEVE
> POLL=0 -D_GNU_SOURCE=1 -DHAVE_F_SETSIG=1 -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -
> DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_
> STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_PTHRE
> AD_H=1 -D__x86__=1 -I. -I. -Wall -W -Wmissing-prototypes
> -Wstrict-prototyp
> es -Wmissing-declarations -Wwrite-strings -O2 -c Poller_test.cc
> Poller_test.cc: In method `void
> Poller_test<Poller_poll>::testRejection<Poller_p
> oll>(const char *, int)':
> Poller_test.cc:128: instantiated from
> `Poller_test<Poller_poll>::unitTest<Poll
> er_poll>()'
> Poller_test.cc:397: instantiated from here
> Poller_test.cc:253: `volatile' undeclared (first use this function)
> Poller_test.cc:253: (Each undeclared identifier is reported only once
> Poller_test.cc:253: for each function it appears in.)
> Poller_test.cc:253: warning: qualifier ignored on asm
> Poller_test.cc: In method `void
> Poller_test<Poller_select>::testRejection<Poller
> _select>(const char *, int)':
> Poller_test.cc:128: instantiated from
> `Poller_test<Poller_select>::unitTest<Po
> ller_select>()'
> Poller_test.cc:401: instantiated from here
> Poller_test.cc:253: confused by earlier errors, bailing out
> make: *** [Poller_test.o] Error 1