"Multiple definition" build failure(s)
clang 3.3
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-3 | 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 |
|
fdclone | 3.01-1 | sigset.h:118: multiple definition of `__sigaddset'
| Log |
|
freecraft | 1:1.20-1.1 | stdafx.h:90: multiple definition of `MulDiv'
| 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 |
|
krb5 | 1.10.1+dfsg-6.1 | asn1buf.h:152: multiple definition of `asn1buf_insert_octet'
| Log |
|
libsemanage | 2.1.10-2 | 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 |
|
ustr | 1.0.4-3 | ustr-main.h:945: multiple definition of `ustr_add_cstr'
| Log |
|
xemacs21 | 21.4.22-4 | buffer.h:643: multiple definition of `BI_BUF_BYTE_ADDRESS'
| Log |
|
xracer | 0.96.9.1-6 | xracer-craft.h:74: multiple definition of `xrCraftDisplay'
| Log |
|
17 errors