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

Bug#380179: marked as done (/usr/include/string.h: multiple definitions of bzero and bcopy)



Your message dated Sat, 21 Apr 2007 15:37:12 +0200
with message-id <20070421133711.GA2735@volta.aurel32.net>
and subject line Bug#380179: /usr/include/string.h: multiple definitions of bzero and bcopy
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 am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libc6-dev
Version: 2.3.6-15
Severity: normal

When trying to compile sdbm, I get the following error :

cc -O -DSDBM -DDUFF -DBSD42   -c -o sdbm.o sdbm.c
In file included from sdbm.c:27:
/usr/include/string.h:293: error: conflicting types for ‘bcopy’
/usr/include/string.h:40: error: previous declaration of ‘bcopy’ was here
/usr/include/string.h:296: error: conflicting types for ‘bzero’
/usr/include/string.h:59: error: previous declaration of ‘bzero’ was here

So, string.h does indeed define twice, with incompatible types the
functions bzero and bcopy

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libc6-dev depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  linux-kernel-headers          2.6.17.3-1 Linux Kernel Headers for developme

Versions of packages libc6-dev recommends:
ii  bcc [c-compiler]             0.16.14-1.4 16-bit x86 C compiler
ii  gcc [c-compiler]             4:4.0.3-4   The GNU C compiler
ii  gcc-4.0 [c-compiler]         4.0.3-3     The GNU C compiler
ii  gcc-4.1 [c-compiler]         4.1.1-5     The GNU C compiler

-- no debconf information


--- End Message ---
--- Begin Message ---
On Thu, Aug 24, 2006 at 03:16:28AM +0200, Aurelien Jarno wrote:
> Erwan David a écrit :
> >Package: libc6-dev
> >Version: 2.3.6-15
> >Severity: normal
> >
> >When trying to compile sdbm, I get the following error :
> >
> >cc -O -DSDBM -DDUFF -DBSD42   -c -o sdbm.o sdbm.c
> >In file included from sdbm.c:27:
> >/usr/include/string.h:293: error: conflicting types for ‘bcopy’
> >/usr/include/string.h:40: error: previous declaration of ‘bcopy’ was 
> >here
> >/usr/include/string.h:296: error: conflicting types for ‘bzero’
> >/usr/include/string.h:59: error: previous declaration of ‘bzero’ was 
> >here
> >
> >So, string.h does indeed define twice, with incompatible types the
> >functions bzero and bcopy
> >
> 
> line 293:
> extern void bcopy (__const void *__src, void *__dest, size_t __n)
> line 40:
> extern void *memcpy (void *__restrict __dest
> 
> line 296:
> extern void bzero (void *__s, size_t __n) __THROW __nonnull ((1));
> line 59:
> extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull 
> ((1));
> 
> So string.h *does not* defined bzero and bcopy twice. Something is 
> redefining it, probably in your program.
> 
> What is sdbm exactly, and where to get it?

Closing the bug. Rationale: no news from the submitter, bug 
unreproducible.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

--- End Message ---

Reply to: