"Multiple definition" build failure(s)
clang 2.9
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 |
alex4 | 1.1-5 | draw.inl:54: multiple definition of `_allegro_hline'
| Log |
|
alogg | 1.3.7-1.1 | alconfig.h:389: multiple definition of `bmp_read24'
| Log |
|
cyrus-imapd-2.2 | 2.2.13p1-15 | socket.h:317: multiple definition of `__cmsg_nxthdr'
| Log |
|
e2fsprogs | 1.42~WIP-2011-07-02-1 | ext2fs.h:1630: multiple definition of `ext2fs_div64_ceil'
| Log |
|
e2tools | 0.0.16-6 | ext2fs.h:1630: multiple definition of `ext2fs_div64_ceil'
| Log |
|
e2undel | 0.82-1.1 | ext2fs.h:1630: multiple definition of `ext2fs_div64_ceil'
| Log |
|
excellent-bifurcation | 0.0.20071015-4 | draw.inl:54: multiple definition of `_allegro_hline'
| Log |
757406
|
freecraft | 1:1.20-1 | stdafx.h:90: multiple definition of `MulDiv'
| Log |
|
gcl | 2.6.7-89 | gmp_wrappers.h:115: multiple definition of `m__gmpz_add'
| Log |
|
gmfsk | 0.6+0.7pre1-2.2 | misc.h:179: multiple definition of `clamp'
| Log |
|
gnupg | 1.4.11-3 | mpi-inline.h:68: multiple definition of `mpihelp_add'
| Log |
|
hunt | 1.5-6 | hunt.h:297: multiple definition of `generate_key'
| Log |
|
kolab-cyrus-imapd | 2.2.13p1-0.3 | socket.h:317: multiple definition of `__cmsg_nxthdr'
| Log |
|
krb5 | 1.9.1+dfsg-2 | asn1buf.h:152: multiple definition of `asn1buf_insert_octet'
| Log |
|
libdumb | 1:0.9.3-5.1 | src/allegro/datduh.c:(.text+0x5e0): multiple definition of `_allegro_hline'
| Log |
|
libgcrypt11 | 1.5.0-3 | mpi-inline.h:68: multiple definition of `_gcry_mpih_add'
| Log |
|
libsemanage | 2.1.0-2 | ustr-b.h:55: multiple definition of `ustr_add_b_uint16'
| Log |
|
liquidwar | 5.6.4-3 | draw.inl:54: multiple definition of `_allegro_hline'
| Log |
|
multimon | 1.0-5 | demod_afsk24.c:(.text+0x190): multiple definition of `fsqr'
| Log |
|
overgod | 1.0-1 | draw.inl:54: multiple definition of `_allegro_hline'
| Log |
|
plt-scheme | 4.2.4-2 | gmp.h:441: multiple definition of `scheme_gmpn_add'
| Log |
|
scantool | 1.21+dfsg-2 | main_menu.c:(.text+0xc90): multiple definition of `_allegro_hline'
| Log |
|
stax | 1.0-13 | config.c:(.text+0xc90): multiple definition of `_allegro_hline'
| Log |
|
ustr | 1.0.4-2 | ustr-main.h:945: multiple definition of `ustr_add_cstr'
| Log |
|
xracer | 0.96.9.1-5 | xracer-craft.h:75: multiple definition of `xrCraftDisplay'
| Log |
|
25 errors