Jak kompilowac prowizorke?

Stacho Pal stacho w venco.com.pl
Pią, 4 Maj 2001, 16:17:45 CEST


Witam!
Jako ze ostatnia wersja bootkietki (17.01.2001) ma problemy
z zaleznosciami rpm-a, postanowilem skompilowac to co jest w cvs-ie.
Zrobilem: cvs get prowizorka, cd pprowizorka, make i po doinstalowaniu
brakujacych devel-i kopilacja wywala sie z komunikatami jak nizej,
a z tym to nie wiem co mam juz zrobic. :(( 

-------------
pzdr
Stacho Pal
P.S. Plik troche skrocilem.
=========================
/usr/include/rpm/header.h: In function `headerFreeData':
/usr/include/rpm/header.h:542: warning: comparison of unsigned expression < 0 is always false
In file included from /usr/include/rpm/rpmlib.h:16,
                 from rpmmen.h:13,
                 from pkgs_array.c:8:
/usr/include/rpm/header.h: In function `headerFreeData':
/usr/include/rpm/header.h:542: warning: comparison of unsigned expression < 0 is always false
In file included from /usr/include/rpm/rpmlib.h:16,
                 from rpmmen.h:13,
                 from get_entry.h:11,
                 from useri_desc.c:10:
/usr/include/rpm/header.h: In function `headerFreeData':
/usr/include/rpm/header.h:542: warning: comparison of unsigned expression < 0 is always false
In file included from /usr/include/rpm/rpmlib.h:16,
                 from rpmmen.h:13,
                 from prowizorka.c:13:
/usr/include/rpm/header.h: In function `headerFreeData':
/usr/include/rpm/header.h:542: warning: comparison of unsigned expression < 0 is always false
prowizorka.c: In function `UIstartPackage':
prowizorka.c:278: warning: assignment discards qualifiers from pointer target type
Reading specs from /usr/lib/gcc-lib/i586-pld-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
 /usr/lib/gcc-lib/i586-pld-linux/2.95.3/collect2 -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o prowizorka /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-lib/i586-pld-linux/2.95.3/crtbegin.o -L../pldilib -L../trurlib -L/usr/lib/gcc-lib/i586-pld-linux/2.95.3 rpmmen.o srcget.o rpmpldi.o pkgs_array.o useri_desc.o prowizorka.o -lrpm -lrpmio -ldb3 -ldb1 -lpopt -lpldi -ltrurl -lresolv -lbz2 -lz -lgcc -lc -lgcc /usr/lib/gcc-lib/i586-pld-linux/2.95.3/crtend.o /usr/lib/crtn.o
/usr/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
make[1]: *** [prowizorka] Error 1
In file included from /usr/include/rpm/rpmlib.h:16,
                 from gentocf.c:32:
/usr/include/rpm/header.h:538: warning: ANSI does not permit the keyword `inline'
/usr/include/rpm/header.h: In function `headerFreeData':
/usr/include/rpm/header.h:542: warning: comparison of unsigned expression < 0 is always false
In file included from gentocf.c:32:
/usr/include/rpm/rpmlib.h: At top level:
/usr/include/rpm/rpmlib.h:982: warning: comma at end of enumerator list
gentocf.c: In function `main':
gentocf.c:228: warning: implicit declaration of function `fdSetFdno'
gentocf.o: In function `save_userTags':
/root/cvs/rpm/prowizorka/gentocf/gentocf.c:150: undefined reference to `n_dbhash_insert'
gentocf.o: In function `main':
/root/cvs/rpm/prowizorka/gentocf/gentocf.c:169: undefined reference to `fdio'
/root/cvs/rpm/prowizorka/gentocf/gentocf.c:170: undefined reference to `fdio'
/root/cvs/rpm/prowizorka/gentocf/gentocf.c:202: undefined reference to `n_dbhash_new_ex'
/root/cvs/rpm/prowizorka/gentocf/gentocf.c:228: undefined reference to `fdSetFdno'
/root/cvs/rpm/prowizorka/gentocf/gentocf.c:244: undefined reference to `fdSetFdno'
/root/cvs/rpm/prowizorka/gentocf/gentocf.c:261: undefined reference to `n_dbhash_free'
/usr/lib/librpm.so: undefined reference to `Fdopen'
/usr/lib/librpm.so: undefined reference to `rpmDigestInit'
/usr/lib/librpm.so: undefined reference to `Unlink'
/usr/lib/librpm.so: undefined reference to `Fopen'
/usr/lib/librpm.so: undefined reference to `urlIsURL'
/usr/lib/librpm.so: undefined reference to `rpmlogSetMask'
/usr/lib/librpm.so: undefined reference to `rpmlog'
collect2: ld returned 1 exit status
make[1]: *** [gentocf] Error 1
make: *** [all] Error 2



Więcej informacji o liście dyskusyjnej pld-devel-pl