[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Problem build 4.0.3 on Tru64 5.1A



I am trying to build rpm 4.0.3 on a new install of Compaq Tru64 5.1A.  I
built gcc-3.0.2 and zlib-1.1.3 (in a special directory; I'm trying to
"bootstrap" this from scratch - the special bin directory comes before
anything else in my PATH) and then configured rpm-4.0.3 with:

CC=gcc CFLAGS="-O2" \
./configure \
    --prefix=/usr/users/cmadams/strap \
    --disable-shared \
    --disable-nls

It does okay until it gets to rpmdb/db3.c:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../build -I../lib -I../rpmio -I../popt -I../misc -I/usr/users/cmadams/strap/include -I/usr/local/include -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c db3.c -o db3.o
In file included from ../system.h:296,
                 from db3.c:7:
../misc/glob.h:53: warning: redefinition of `size_t'
/usr/users/cmadams/strap/lib/gcc-lib/alphaev5-dec-osf5.1/3.0.2/include/sys/types.h:146: warning: `size_t' previously declared here
db3.c: In function `db_init':
db3.c:176: warning: passing arg 1 of `ftok' discards qualifiers from pointer target type
db3.c:601:45: macro "stat" passed 3 arguments, but takes just 2
db3.c: In function `db3stat':
db3.c:601: warning: assignment makes integer from pointer without a cast
db3.c: At top level:
db3.c:304: warning: `db3c_dup' defined but not used
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

I get the "size_t" bit on every file (the "fixincludes" of gcc generated
some extra unneeded stuff).

Any suggestions?
-- 
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []