compile with glibc2.2
Alastair Varnals
plinth at technologist.com
Wed Apr 25 20:16:04 CEST 2001
I think this may be due to the time.h issues discussed on the list a
while ago.
I have assembled a few recent patches posted to the list, including one
which I think will solve this problem.
See: http://www.drizzle.uklinux.net/bird/
Hope it helps!
Alastair.
Luben Karavelov wrote:
>
> hellow,
> I have problem compiling bird on linux 2.4.3 with glibc2.2
> and gcc 2.95.3 (20010219). the system is debian-testing
> distribution.
>
> if someone have suggestion, lets tell me where is the problem.
> it gives an error on obj/lib/io.c:
> make[2]: Entering directory `/usr/src/bird-1.0.4/obj/lib'
> gcc -I../ -I../.. -g -O2 -Wall -W -Wstrict-prototypes -Wno-parentheses -Wno-unu
> sed -o io.o -c io.c
> io.c:61: warning: missing initializer
> io.c:61: warning: (near initialization for `rf_class.lookup')
> io.c:131: warning: missing initializer
> io.c:131: warning: (near initialization for `tm_class.lookup')
> io.c: In function `tm_parse_date':
> io.c:310: storage size of `tm' isn't known
> io.c:319: warning: implicit declaration of function `mktime'
> io.c: In function `tm_format_date':
> io.c:338: warning: implicit declaration of function `localtime'
> io.c:338: warning: assignment makes pointer from integer without a cast
> io.c:339: dereferencing pointer to incomplete type
> io.c:339: dereferencing pointer to incomplete type
> io.c:339: dereferencing pointer to incomplete type
> io.c: In function `tm_format_datetime':
> io.c:355: warning: assignment makes pointer from integer without a cast
> io.c:356: warning: implicit declaration of function `strftime'
> io.c: In function `tm_format_reltime':
> io.c:375: warning: assignment makes pointer from integer without a cast
> io.c:377: dereferencing pointer to incomplete type
> io.c:377: dereferencing pointer to incomplete type
> io.c:379: dereferencing pointer to incomplete type
> io.c:379: dereferencing pointer to incomplete type
> io.c:381: dereferencing pointer to incomplete type
> io.c: At top level:
> io.c:438: warning: missing initializer
> io.c:438: warning: (near initialization for `sk_class.lookup')
> io.c: In function `io_init':
> io.c:1021: warning: implicit declaration of function `time'
> make[2]: *** [io.o] Error 1
> make[2]: Leaving directory `/usr/src/bird-1.0.4/obj/lib'
> make[1]: *** [subdir] Error 2
>
> --
> _________________________________________________________
> Luben Karavelov [phone] +359 2 9877088
> Network Administrator
> [PGP] http://www.bgone.net/pgp/luben.asc [ICQ#] 34741625
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
More information about the Bird-users
mailing list