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

python and header files on glib2.1



I'm trying to compile python here, and are getting the error

  ./bsddbmodule.c: In function `newdbhashobject':
  ./bsddbmodule.c:87: `HASHINFO' undeclared (first use in this function)
  ./bsddbmodule.c:87: (Each undeclared identifier is reported only once
  [...]

On my i386, this is declared in the <db.h>, which bsddbmodule.c is including,
but on the Arm (which uses glibc2.1) it's declared in the <db_185.h> file...

How do I write a 'ifdef' etc, to check if we are using a glibc2.1 system?

-- 
-----------------------------------------------------------------------
 Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just 
 ^^^^^    / /(_)_ __  _   ___  __  selective about who its friends are 
         / / | | '_ \| | | \ \/ /          papadoc.nocrew.org          
  _ /// / /__| | | | | |_| |>  <  Turbo Fredriksson    turbo@tripnet.se
  \\\/  \____/_|_| |_|\__,_/_/\_\ Surrey/B.C./Canada      (604)572-3523
Debian Certified Linux Developer  PGP#788CD1A9   www5.tripnet.se/~turbo
------- PGP:  B7 92 93 0E 06 94 D6 22  98 1F 0B 5B FE 33 A1 0B --------
-- 
counter-intelligence [Hello to all my fans in domestic surveillance]
Saddam Hussein KGB Mossad SEAL Team 6 Kennedy World Trade Center
fissionable plutonium Rule Psix class struggle Qaddafi AK-47 genetic

Attachment: pgpt6HxXnByFb.pgp
Description: PGP signature


Reply to: