[Python-bugs-list] [ python-Bugs-450013 ] bsddbmodule.c problem

noreply@sourceforge.net noreply@sourceforge.net
Sun, 26 Aug 2001 11:53:03 -0700


Bugs item #450013, was opened at 2001-08-11 01:01
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=450013&group_id=5470

Category: None
Group: None
Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bsddbmodule.c problem

Initial Comment:
Hello all,

I'am trying to compile python 2.0.1 on my slack 8.0 but
look at the result:


make[1]: Entering directory
`/home/blenderman/2compile/Python-2.0.1/Modules'
gcc -fpic  -g -O2 -Wall -Wstrict-prototypes -fPIC
-I./../Include -I.. -DHAVE_CON                        
     FIG_H -c ./bsddbmodule.c
./bsddbmodule.c: In function `newdbhashobject':
./bsddbmodule.c:55: `HASHINFO' undeclared (first use in
this function)
./bsddbmodule.c:55: (Each undeclared identifier is
reported only once
./bsddbmodule.c:55: for each function it appears in.)
./bsddbmodule.c:55: parse error before `info'
./bsddbmodule.c:60: `info' undeclared (first use in
this function)
./bsddbmodule.c:71: warning: implicit declaration of
function `dbopen'
./bsddbmodule.c:71: warning: assignment makes pointer
from integer without a cas                              t
./bsddbmodule.c: In function `newdbbtobject':
./bsddbmodule.c:100: `BTREEINFO' undeclared (first use
in this function)
./bsddbmodule.c:100: parse error before `info'
./bsddbmodule.c:105: `info' undeclared (first use in
this function)
./bsddbmodule.c:118: warning: assignment makes pointer
from integer without a ca                              st
./bsddbmodule.c: In function `newdbrnobject':
./bsddbmodule.c:147: `RECNOINFO' undeclared (first use
in this function)
./bsddbmodule.c:147: parse error before `info'
./bsddbmodule.c:152: `info' undeclared (first use in
this function)
./bsddbmodule.c:164: warning: assignment makes pointer
from integer without a ca                              st
./bsddbmodule.c: In function `bsddb_dealloc':
./bsddbmodule.c:202: too few arguments to function
./bsddbmodule.c: In function `bsddb_length':
./bsddbmodule.c:232: structure has no member named `seq'
./bsddbmodule.c:233: `R_FIRST' undeclared (first use in
this function)
./bsddbmodule.c:235: structure has no member named
`seq'./bsddbmodule.c:307: warning: passing arg 2 of
pointer to function from incompat                     
        ible pointer type
./bsddbmodule.c:307: too few arguments to function
./bsddbmodule.c:330: warning: passing arg 2 of pointer
to function from incompat                             
ible pointer type
./bsddbmodule.c:330: too few arguments to function
./bsddbmodule.c: In function `bsddb_close':
./bsddbmodule.c:357: too few arguments to function
./bsddbmodule.c: In function `bsddb_keys':
./bsddbmodule.c:386: structure has no member named `seq'
./bsddbmodule.c:386: `R_FIRST' undeclared (first use in
this function)
./bsddbmodule.c:407: structure has no member named `seq'
./bsddbmodule.c:407: `R_NEXT' undeclared (first use in
this function)
./bsddbmodule.c:376: warning: `status' might be used
uninitialized in this funct                           
  ion
./bsddbmodule.c: In function `bsddb_has_key':
./bsddbmodule.c:440: warning: passing arg 2 of pointer
to function from incompat                             
ible pointer type
./bsddbmodule.c:440: too few arguments to function
./bsddbmodule.c: In function `bsddb_set_location':
./bsddbmodule.c:466: structure has no member named `seq'
./bsddbmodule.c:466: `R_CURSOR' undeclared (first use
in this function)
./bsddbmodule.c:453: warning: `status' might be used
uninitialized in this funct                           
  ion
./bsddbmodule.c: In function `bsddb_seq':
./bsddbmodule.c:503: structure has no member named
`seq'make[1]: Leaving directory
`/home/blenderman/2compile/Python-2.0.1/Modules'
make: *** [sharedmods] Error 2
bash-2.05$
./bsddbmodule.c:489: warning: `status' might be used
uninitialized in this funct                           
  ion
./bsddbmodule.c: In function `bsddb_next':
./bsddbmodule.c:531: `R_NEXT' undeclared (first use in
this function)
./bsddbmodule.c: In function `bsddb_previous':
./bsddbmodule.c:536: `R_PREV' undeclared (first use in
this function)
./bsddbmodule.c: In function `bsddb_first':
./bsddbmodule.c:541: `R_FIRST' undeclared (first use in
this function)
./bsddbmodule.c: In function `bsddb_last':
./bsddbmodule.c:546: `R_LAST' undeclared (first use in
this function)
make[1]: *** [bsddbmodule.o] Error 1

./bsddbmodule.c:236: `R_NEXT' undeclared (first use in
this function)
./bsddbmodule.c:229: warning: `status' might be used
uninitialized in this function
./bsddbmodule.c: In function `bsddb_subscript':
./bsddbmodule.c:265: warning: passing arg 2 of pointer
to function from incompat                             
ible pointer type
./bsddbmodule.c:265: too few arguments to function
./bsddbmodule.c: In function `bsddb_ass_sub':



Voila...
what can I do ?

-pol-

----------------------------------------------------------------------

Comment By: Pol D. (blenderman)
Date: 2001-08-26 11:53

Message:
Logged In: YES 
user_id=288038

Ok, now it works if I use ./configure --without-libdb

Thanks a lot dude.



----------------------------------------------------------------------

Comment By: Jeremy Hylton (jhylton)
Date: 2001-08-26 08:37

Message:
Logged In: YES 
user_id=31392

Two weeks without any comment from the anonymous submittor..

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2001-08-11 07:13

Message:
Logged In: YES 
user_id=21627

Try configuring with --without-libdb. Please report 
whether this helps.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=450013&group_id=5470