Couple of minor items in his.c in the 7/10 snapshot under Linux/gcc

Joe St Sauver JOE at OREGON.UOREGON.EDU
Tue Jul 10 20:58:28 UTC 2001


Hi,

Building the 7/10 snapshot under Linux 2.4.6-ac2 with gcc 2.96 after 
configuring with

./configure \
  --with-perl \
  --with-python=no \
  --with-tcl=no \
  --enable-tagged-hash=no \
  --enable-largefiles \
  --with-syslog-facility=LOG_NEWS \
  --with-sendmail=/usr/sbin/sendmail \
  --with-berkeleydb=no \
  --with-openssl=/usr/local/ssl

I'm seeing:

make[1]: Entering directory `/usr/local/src/inn-CURRENT-20010710/history'
gcc -g -O2 -I../include  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -c his.c -o his.o
his.c: In function `HISlogto':
his.c:381: invalid use of undefined type `struct timeval'
his.c:382: invalid use of undefined type `struct timeval'
his.c:383: invalid use of undefined type `struct timeval'
his.c:384: invalid use of undefined type `struct timeval'
his.c: In function `his_logger':
his.c:392: storage size of `tv' isn't known
his.c:399: warning: assignment makes pointer from integer without a cast
his.c:400: invalid use of undefined type `struct timeval'
his.c:402: dereferencing pointer to incomplete type
his.c:402: dereferencing pointer to incomplete type
his.c:402: dereferencing pointer to incomplete type
his.c:402: dereferencing pointer to incomplete type
his.c:403: dereferencing pointer to incomplete type
his.c:403: dereferencing pointer to incomplete type
his.c:404: invalid use of undefined type `struct timeval'
his.c:405: invalid use of undefined type `struct timeval'
his.c:406: invalid use of undefined type `struct timeval'
his.c:407: invalid use of undefined type `struct timeval'
his.c:408: invalid use of undefined type `struct timeval'
his.c:409: invalid use of undefined type `struct timeval'
his.c:412: invalid use of undefined type `struct timeval'
his.c:413: invalid use of undefined type `struct timeval'
his.c:414: invalid use of undefined type `struct timeval'
his.c:414: invalid use of undefined type `struct timeval'
his.c:416: invalid use of undefined type `struct timeval'
his.c:417: invalid use of undefined type `struct timeval'
his.c:421: dereferencing pointer to incomplete type
his.c:421: dereferencing pointer to incomplete type
his.c:421: dereferencing pointer to incomplete type
his.c:421: dereferencing pointer to incomplete type
his.c:422: dereferencing pointer to incomplete type
his.c:422: dereferencing pointer to incomplete type
his.c:423: invalid use of undefined type `struct timeval'
his.c:424: invalid use of undefined type `struct timeval'
his.c: At top level:
his.c:363: storage size of `HISstat_start' isn't known
his.c:364: storage size of `HISstat_total' isn't known
make[1]: *** [his.o] Error 1

Regards,

Joe


More information about the inn-workers mailing list