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

Bug#380179: /usr/include/string.h: multiple definitions of bzero and bcopy



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



Reply to: