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

Bug#43073: marked as done (using libdpkg)



Your message dated Mon, 30 Aug 1999 02:46:25 +0100 (BST)
with message-id <14281.57969.765525.180502@davenant.relativity.greenend.org.uk>
and subject line Bug#43073: using libdpkg
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 16 Aug 1999 17:24:31 +0000
Received: (qmail 30175 invoked from network); 16 Aug 1999 17:24:31 -0000
Received: from internet.corel.ca (HELO lina.lnx) (209.167.40.2)
  by master.debian.org with SMTP; 16 Aug 1999 17:24:31 -0000
Received: (from amyf@localhost)
	by lina.lnx (8.9.3/8.9.3/Debian/GNU) id NAA30264
	for submit@bugs.debian.org; Mon, 16 Aug 1999 13:24:30 -0400
From: Amy Fong <amyf@corel.com>
Message-Id: <199908161724.NAA30264@lina.lnx>
Subject: using libdpkg
To: submit@bugs.debian.org
Date: Mon, 16 Aug 1999 13:24:30 -0400 (EDT)
X-Mailer: ELM [version 2.4ME+ PL56 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Package: dpkg
Version: 1.4.1.6
Severity: important

libdpkg's unusable for development

#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <stdio.h>

int main(void) {
        int tmp;

        modstatdb_init("/var/lib/dpkg", msdbrw_readonly);


        tmp = countpackages();
        printf("pkg: %d\n", tmp);

        modstatdb_shutdown();
}

... you get a pile of parse error before ... -> data definition has no
type or storage class.

All those parse errors are due to #define's in config.h within the dpkg 
source code.

potato, kernel: 2.2.10, libc6: 2.1.2-0pre7


Reply to: