lib/timer.c needs sys/time.h included under FreeBSD ...
Fabien Tassin
fta at sofaraway.org
Wed Feb 7 14:07:45 UTC 2001
According to The Hermit Hacker:
>
> > According to The Hermit Hacker:
> > >
> > > gcc -I/usr/local/include/db3 -I../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -fPIC -DPIC timer.c -o .libs/timer.lo
> > > timer.c: In function `get_time':
> > > timer.c:69: storage size of `tv' isn't known
> > > timer.c:78: storage size of `base' isn't known
> >
> > you need to include <sys/time.h>.
>
> ya, that's what I said in the Suject :)
oops.. I'm tired :)
> Its the '9' error I'm getting in libutil.h that has me stumped :(
no idea.. could you try the same gcc command line with -E added to see
the output of the preprocessor ? I can't be more precise because I'm
not currently able to sync my source tree (patches pending) but I guess
it will be some name collisions.
--
Fabien Tassin -+- fta at sofaraway.org
More information about the inn-workers
mailing list