rebuild rpm-4.1 from sources
bertrand marquis
bertrand_marquis@yahoo.fr
Fri Jul 23 11:02:00 GMT 2004
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040723/4090eb2f/attachment.txt>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list