"Multiple definition" build failure(s)
clang 3.2
Final link is failing because of the
extern __inline__ declaration.
Example:
// plop1.c
extern __inline__ void plop() { }
// plop2.c
extern __inline__ void plop() { }
// foo.c
int main () { }
# Makefile
CC=clang
all:
$(CC) -c plop1.c plop2.c foo.c
$(CC) -o plop foo.o plop1.o plop2.o
Package | Version | Supposed error message | Full log |
Bug report |
asterisk | 1:1.8.13.1~dfsg-1 | utils.h:480: multiple definition of `_ast_calloc'
| Log |
|
asterisk-chan-capi | 1.1.6-1 | utils.h:480: multiple definition of `_ast_calloc'
| Log |
|
baycomepp | 0.10-12.2 | sysdeps.h:214: multiple definition of `gettime'
| Log |
|
baycomusb | 0.10-12.1 | sysdeps.h:137: multiple definition of `gettime'
| Log |
|
dump | 0.4b44-1 | ext2fs.h:1692: multiple definition of `ext2fs_div64_ceil'
| Log |
|
e2fsprogs | 1.42.5-1 | ext2fs.h:1692: multiple definition of `ext2fs_div64_ceil'
| Log |
|
e2tools | 0.0.16-6.1 | ext2fs.h:1692: multiple definition of `ext2fs_div64_ceil'
| Log |
|
e2undel | 0.82-1.1 | ext2fs.h:1692: multiple definition of `ext2fs_div64_ceil'
| Log |
|
freecraft | 1:1.20-1.1 | stdafx.h:90: multiple definition of `MulDiv'
| Log |
|
fuse-umfuse-ext2 | 0.4-1 | ext2fs.h:1692: multiple definition of `ext2fs_div64_ceil'
| Log |
|
gcl | 2.6.7+dfsga-2 | sys_pre_gcl.c:(.text+0x0): multiple definition of `m__gmpz_add'
| Log |
|
gmfsk | 0.6+0.7pre1-2.3 | misc.h:179: multiple definition of `clamp'
| Log |
|
gnupg | 1.4.12-7 | mpi-inline.h:68: multiple definition of `mpihelp_add'
| Log |
|
hunt | 1.5-6 | hunt.h:297: multiple definition of `generate_key'
| Log |
|
invaders | 1.0.0-12 | video.c:(.text+0x0): multiple definition of `insb'
| Log |
|
kolab-cyrus-imapd | 2.2.13p1-0.4 | socket.h:288: multiple definition of `__cmsg_nxthdr'
| Log |
|
krb5 | 1.10.1+dfsg-3 | asn1buf.h:152: multiple definition of `asn1buf_insert_octet'
| Log |
|
libgcrypt11 | 1.5.0-3 | mpi-inline.h:68: multiple definition of `_gcry_mpih_add'
| Log |
|
libsemanage | 2.1.6-6 | ustr-b.h:55: multiple definition of `ustr_add_b_uint16'
| Log |
|
multimon | 1.0-5 | demod_afsk24.c:(.text+0x180): multiple definition of `fsqr'
| Log |
|
scantool | 1.21+dfsg-4 | dzintern.h:45: multiple definition of `dz_make_comm_err'
| Log |
|
testdisk | 6.13-1 | ext2fs.h:1692: multiple definition of `ext2fs_div64_ceil'
| Log |
|
ustr | 1.0.4-3 | ustr-main.h:945: multiple definition of `ustr_add_cstr'
| Log |
|
xracer | 0.96.9.1-6 | xracer-craft.h:74: multiple definition of `xrCraftDisplay'
| Log |
|
24 errors