"Multiple definition" build failure(s)
clang 3.6.0
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:13.1.0~dfsg-1 | utils.h:559: multiple definition of `_ast_calloc'
| Log |
|
baycomepp | 0.10-12.2 | sysdeps.h:214: multiple definition of `gettime'
| Log |
|
baycomusb | 0.10-12.2 | sysdeps.h:137: multiple definition of `gettime'
| Log |
|
fdclone | 3.01b-1 | sigset.h:117: multiple definition of `__sigaddset'
| Log |
|
freecraft | 1:1.20-1.1 | stdafx.h:90: multiple definition of `MulDiv'
| Log |
|
gcl | 2.6.12-1 | typespec.c:(.text+0x0): multiple definition of `m__gmpz_add'
| Log |
|
gmfsk | 0.6+0.7pre1-2.3 | misc.h:180: multiple definition of `clamp'
| 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 |
|
libsemanage | 2.3-1 | ustr-b.h:55: multiple definition of `ustr_add_b_uint16'
| Log |
|
multimon | 1.0-7 | filter.h:106: multiple definition of `fsqr'
| Log |
|
rcs-blame | 1.3.1-4 | argp.h:605: multiple definition of `_option_is_end'
| Log |
|
scantool | 1.21+dfsg-4 | dzintern.h:45: multiple definition of `dz_make_comm_err'
| Log |
|
ustr | 1.0.4-3 | ustr-main.h:945: multiple definition of `ustr_add_cstr'
| Log |
|
xracer | 0.96.9.1-7 | xracer-craft.h:74: multiple definition of `xrCraftDisplay'
| Log |
|
15 errors