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

Re: more details, and diff for ia64



On Wed, Jan 17, 2001 at 01:24:09PM -0700, Bdale Garbee wrote:
> Ok, here's a better report, complete with my diff between 1.8.3.1 and what I'm
> calling 1.8.3.1.1 on my machine.
> 
> This on ia64, using glibc-2.2.1 and a very pre-release gcc-2.97.
> 
> Building 1.8.3.1 fails with:
> 
>   In file included from /home/bdale/debian/dpkg-1.8.3.1/dselect/curkeys.cc:25:
>   /home/bdale/debian/dpkg-1.8.3.1/include/dpkg-db.h: In member function `void 
>      varbuf::operator()(const char*)':
>   /home/bdale/debian/dpkg-1.8.3.1/include/dpkg-db.h:259: `strlen' undeclared 
>      (first use this function)
>   /home/bdale/debian/dpkg-1.8.3.1/include/dpkg-db.h:259: (Each undeclared 
>      identifier is reported only once for each function it appears in.)
>   make[2]: *** [curkeys.o] Error 1
> 
> The diff below includes my fix for this, and the entry we need in 
> dpkg-architecture for ia64.  I don't think the #include will hurt anyone else,
> so I'd be pleased to see this rolled in.

No expert here, but I seemed to have read way too much source code
lately. IIRC string.h/strings.h needs to be determined via a
configuration option to be fully portable.

Gordon Sadler

Attachment: pgpqjG2j7ikH4.pgp
Description: PGP signature


Reply to: