delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <4100DB2B.3090005@yahoo.fr> |
Date: | Fri, 23 Jul 2004 11:32:27 +0200 |
From: | bertrand marquis <bertrand_marquis AT yahoo DOT fr> |
Reply-To: | bertrand_marquis AT yahoo DOT fr |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.2.1) Gecko/20030225 |
MIME-Version: | 1.0 |
To: | cygwin Mailing List <cygwin AT cygwin DOT com> |
Subject: | rebuild rpm-4.1 from sources |
X-Spam-Checker-Version: | SpamAssassin 2.63 (2004-01-11) on donald.sysgo.com |
X-Spam-Level: | |
X-Spam-Status: | No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=no version=2.63 |
X-AntiVirus: | checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.26.0.10; VDF: 6.26.0.40; host: mailgate.sysgo.de) |
X-IsSubscribed: | yes |
--------------000206000906080301000105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello i need to recompile rpm-4.1 from sources but when it is trying to compile in db3/lock i have : cc -c -I. -I../db/dist/../include -I../db/dist/../include_auto -O2 -g -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts ../db/dist/../lock/lock_r egion.c -DDLL_EXPORT -DPIC -o .libs/lock_region.lo ../db/lock/lock_region.c:98:49: macro "__lock_init" passed 2 arguments, but takes just 1 ../db/lock/lock_region.c: In function `__lock_open_rpmdb': ../db/lock/lock_region.c:98: warning: assignment makes integer from pointer without a cast ../db/lock/lock_region.c:150:22: macro "__lock_init" passed 2 arguments, but takes just 1 ../db/lock/lock_region.c: At top level: ../db/lock/lock_region.c:151: error: syntax error before "DB_ENV" ../db/lock/lock_region.c:153: error: syntax error before '{' token ../db/lock/lock_region.c:166: error: syntax error before "if" ../db/lock/lock_region.c:170: warning: type defaults to `int' in declaration of `region' ../db/lock/lock_region.c:170: error: conflicting types for `region' ../db/lock/lock_region.c:158: error: previous declaration of `region' ../db/lock/lock_region.c:170: warning: data definition has no type or storage class ../db/lock/lock_region.c:171: error: syntax error before numeric constant ../db/lock/lock_region.c:177: warning: type defaults to `int' in declaration of `lk_conflicts' ../db/lock/lock_region.c:177: warning: initialization makes integer from pointer without a cast ../db/lock/lock_region.c:177: warning: data definition has no type or storage class ../db/lock/lock_region.c:178: error: syntax error before '}' token ../db/lock/lock_region.c:180: warning: type defaults to `int' in declaration of `lk_conflicts' ../db/lock/lock_region.c:180: error: redefinition of `lk_conflicts' ../db/lock/lock_region.c:177: error: `lk_conflicts' previously defined here ../db/lock/lock_region.c:180: warning: initialization makes integer from pointer without a cast ../db/lock/lock_region.c:180: warning: data definition has no type or storage class ../db/lock/lock_region.c:181: error: syntax error before '}' token ../db/lock/lock_region.c:184: warning: type defaults to `int' in declaration of `lk_conflicts' ../db/lock/lock_region.c:184: error: redefinition of `lk_conflicts' ../db/lock/lock_region.c:180: error: `lk_conflicts' previously defined here ../db/lock/lock_region.c:184: warning: initialization makes integer from pointer without a cast ../db/lock/lock_region.c:184: error: initializer element is not constant ../db/lock/lock_region.c:184: warning: data definition has no type or storage class ../db/lock/lock_region.c:185: error: syntax error before '}' token ../db/lock/lock_region.c:199: error: syntax error before '&' token ../db/lock/lock_region.c:205: error: syntax error before '*' token ../db/lock/lock_region.c:205: warning: type defaults to `int' in declaration of `memcpy' ../db/lock/lock_region.c:205: warning: function declaration isn't a prototype ../db/lock/lock_region.c:205: warning: data definition has no type or storage class ../db/lock/lock_region.c:206: error: syntax error before '->' token ../db/lock/lock_region.c:212: error: syntax error before '->' token ../db/lock/lock_region.c:212: warning: type defaults to `int' in declaration of `__db_hashinit_rpmdb' ../db/lock/lock_region.c:212: warning: function declaration isn't a prototype ../db/lock/lock_region.c:212: error: conflicting types for `__db_hashinit_rpmdb' env_ext.h:22: error: previous declaration of `__db_hashinit_rpmdb' ../db/lock/lock_region.c:212: warning: data definition has no type or storage class ../db/lock/lock_region.c:213: error: syntax error before '->' token ../db/lock/lock_region.c:219: error: syntax error before '->' token ../db/lock/lock_region.c:219: warning: type defaults to `int' in declaration of `__db_hashinit_rpmdb' ../db/lock/lock_region.c:219: warning: function declaration isn't a prototype ../db/lock/lock_region.c:219: warning: data definition has no type or storage class ../db/lock/lock_region.c:220: error: syntax error before '->' token ../db/lock/lock_region.c:250: error: syntax error before "struct" ../db/lock/lock_region.c:250: error: syntax error before '->' token ../db/lock/lock_region.c:261: error: syntax error before "struct" ../db/lock/lock_region.c:261: error: syntax error before '->' token ../db/lock/lock_region.c:275: error: syntax error before "struct" ../db/lock/lock_region.c:275: error: syntax error before '->' token ../db/lock/lock_region.c:24: warning: `__lock_init' used but never defined make[2]: *** [lock_region.lo] Error 1 make[2]: Leaving directory `/usr/src/rpm-4.1/db3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/rpm-4.1' make: *** [all] Error 2 i could build it from sources with release of one month ago but i have updated since and now i can't recompile it anymore. Does anyone konw why i have this error ? i have joined my cygcheck -s thanks --------------000206000906080301000105 Content-Type: text/plain; name="cygcheck.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cygcheck.txt" Cygwin Configuration Diagnostics Current System Time: Fri Jul 23 11:28:04 2004 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem C:\cygwin\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 1000(bma) GID: 513(Kein) 513(Kein) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1000(bma) GID: 513(Kein) 0(root) 513(Kein) 544(Administratoren) 545(Benutzer) SysDir: C:\WINNT\System32 WinDir: C:\WINNT CYGWIN = `ntsec' HOME = `C:\cygwin\home\bma' MAKE_MODE = `unix' PWD = `/usr/src' USER = `bma' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 39252Mb 59% CP CS UN PA FC d: cd N/A N/A e: net NTFS 18206Mb 82% CP CS PA home f: net NTFS 18206Mb 82% CP CS PA public g: net NTFS 18206Mb 82% CP CS PA tftpboot C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Not Found: gdb Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe 61k 2003/08/09 C:\cygwin\bin\cygbz2-1.dll 18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll 841k 2004/03/17 C:\cygwin\bin\cygcrypto-0.9.7.dll 22k 2004/02/10 C:\cygwin\bin\cygcygipc-2.dll 831k 2003/09/20 C:\cygwin\bin\cygdb-4.1.dll 895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll 1080k 2003/09/20 C:\cygwin\bin\cygdb_cxx-4.1.dll 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll 155k 2004/01/07 C:\cygwin\bin\cygexpat-0.dll 129k 2004/03/11 C:\cygwin\bin\cygfontconfig-1.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 48k 2003/08/09 C:\cygwin\bin\cygform7.dll 361k 2003/10/25 C:\cygwin\bin\cygfreetype-6.dll 28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll 30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll 19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll 15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll 15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll 107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll 17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll 190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll 991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll 54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll 21k 2001/06/20 C:\cygwin\bin\cygintl.dll 12k 2003/02/17 C:\cygwin\bin\cygioperm-0.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll 62k 2003/12/11 C:\cygwin\bin\cygpcre-0.dll 63k 2003/04/11 C:\cygwin\bin\cygpcre.dll 9k 2003/12/11 C:\cygwin\bin\cygpcreposix-0.dll 61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll 1049k 2003/11/07 C:\cygwin\bin\cygperl5_8_2.dll 173k 2003/08/10 C:\cygwin\bin\cygpng12.dll 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll 171k 2004/03/17 C:\cygwin\bin\cygssl-0.9.7.dll 61k 2003/12/04 C:\cygwin\bin\cygz.dll 1126k 2004/05/26 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.5.10 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 116 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Tue May 25 22:07:00 EDT 2004 CVS tag: cr-0x5e6 Shared id: cygwin1S4 237k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygdps-1.dll 25k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygdpstk-1.dll 28k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygDtPrint-1.dll 21k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygfontenc-1.dll 36k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygFS-6.dll 431k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygGL-1.dll 437k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll 74k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygICE-6.dll 77k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygMrm-2.dll 9k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygoldX-6.dll 1250k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll 20k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygpsres-1.dll 30k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygSM-6.dll 66k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygUil-2.dll 869k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygX11-6.dll 253k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXaw-6.dll 355k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXaw-7.dll 30k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXcursor-1.dll 49k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXext-6.dll 7k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXfontcache-1.dll 56k 2004/03/11 C:\cygwin\usr\X11R6\bin\cygXft-1.dll 63k 2004/03/23 C:\cygwin\usr\X11R6\bin\cygXft-2.dll 27k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXi-6.dll 124k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygxkbfile-1.dll 12k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygxkbui-1.dll 1294k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygXm-2.dll 76k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXmu-6.dll 11k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXmuu-1.dll 26k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXp-6.dll 51k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXpm-4.dll 11k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXrandr-2.dll 27k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXrender-1.dll 8k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXRes-1.dll 282k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXt-6.dll 27k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll 17k 2004/07/15 C:\cygwin\usr\X11R6\bin\cygXtst-6.dll Cygwin Package Information Package Version _update-info-dir 00227-1 ash 20040127-1 base-files 2.6-1 base-passwd 1.1-1 bash 2.05b-16 binutils 20040312-1 bison 20030307-1 byacc 1.9-1 bzip2 1.0.2-5 clear 1.0-1 crypt 1.1-1 cygipc 2.03-2 cygrunsrv 1.0-1 cygutils 1.2.5-1 cygwin 1.5.10-3 ddd 3.3.9-1 diffutils 2.8.7-1 editrights 1.01-1 expat 1.95.7-1 file 4.09-1 fileutils 4.1-2 findutils 4.1.7-4 flex 2.5.4a-3 fontconfig 2.2.2-1 freetype2 2.1.5-1 gawk 3.1.3-4 gcc 3.3.1-3 gcc-g++ 3.3.1-3 gcc-mingw-core 20031020-1 gcc-mingw-g++ 20031020-1 gdbm 1.8.3-7 gettext 0.14.1-1 grep 2.5-1 groff 1.18.1-2 gzip 1.3.5-1 inetutils 1.3.2-28 ioperm 0.4-1 less 381-1 lesstif 0.93.94-2 libbz2_1 1.0.2-5 libcharset1 1.9.2-1 libdb4.1 4.1.25-1 libdb4.2 4.2.52-1 libfontconfig1 2.2.2-1 libfreetype26 2.1.5-1 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-7 libgdbm3 1.8.3-3 libgdbm4 1.8.3-7 libgettextpo0 0.14.1-1 libiconv 1.9.2-1 libiconv2 1.9.2-1 libintl 0.10.38-3 libintl1 0.10.40-1 libintl2 0.12.1-3 libintl3 0.14.1-1 libncurses-devel 5.3-4 libncurses5 5.2-1 libncurses6 5.2-8 libncurses7 5.3-4 libpcre 4.1-1 libpcre0 4.5-1 libpng12 1.2.5-4 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-5 libXft 2.1.6-1 libXft1 1.0.0-1 libXft2 2.1.6-1 login 1.9-7 m4 1.4-1 make 3.80-1 man 1.5k-3 mingw-runtime 3.3-1 mktemp 1.5-3 more 2.11o-1 ncurses 5.3-4 nedit 5.4-1 nfs-server 2.2.47-2 openssl 0.9.7d-1 patch 2.5.8-8 patchutils 0.2.30pre1-1 pcre 4.5-1 pcre-doc 4.5-1 perl 5.8.2-1 procps 010801-2 python 2.3.4-2 readline 4.3-5 rebase 2.3-1 rpm 4.1-1 sed 4.0.9-2 sh-utils 2.0.15-4 sharutils 4.2.1-3 sunrpc 4.0-2 tar 1.13.25-5 tcltk 20030901-1 termcap 20021106-2 terminfo 5.3_20030726-1 texinfo 4.2-4 textutils 2.0.21-1 unzip 5.50-5 vim 6.3-1 w32api 2.5-1 which 1.5-2 X-startup-scripts 1.0.8-1 XFree86-base 4.3.0-11 XFree86-bin 4.3.0-21 XFree86-xserv 4.3.0-68 xinetd 2.3.9-1 xorg-x11-base 6.7.0.0-8 xorg-x11-bin 6.7.0.0-4 xorg-x11-bin-dlls 6.7.0.0-5 xorg-x11-bin-lndir 6.7.0.0-2 xorg-x11-etc 6.7.0.0-3 xorg-x11-fenc 6.7.0.0-2 xorg-x11-fnts 6.7.0.0-1 xorg-x11-fscl 6.7.0.0-3 xorg-x11-libs-data 6.7.0.0-3 xorg-x11-xwin 6.7.0.0-12 xterm 185-4 xwinclip 1.2.0-1 zip 2.3-6 zlib 1.2.1-1 Use -h to see help about each section --------------000206000906080301000105 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------000206000906080301000105--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |