Make Problem with 3.14.4(solaris8)

View: New views
1 Messages — Rating Filter:   Alert me  

Make Problem with 3.14.4(solaris8)

by 原田雄太 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a problem with make apcupsd3.14.4.
When I try to make apcupsd3.14.4, I got a messages below.
(Or see the attached text)
-----messages-----
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcconfig.c:28:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the
previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the
previous definition
------------------
-----Environment-----
apcupsd3.10.8
apcupsd3.14.4

OS:
solaris8(SUNWCreq)

Apps:
gzip1.3.5
gcc-2.95.3
libgcc-3.0
make-3.80
--------------------
I can make apcupsd3.10.18 by same procedure.

Any wrong with my procedure?
Please help me!

Thank you.

Harada

$ ./configure \
> --prefix=/opt/apcupsd \
> --sbindir=/etc/opt/apcupsd/sbin \
> --sysconfdir=/etc/opt/apcupsd \
> --enable-master-slave \
> --enable-net \
> --with-net-port=6666
checking for true... /usr/bin/true
checking for false... /usr/bin/false
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for egrep... egrep
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /home/work/apcupsd-3.14.4/autoconf/install-sh -c
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for library containing strerror... none required
checking for shutdown... /usr/sbin/shutdown
checking for mail... /usr/bin/mail
checking for wall... /usr/sbin/wall
checking for sh... /usr/bin/sh
checking for GNU make... make
checking for ranlib... /usr/ccs/bin/ranlib
checking for rm... /usr/bin/rm
checking for cp... /usr/bin/cp
checking for echo... /usr/bin/echo
checking for ln... /usr/bin/ln
checking for sed... /usr/bin/sed
checking for ar... /usr/ccs/bin/ar
checking for mv... /usr/bin/mv
checking for abort... yes
checking for fork... yes
checking for calloc... yes
checking for getpid... yes
checking for ioctl... yes
checking for kill... yes
checking for rewind... yes
checking for select... yes
checking for setsid... yes
checking for signal... yes
checking for strerror... yes
checking for strncmp... yes
checking for strncpy... yes
checking for tcgetattr... yes
checking for vfprintf... yes
checking for setpgrp... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for library containing nanosleep... -lrt
checking for syslog... yes
checking for strftime... yes
checking whether setpgrp takes no argument... yes
checking for library containing socket... -lxnet
checking for library containing gethostname... none required
checking for library containing gethostbyname... none required
checking for library containing gethostbyname_r... -lnsl
checking for socklen_t... yes
checking for library containing inet_addr... none required
checking for strchr... yes
using libc's strchr
checking for strstr... yes
checking for strcasecmp... yes
checking for memmove... yes
checking for getopt_long... no
checking for inet_pton... yes
checking for localtime_r... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/types.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking for tzname... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... (cached) yes
checking for socklen_t... yes
checking for int32_t... yes
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether #! works in shell scripts... yes
Will not install HAL policy file
checking for pkg-config... no
checking if libsupc++ is required... no
checking if GCC supports -fno-exceptions... yes
checking if GCC supports -fno-rtti... yes
checking for wait... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... no
Disabling cgi support...
gcc private include directory found.
configure: creating ./config.status
config.status: creating autoconf/variables.mak
config.status: creating platforms/apccontrol
config.status: creating platforms/etc/changeme
config.status: creating platforms/etc/commfailure
config.status: creating platforms/etc/commok
config.status: creating platforms/etc/offbattery
config.status: creating platforms/etc/onbattery
config.status: creating platforms/etc/apcupsd.conf
config.status: creating examples/safe.apccontrol
config.status: creating src/win32/Makefile
config.status: creating platforms/sun/apcupsd
config.status: creating platforms/sun/rc0.solaris
config.status: creating platforms/sun/apccontrol
config.status: creating include/config.h


Configuration on Wed Oct  1 15:21:53 JST 2008:

  Host:                       sparc-sun-solaris2.8 -- sun Solaris
  Apcupsd version:            3.14.4 (18 May 2008)
  Source code location:       .
  Install binaries:           /etc/opt/apcupsd/sbin
  Install config files:       /etc/opt/apcupsd
  Install man files:          /usr/share/man
  Nologin file in:            /etc
  PID directory:              /var/run
  LOG dir (events, status)    /etc/opt/apcupsd
  LOCK dir (for serial port)  /var/spool/locks
  Power Fail dir              /etc
  Compiler:                   g++ 2.95.3
  Compiler flags:             -g -O2 -Wall
  Linker:                     gcc
  Linker flags:               -g -O
  Host and version:           sun Solaris
  Shutdown Program:           /usr/sbin/shutdown
  Port/Device:                /dev/ttya
  Network Info Port (CGI):    3551
  UPSTYPE                     apcsmart
  UPSCABLE                    smart

  drivers (no-* are disabled): apcsmart dumb net no-usb no-snmp pcnet no-test

  enable-nis:                 yes
  with-nisip:                 0.0.0.0
  enable-cgi:                 no
  with-cgi-bin:               /etc/apcupsd
  with-libwrap:
  enable-powerflute:          no
  enable-pthreads:            yes
  enable-dist-install:        yes
  enable-gapcmon:             no

Configuration complete: Run 'make' to build apcuspd.

$ make
        src
        src/lib
  CXX   src/lib/apcconfig.c
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcconfig.c:28:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcconfig.c:28:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
  CXX   src/lib/apcerror.c
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcerror.c:26:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcerror.c:26:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
  CXX   src/lib/apcevents.c
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcevents.c:25:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcevents.c:25:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
  CXX   src/lib/apcexec.c
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcexec.c:27:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcexec.c:27:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
  CXX   src/lib/apcfile.c
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcfile.c:26:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apcfile.c:26:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
  CXX   src/lib/apclibnis.c
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apclibnis.c:33:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
apclibnis.c: In function `int net_open(const char *, char *, int)':
apclibnis.c:242: warning: comparison between signed and unsigned
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apclibnis.c:33:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
  CXX   src/lib/apclock.c
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apclock.c:28:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apclock.c:28:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
  CXX   src/lib/apclog.c
In file included from /home/work/apcupsd-3.14.4/include/apc.h:92,
                 from apclog.c:26:
/usr/include/sys/ioctl.h:68: warning: `ECHO' redefined
/usr/include/sys/termios.h:295: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:75: warning: `NL0' redefined
/usr/include/sys/termios.h:219: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:76: warning: `NL1' redefined
/usr/include/sys/termios.h:220: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:80: warning: `TAB0' redefined
/usr/include/sys/termios.h:227: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:81: warning: `TAB1' redefined
/usr/include/sys/termios.h:228: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:82: warning: `TAB2' redefined
/usr/include/sys/termios.h:229: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:83: warning: `XTABS' redefined
/usr/include/sys/termios.h:234: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:85: warning: `CR0' redefined
/usr/include/sys/termios.h:222: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:86: warning: `CR1' redefined
/usr/include/sys/termios.h:223: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:87: warning: `CR2' redefined
/usr/include/sys/termios.h:224: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:88: warning: `CR3' redefined
/usr/include/sys/termios.h:225: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:90: warning: `FF0' redefined
/usr/include/sys/termios.h:245: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:91: warning: `FF1' redefined
/usr/include/sys/termios.h:246: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:93: warning: `BS0' redefined
/usr/include/sys/termios.h:239: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:94: warning: `BS1' redefined
/usr/include/sys/termios.h:240: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:103: warning: `TOSTOP' redefined
/usr/include/sys/termios.h:300: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:104: warning: `FLUSHO' redefined
/usr/include/sys/termios.h:307: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:110: warning: `PENDIN' redefined
/usr/include/sys/termios.h:308: warning: this is the location of the previous definition
/usr/include/sys/ioctl.h:112: warning: `NOFLSH' redefined
/usr/include/sys/termios.h:299: warning: this is the location of the previous definition
apclog.c: In function `void log_event(const UPSINFO *, int, const char *, ...)':
apclog.c:52: implicit declaration of function `int localtime_r(...)'
make[3]: *** [.obj/apclog.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [lib_DIR] Error 2
make: *** [src_DIR] Error 2

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Apcupsd-users mailing list
Apcupsd-users@...
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
LightInTheBox - Buy quality products at wholesale price!